Bugs item #491088, was opened at 2001-12-10 02:32
You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=376685aid=491088group_id=22866
Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Closed
Resolution: Works For Me
Priority: 5
Submitted By: Jiri Luzny (jiril)
Assigned to: Jason Dillon (user57)
Summary: Hot-deploy of EJBs doesn't work...
Initial Comment:
Hot-deploy of EJBs doesn't work when we configure
JBoss to run without a Web container.
We have removed WarDeployer mbean-ref from
J2eeDeployer section of j2eedeployment-service.xml and
we have also removed jetty-plugin.sar from the
deploy\lib.
During startup our EJBs are successfully deployed, but
hot-redeploy fails with the exception bellow.
When Jetty is enabled the issue disappears...
11:06:23,796 ERROR [ContainerFactory] Could not deploy
file:/C:/jboss-3.0.0alpha/deploy/Default/foo.jar/
javax.management.InstanceAlreadyExistsException:
J2EE:service=EJB,jndiName=FooMgr
at
com.sun.management.jmx.RepositorySupport.addMBean
(RepositorySupport.java:134)
at
com.sun.management.jmx.MBeanServerImpl.internal_addObje
ct(MBeanServerImpl.java:2352)
at
com.sun.management.jmx.MBeanServerImpl.registerMBean
(MBeanServerImpl.java:874)
at org.jboss.ejb.Container.start
(Container.java:419)
at
org.jboss.ejb.StatelessSessionContainer.start
(StatelessSessionContainer.java:188)
at org.jboss.ejb.Application.start
(Application.java:219)
at org.jboss.ejb.ContainerFactory.deploy
(ContainerFactory.java:373)
at org.jboss.ejb.ContainerFactory.deploy
(ContainerFactory.java:299)
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.deployment.J2eeDeployer.startModules
(J2eeDeployer.java:473)
at
org.jboss.deployment.J2eeDeployer.startApplication
(J2eeDeployer.java:447)
at org.jboss.deployment.J2eeDeployer.deploy
(J2eeDeployer.java:216)
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.deployment.AutoDeployer.deploy
(AutoDeployer.java:653)
at org.jboss.deployment.AutoDeployer.run
(AutoDeployer.java:326)
at java.lang.Thread.run(Unknown Source)
11:06:23,906 ERROR [J2eeDeployer#Default] Starting
foo.jar failed!
javax.management.MBeanException: Exception thrown in
operation deploy
at
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:1644)
at
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:1523)
at
org.jboss.deployment.J2eeDeployer.startModules
(J2eeDeployer.java:473)
at
org.jboss.deployment.J2eeDeployer.startApplication
(J2eeDeployer.java:447)
at org.jboss.deployment.J2eeDeployer.deploy
(J2eeDeployer.java:216)
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.deployment.AutoDeployer.deploy
(AutoDeployer.java:653)
at org.jboss.deployment.AutoDeployer.run
(AutoDeployer.java:326)
at java.lang.Thread.run(Unknown Source)
--
Comment By: Jason Dillon (user57)
Date: 2002-02-12 21:55
Message:
Logged In: YES
user_id=15045
I do not see this behavior when jetty-plugin.sar is not
deployed. If you still have this problem with the latest
CVS please let me know and I will re-open this bug.
--jason
--
You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=376685aid=491088group_id=22866
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development