Hi,
I m trying to connect to datasource from my standalone program to
JBOSS. But I m getting the below error:
javax.naming.NameNotFoundException: commsDSLocal not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
my standalone program is:
I have configured commDSLocal in -ds.xml file in JBOSS and started the JBOSS server but still I m getting this issue.
Please help to resolve the issue.
Thanks in advance!!!
Regards,
Cherry