Hi,
I configured a datasource in JBoss and i tried to access it with in the Jboss it is working fine ,but when i try to access it outside of the JBoss,it is throwing name not bound exception.
Is it possible to configure a datasource in JBoss, such a way that it becomes available from a standalone application outside JBoss, using JNDI, to get connection from it.
At the moment, it seems that my datasource is accessible only from code running in JBoss VM. Is it a question of security settings or is it a general policy not to allow external code to use JBoss datasources
Thanks
T.Gopalakrishnan
http://www.jboss.org/wiki/Wiki.jsp?page=CreateAJDBCDataSource
You cannot access the jndi names for Datasources outside of a VM as they are bound using the java:/ namespace