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) <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827469#3827469">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827469>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user