can anyone at least provide a url or document to read because i havent been able to find anything after 2 hours on google
JBoss can be striped down to JNDI + Tomcat. What is the advantage of standalone Tomcat?
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 :(
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.