3 Replies Latest reply on Dec 22, 2015 1:18 AM by Akshay Dhavle

    Unable to deploy two wars files of producer and consumer simultaneously with HornetQ and Spring-JMS on jboss-6.3Eap

    Akshay Dhavle Newbie

      Hello,

      I new in JMS-Hornetq. I have developed two different web projects as producer-web and consumer-web. I trying to deploy both on JBoss server. While deploying both one of the war does not get deployed with error Unable to StartService Exception. Now I am able to deploy both by disabling "pojo" subsytem in standalone.xml as discussed https://developer.jboss.org/thread/197426?tstart=0 here.

      But I want to deploy both theses war files w/o disabling "pojo" subsytem. Why is it forcing me to disable "pojo" subsytem? plz help..

      Thank you.


      
      
        • 1. Re: Unable to deploy two wars files of producer and consumer simultaneously with HornetQ and Spring-JMS on jboss-6.3Eap
          Tomaz Cerar Master

          I doubt you have exactly the same problem as it was in related thread.

           

          can you describe your deployment and deployment error you get?

          • 3. Re: Unable to deploy two wars files of producer and consumer simultaneously with HornetQ and Spring-JMS on jboss-6.3Eap
            Akshay Dhavle Newbie

            Thanks for the reply Tomaz.

            I am trying to deploy two war files simultaneously.

            1.producer-web.war:- In this I am sending a JMS message over queue using spring JMSTemplate.

            2.consumer-web.war:- It is a simple message listener which will consume message from queue.

            Now I am trying to deploy both wars files on JBoss without removing "pojo"subsytem then it gives me following deployment error:-

             

            11:33:05,379 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."consumer-web-service.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."consumer-web-service.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "consumer-web-service.war"

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-r

            edhat-19]

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

             

             

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]

                    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

            Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.pojo."org.jboss.netty.internal.LoggerConfigurator".DESCRIBED is already registered

                    at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:236) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:742) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:243) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2433) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redha

            t-1]

                    at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:243) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2433) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redha

            t-1]

                    at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:345) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at org.jboss.as.pojo.ParsedKernelDeploymentProcessor.describeBean(ParsedKernelDeploymentProcessor.java:94)

                    at org.jboss.as.pojo.ParsedKernelDeploymentProcessor.deploy(ParsedKernelDeploymentProcessor.java:76)

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-r

            edhat-19]

                    ... 5 more