Andy,
I have just updated and built from clean.
Upon running the WebIntegration testsuite, I immediately get :
23:48:58,218 INFO [Default] EjbModule.create(), server name:
J2EEServer=Single
23:48:58,219 INFO [Default] File:
file:/mnt/pteranodon/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0alpha/deploy/Default/jbosstest-web.ear/ejb1005.jar,
descriptor: META-INF/ejb-jar.xml
23:48:58,243 INFO [Default] J2EEManagedObject.getObjectName(), name:
SingleJBoss:name=jbosstest-web.ear,J2EEServer=Single,J2EEApplication=jbosstest-web.ear,type=EJBModule,J2EEManagement=Manager
23:48:58,244 INFO [Default] J2EEManagedObject.postRegister(), parent:
SingleJBoss:J2EEServer=Single,name=jbosstest-web.ear,type=J2EEApplication,J2EEManagement=Manager
23:48:58,261 ERROR [Default] javax.management.InstanceAlreadyExistsException:
SingleJBoss:name=jbosstest-web.ear,J2EEServer=Single,J2EEApplication=jbosstest-web.ear,type=EJBModule,J2EEManagement=Manager
23:48:58,261 ERROR [Default] at
com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
23:48:58,264 ERROR [Default] at
com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)
23:48:58,264 ERROR [Default] at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:641)
23:48:58,264 ERROR [Default] at
org.jboss.management.j2ee.EjbModule.create(EjbModule.java:78)
23:48:58,264 ERROR [Default] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:394)
23:48:58,265 ERROR [Default] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:368)
23:48:58,265 ERROR [Default] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:299)
23:48:58,265 ERROR [Default] at java.lang.reflect.Method.invoke(Native
Method)
23:48:58,265 ERROR [Default] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
23:48:58,265 ERROR [Default] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
23:48:58,265 ERROR [Default] at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:516)
23:48:58,266 ERROR [Default] at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:490)
23:48:58,266 ERROR [Default] at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:222)
23:48:58,266 ERROR [Default] at java.lang.reflect.Method.invoke(Native
Method)
23:48:58,266 ERROR [Default] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
23:48:58,266 ERROR [Default] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
23:48:58,266 ERROR [Default] at
org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.invoke(RMIAdaptorImpl.java:283)
23:48:58,267 ERROR [Default] at java.lang.reflect.Method.invoke(Native
Method)
23:48:58,267 ERROR [Default] at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
23:48:58,267 ERROR [Default] at
sun.rmi.transport.Transport$1.run(Transport.java:152)
23:48:58,267 ERROR [Default] at
java.security.AccessController.doPrivileged(Native Method)
23:48:58,267 ERROR [Default] at
sun.rmi.transport.Transport.serviceCall(Transport.java:148)
23:48:58,267 ERROR [Default] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
23:48:58,267 ERROR [Default] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)
23:48:58,268 ERROR [Default] at java.lang.Thread.run(Thread.java:484)
23:48:58,285 ERROR [ContainerFactory] Could not deploy
file:/mnt/pteranodon/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0alpha/deploy/Default/jbosstest-web.ear
Sorry !
Jules
Andreas Schaefer wrote:
Hi
Yes, this is my mistake. I toke the wrong name, instead the name of
the JAR file the name of the EAR application. Will fix it now.
Andy
- Original Message -
From: Julian Gosnell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2001 2:12 AM
Subject: [JBoss-dev] javax.management.InstanceAlreadyExistsException...
On running the WebIntegration test on a freshly built
Server (cvs updated about 12 hours ago) I get a :
javax.management.InstanceAlreadyExistsException:
SingleJBoss:name=jbosstest-web.ear, J2EEServer=Single,
J2EEApplication=jbosstest-web.ear, type=EJBModule,
J2EEManagement=Manager,
from JMX.
The last JBoss stackframe was :
org.jboss.management.j2ee.EJBModule.create() -
EJBModule.java - line 78.
I would send the whole stack - but I'm not on my
development box,
Apologies if this has already been sorted.
Jules
__
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email
and Music Charts
http://uk.my.yahoo.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
_
Do You Yahoo!?
Get your