4 Replies Latest reply on May 10, 2013 11:08 AM by toanilsoni

    What should be the configuration of an application, If it uses multiple web service call. If I use Jboss 7.1.1.Final?

    cavi

      In eclipse, As I am executing my application, on console I am getting these errors with jboss 7.1.1.Final. The same project works fine with jboss 4.2.3.GA.

       

      Stack Trace

       

      20:12:09,306 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      20:12:10,038 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      20:12:10,127 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      20:12:13,472 INFO  [org.xnio] XNIO Version 3.0.3.GA

      20:12:13,474 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      20:12:13,516 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      20:12:13,569 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      20:12:13,595 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      20:12:13,664 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem

      20:12:13,672 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem

      20:12:13,638 INFO  [org.jboss.as.webservices] JBAS015537: Activating WebServices Extension

      20:12:13,746 INFO  [org.jboss.as.connector] (MSC service thread 1-28) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      20:12:13,638 INFO  [org.jboss.as.osgi] JBAS011940: Activating OSGi Subsystem

      20:12:13,824 INFO  [org.jboss.as.security] (MSC service thread 1-13) JBAS013100: Current PicketBox version=4.0.7.Final

      20:12:13,634 INFO  [org.jboss.as.naming] JBAS011800: Activating Naming Subsystem

      20:12:13,867 INFO  [org.jboss.as.naming] (MSC service thread 1-24) JBAS011802: Starting Naming Service

      20:12:13,873 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-31) JBAS015400: Bound mail session [java:jboss/mail/Default]

      20:12:13,619 INFO  [org.jboss.as.clustering.infinispan] JBAS010280: Activating Infinispan subsystem.

      20:12:13,935 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      20:12:13,936 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-20) Starting Coyote HTTP/1.1 on http-dlhl0665.dlh.st.com-10.199.3.148-31300

      20:12:14,526 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-27) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      20:12:14,878 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-12) JBoss Web Services - Stack CXF Server 4.0.2.GA

      20:12:15,256 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /usrdata/chaudhaa/jboss-as-7.1.1.Final.old/standalone/deployments

      20:12:15,256 INFO  [org.jboss.as.remoting] (MSC service thread 1-28) JBAS017100: Listening on /127.0.0.1:49999

      20:12:15,256 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on dlhl0665.dlh.st.com/10.199.3.148:44447

      20:12:15,262 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment registration.war

      20:12:15,628 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:49990

      20:12:15,687 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 6891ms - Started 133 of 208 services (74 services are passive or on-demand)

      20:12:16,311 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found registration.war in deployment directory. To trigger deployment create a file called registration.war.dodeploy

      20:12:16,437 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-27) JBAS015876: Starting deployment of "registration.war"

      20:12:20,649 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-29) MSC00001: Failed to start service jboss.deployment.unit."registration.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."registration.war".PARSE: Failed to process phase PARSE of deployment "registration.war"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_38]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

      Caused by: java.lang.IllegalArgumentException: JBAS015533: Web Service endpoint st.erpsapccn.bs.ip.registration.service.UserWebServiceHandler with URL pattern /User is already registered. Web service endpoint st.erpsapccn.bs.ip.admin.service.IntUserWebServiceHandler is requesting the same URL pattern.

          at org.jboss.as.webservices.metadata.model.AbstractDeployment.addEndpoint(AbstractDeployment.java:60)

          at org.jboss.as.webservices.metadata.model.JAXWSDeployment.addEndpoint(JAXWSDeployment.java:27)

          at org.jboss.as.webservices.deployers.WSIntegrationProcessorJAXWS_POJO.processAnnotation(WSIntegrationProcessorJAXWS_POJO.java:94)

          at org.jboss.as.webservices.deployers.AbstractIntegrationProcessorJAXWS.deploy(AbstractIntegrationProcessorJAXWS.java:87)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          ... 5 more

       

      20:12:21,542 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "registration.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"registration.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"registration.war\".PARSE: Failed to process phase PARSE of deployment \"registration.war\""}}

      20:12:22,182 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-31) JBAS015877: Stopped deployment registration.war in 639ms

      20:12:22,245 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."registration.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."registration.war".PARSE: Failed to process phase PARSE of deployment "registration.war"

       

      20:12:22,432 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"registration.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"registration.war\".PARSE: Failed to process phase PARSE of deployment \"registration.war\""}}}}

        • 1. Re: What should be the configuration of an application, If it uses multiple web service call. If I use Jboss 7.1.1.Final?
          nickarls

          How are the webservices defined?

          • 2. Re: What should be the configuration of an application, If it uses multiple web service call. If I use Jboss 7.1.1.Final?
            cavi

            SOAP web services.

             

            Is that you want to ask, or something else?

             

            Regards

            cavi

            • 3. Re: What should be the configuration of an application, If it uses multiple web service call. If I use Jboss 7.1.1.Final?
              nickarls

              Just trying to learn if you are using CXF or including some legacy WS implementation

              • 4. Re: What should be the configuration of an application, If it uses multiple web service call. If I use Jboss 7.1.1.Final?
                toanilsoni

                Hi All,

                 

                I am getting the same issue...Is there anyone has the solution for this ?

                 

                10:28:49,042 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."DMWS.war".PARSE: org.jboss.ms
                c.service.StartException in service jboss.deployment.unit."DMWS.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "DMWS.war"
                        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.
                Final-redhat-4]
                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-
                2]
                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
                        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
                Caused by: java.lang.IllegalArgumentException: JBAS015533: Web Service endpoint com.emc.documentum.fs.rt.services.impl.ContextRegistryService with URL pattern /
                ContextRegistryService is already registered. Web service endpoint com.emc.documentum.fs.rt.services.impl.ContextRegistryService is requesting the same URL patt
                ern.
                        at org.jboss.as.webservices.metadata.model.AbstractDeployment.addEndpoint(AbstractDeployment.java:60)
                        at org.jboss.as.webservices.metadata.model.JAXWSDeployment.addEndpoint(JAXWSDeployment.java:27)
                        at org.jboss.as.webservices.deployers.WSIntegrationProcessorJAXWS_POJO.processAnnotation(WSIntegrationProcessorJAXWS_POJO.java:94)
                        at org.jboss.as.webservices.deployers.AbstractIntegrationProcessorJAXWS.deploy(AbstractIntegrationProcessorJAXWS.java:87)
                        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.
                Final-redhat-4]
                        ... 5 more

                Regards,

                Anil Soni

                toanilsoni@gmail.com