Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1511

Parallel deployment + EJB webservice not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.1
    • 7.0.0-M1
    • None
    • None
    • Amazon Linux, OpenJDK 7u75

    Description

      Hi,

      I'm able to successfully use EJBs + parallel deployment with the following configuration:

      openejb.deploymentId.format =

      {ejbJarId}

      /

      {ejbName}
      openejb.jndiname.format = {deploymentId}{interfaceType.annotationName}

      Now I'd like to add a EJB webservice to this webapp that is parallel deployed, but I'm facing some issues. I'm using this example to test: http://tomee.apache.org/examples-trunk/simple-webservice-without-interface/README.html

      Fev 10, 2015 11:02:28 AM org.apache.openejb.server.webservices.WsService deployApp
      INFORMAÇÕES: Webservice(wsdl=http://localhost:8080//webservices/WebServiceTest%23%2320150210-1100/Calculator, qname={http://superbiz.org/wsdl}CalculatorWsService) --> Ejb(id=WebServiceTest##20150210-1100/Calculator)

      1) Webapp name is WebServiceTest, it was not added in the wsdl url. I can't access it.
      2) EJB deployment id was added to the wsdl url. Setting openejb.wsAddress.format = /{ejbName}

      solves it, but then I get java.lang.RuntimeException: Already a destination on http://Calculator:80

      Is this a bug, limitation or do I need further configuration?

      Thanks

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            fkj Felipe Jaekel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: