Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4501

Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2
    • None
    • Security Level: public (Regular issues)
    • None
    • Geronimo 2.2-SNAPSHOT, Tomcat/Axis

    Description

      The problem description's context is identical to GERONIMO-4500 for the Jetty/CXF assembly. This time the catalog is completely ignored while resolving the wsdlLocation URL. The exception is:

      2009-01-07 17:45:17,701 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/geronimo-wsdllocation-jetty_cxf-1.0-SNAPSHOT.jar/1231346713744/car?EJBModule=default/geronimo-wsdllocation-jetty_cxf-1.0-SNAPSHOT.jar/1231346713744/car,J2EEApplication=null,StatelessSessionBean=HelloWorldServiceEJB,j2eeType=WSLink,name=HelloWorldServiceEJB"
      java.io.FileNotFoundException: http://example.com/HelloWorld.wsdl
              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
              at java.net.URL.openStream(URL.java:1007)
              at org.apache.geronimo.axis2.AxisServiceGenerator.readWSDL(AxisServiceGenerator.java:302)
              at org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(AxisServiceGenerator.java:141)
              at org.apache.geronimo.axis2.Axis2WebServiceContainer.init(Axis2WebServiceContainer.java:145)
              at org.apache.geronimo.axis2.ejb.EJBWebServiceContainer.init(EJBWebServiceContainer.java:56)
              at org.apache.geronimo.axis2.ejb.EJBWebServiceGBean.<init>(EJBWebServiceGBean.java:70)
      ...
      

      The workaround that helped in the case of the Jetty/CXF assembly does not work with Tomcat/Axis.

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            jkh Janko Heilgeist
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: