[jbossws-issues] [JBoss JIRA] Created: (JBWS-2385) Prevent exception when registering jaxb-xjc on startup

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Thu Nov 6 04:31:29 EST 2008


Prevent exception when registering jaxb-xjc on startup
------------------------------------------------------

                 Key: JBWS-2385
                 URL: https://jira.jboss.org/jira/browse/JBWS-2385
             Project: JBoss Web Services
          Issue Type: Task
      Security Level: Public (Everyone can see)
    Affects Versions: jbossws-metro-3.0.4
            Reporter: Alessio Soldano
            Priority: Minor


During AS5 boot we get this exception when using JBossWS-Metro:

javax.management.InstanceAlreadyExistsException: 
jboss.deployment:id="vfszip:/opt/svn/jbossas/trunk/build/output/jboss-5.0.0.GA/server/default/deployers/jbossws.deployer/jaxb-xjc.jar/1.0/",type=SubDeployment already registered.
    at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
    at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source
...

this is due to the way the jaxb-xcj.jar artifact is packaged.

See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=143588 where Ales suggests how to deal with this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list