|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.
no,
the actual lines of code are
EJBDeployer.java ca 255
try
{
URL dd = di.localCl.getResource("META-INF/ejb-jar.xml");
.. if it there we cool and say Ok we deploy this
and localCL is just a STRAIGHT URLClassloader. So you have a
META-INF/ejb-jar.xml floating around, either in your jar file (double check)
or on your SYSTEM classpath
marcf
|
|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(MBeanServ
|erImpl.java:2352)
| at
|com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImp
|l.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(ServiceContr
|oller.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(ServiceContr
|oller.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/bu
|ild/output/jboss-3.0.0beta2/server/default/tmp/deploy/home/jboss/jb
|oss-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
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development