Declaring a JNDI Variable in JBoss 4.0.5

I want to declare a new JNDI variable on a JBoss 4.0.5 server. Can someone explain how this can be done?

waiting for your answers.

Thanks.

+3
source share
3 answers

Found these two links that may help ...

create a file called filename-service.xml in the $ CATALINA_BASE $ / deploy directory with the contents specified in these links

http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/Server_Configuration_Guide/Additional_Naming_MBeans-JNDI_Binding_Manager.html

check jboss jira, JBPAPP-2809 for fix in xmlns: jndi

+1
source

, , , ejb-jar.xml .

0

Today I came across this question. It looks like to add a simple jndi entry on the application server, in JBoss you will need to create a new file $ CATALINA_BASE / conf / context.xml and call MBean to add the variable and its value.

In a server like websphere, you can pass new values ​​to jndi.properties that jboss 5.0.0 doesn't like.

It is very bad that in jboss / docs there is absolutely no DOCUMENTS that point to anything in this thread.

0
source

Source: https://habr.com/ru/post/1702805/


All Articles