1 Reply Latest reply on Mar 27, 2006 8:10 AM by Karl-Christian Pammer

    JBOSS 4.0.3 (EJB 2.1):Two or more WS EJB ear files in one in

    Torben Lorentzen Newbie

      Hi experts,

      I am trying to let every ear file deploy it's own webservice. But only
      on the last deployed ear fil is it possible to see the wsdl by the
      browser. E.g. I have two ear files a1.ear and a2.ear. The wsdl for
      a2.ear can I see but when I try to see the wsdl file for a1.ear I got
      the following error:

      HTTP Status 404 - /ejb/SCSystem

      description. The requested resource (/ejb/SCSystem) is not available.

      Apache Tomcat/5.5.12").


      If I am not deploying a2.ear then a1.ear is working and it is now
      possible to se the wsdl fil.

      Has any of you any solutions on this, please let me know.

      Thanks in Advance,
      Lorentzen

        • 1. Re: JBOSS 4.0.3 (EJB 2.1):Two or more WS EJB ear files in on
          Karl-Christian Pammer Newbie

          Hi,

          I had a simular problem.

          In my case all webservices were deployed in a specific location /webservice/servicename. As a consequence only the WSDL of the last deployed webservice was accessible. When I changed the locations in such a way that they were completly different for the webservices it worked.

          I changed the the location to be something like /appnamews/servicename using the <port-component-uri> Element in jboss.xml file.

          It seems that the location of the service has to be unambiguous from the beginning.

          Best Regards
          Charly