1 Reply Latest reply on Sep 24, 2009 8:21 PM by Tom Cunningham

    Jboss ESB Deployment, UDDI Already Registered

    Ali Gohar Newbie

      Hi,

      I am new to ESB. I am installing jboss esb 4.6 to JBoss AS 5.1.0.GA. I am using MySQL datasource to back my JMS and ESB etc. Everything looks alright but while starting jboss i get exception that UDDI service is already registered. Here is the stack trace:

      15:45:58,697 ERROR [WebModule] Could not create JSR-77 WebModule: juddi.war
      javax.management.InstanceAlreadyExistsException: jboss.management.local:j2eeType=WebModule,J2EEServer=Local,J2EEApplication=null,name=juddi.war already registered.
       at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:756)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:233)
       at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
      


      I can see juddi-service.sar deployed to my JBoss and also ESB comes with juddi. I think it is trying to deploy it 2 times and hence the error. Should i remove juddi-service.sar from my JBoss's deploy directory? Is it advisable or is there anyother solution?

      Thanks