Hi All,
I am running JBOSS with MySQL and running into a deployment packaging issue with MBean. I have an MBean which looks for Datasource which is configured using mysql-ds.xml. When I create a SAR file and deploy the service, I get the following exception. However if I configure the MBean in main jboss-service.xml or in user-service.xml, it works.
I have tried adding different tag but so far no success. Any help, ideas are greatly appreciated. I would prefer to deploy the service as .SAR file.
Thanks
--shashi
11:14:54,693 ERROR [STDERR] javax.naming.NameNotFoundException: EDC_DS not bound
11:14:54,703 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
11:14:54,703 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
11:14:54,703 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
11:14:54,703 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
11:14:54,703 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
11:14:54,703 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
11:14:54,703 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:347)