Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1603

Deploying two applications with the same RESTEasy contextPath throws error on startup

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: deployment
    • Labels:
      None

      Description

      Caused by: org.switchyard.component.resteasy.RESTEasyPublishException: java.lang.IllegalArgumentException: JBWEB000250: Child container with name /test1 already exists
                at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:86)
                at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)
                at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:612)
                at org.switchyard.deploy.internal.Deployment.start(Deployment.java:143)
                at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:101)
                at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:73)
                ... 5 more
      Caused by: java.lang.IllegalArgumentException: JBWEB000250: Child container with name /test1 already exists
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:794)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:353)
                at org.switchyard.as7.extension.resteasy.RESTEasyResourcePublisher.publish(RESTEasyResourcePublisher.java:82)
                at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:82)
                ... 10 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mageshbk Magesh Bojan
                  Reporter:
                  mageshbk Magesh Bojan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: