This content has been marked as final.
Show 2 replies
-
1. Re: JBOSS 4 JNDI problem !!!
piratepete Apr 16, 2005 6:38 PM (in response to mtigua)I would look in the source where the name is applied to the context. I would expect that you could set it there. But, the default is java:/ and it's just a name that's all.
-
2. Re: JBOSS 4 JNDI problem !!!
darranl Apr 17, 2005 6:57 AM (in response to mtigua)I don't have a working example to hand to show you but what you are asking for is for a reference to the datasource to be bound to the component namespace of your web application.
You need to add a resource-ref element to the web.xml of your web application and configure the reference as appropriate.