-
1. Re: jndi datasource config
analogueboy Aug 6, 2004 9:31 AM (in response to analogueboy)can anyone at least provide a url or document to read because i havent been able to find anything after 2 hours on google
-
2. Re: jndi datasource config
thomas.diesler Aug 6, 2004 9:40 AM (in response to analogueboy)JBoss can be striped down to JNDI + Tomcat. What is the advantage of standalone Tomcat?
-
3. Re: jndi datasource config
analogueboy Aug 6, 2004 10:11 AM (in response to analogueboy)The only advantage is that it starts quicker, though we've never tried a reduce version of jboss (i'll try that now). But there is potentially a bigger problem that we are having with JNDI, why does JBoss not expose the datasource below comp/env? Is that not a more standard location?
Or perhaps we shouldn't be using local-xa-datasource?
Very confused now :( -
4. Re: jndi datasource config
starksm64 Aug 6, 2004 11:32 AM (in response to analogueboy)You have to tell it to use java:comp for the component and link this to the datasource location using a resource-ref element in the web.xml descriptor. A datasource cannot be bound into java:comp because this is a component private namespace. The datasource is created independent of any j2ee container.