Hi, could you please let me know where is this context.xml is placed? because, in the link you gave, it is specified that the context.xml present in $CATALINA_BASE/conf/context.xml but, I' not able to find this file in my Jboss. (it's inside default\deploy\jbossweb-tomcat55.sar folder)
–
VraaFeb 6 '09 at 11:32

I am facing this probelm too today. Looks like to add a simple jndi entry on the app server, in JBoss one will have to create a new file $CATALINA_BASE/conf/context.xml and invoke a MBean to add the variable and its value.

In server like websphere you can pass new values in jndi.properties, which jboss 5.0.0 upwards does not like.

Very Bad that there is absolutely NO DOCUMENTATION in jboss/docs that indicate anything on this topic.