Greetings.

I have a jar with some classes in it which will eventually have EJBs.  At its current 
stage of development, it does not have any EJBs, and no ejb-jar.xml file 
(or any other xml files).  Yet when JBoss tries to deploy my application, it is 
behaving as if the the jar file in question has EJBs and tries to deploy them, 
using a descriptor file from another jar.

Help, please?

-Steve

15:41:57,307 ERROR [EjbModule] Initialization failed
javax.management.InstanceAlreadyExistsException: 
jboss.j2ee:service=EJB,jndiName=HRCodeTable
         at 
com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
         at 
com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)
         at 
com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:874)
         at org.jboss.ejb.EjbModule.createService(EjbModule.java:318)
         at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:779)
         at $Proxy0.create(Unknown Source)
         at org.jboss.system.ServiceController.create(ServiceController.java:277)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
         at $Proxy2.create(Unknown Source)
         at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:397)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:613)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:607)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:525)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506)
         at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:327)
         at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:254)
         at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:779)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:343)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:331)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:211)
         at org.jboss.Main.boot(Main.java:127)
         at org.jboss.Main$1.run(Main.java:335)
         at java.lang.Thread.run(Thread.java:484)
15:41:57,332 ERROR [ServiceController] JMException thrown during ServiceProxy 
operation create on mbean 
jboss.j2ee:service=EjbModule,url=njar%file%/home/jboss/jboss-all/build/output/jboss-3.0.0beta2/server/default/tmp/deploy/home/jboss/jboss-all/build/output/jboss-3.0.0beta2/server/default/deploy/HRneXus.ear/65.HRneXus.ear^/HRXExporter.jar

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to