0 Replies Latest reply on Jan 25, 2009 9:42 AM by fabboco

    Migrating to AS 5.0.0

    fabboco

      Hi all,


      I am trying to migrate to AS 5.0.0. My first try was to deploy an very simple application which works into 4.2.x.


      I get the following error message:


      Unable to register deployment mbean vfszip:/usr/local/jboss-5.0.0.GA/server/default/deploy/TestAS5.ear/TestAS5.jar/SeamUtility.jar
      javax.management.InstanceAlreadyExistsException: jboss.deployment:id="vfszip:/usr/local/jboss-5.0.0.GA/server/default/deploy/TestAS5.ear/TestAS5.jar/SeamUtility.jar",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.GeneratedMethodAccessor89.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      
      ....
      ....
      
      



      SeamUtility.jar is a simple collection of classes. It's not anywhere else in the server and this application is the only application which I try to deploy.


      Where am I wrong ?


      Thanks you for any help.


      Fab.