General J2EE: Datasources are not available outside the virtual machine?
Why are datasources not available outside the JVM. I mean, suppose you have a datasource defined(through some xml file), and the application server manages this datasource. This datasource also has a jndi name for it. Now, suppose i try looking up this datasource through some Standalone client, i find that there is no object with specified jndi name. I went through the xml file for the datasource and found the following comment:
- Posted by: jaikiran pai
- Posted on: September 20 2005 03:33 EDT
"Datasources are not available outside the virtual machine"
Can anyone tell me the reason for the same?
- Datasource not available outside JVM in JBoss -3.2.3 by jaikiran pai on September 20 2005 04:39 EDT
I found this behavior in JBoss-3.2.3. They do mention that this behavior has changed in JBoss-4 and higher versions. But what was the reason for not allowing access of datasources outside JVM?