You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Janko Heilgeist (JIRA)" <ji...@apache.org> on 2009/01/07 17:50:44 UTC

[jira] Created: (GERONIMO-4501) Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

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

                 Key: GERONIMO-4501
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4501
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2
         Environment: Geronimo 2.2-SNAPSHOT, Tomcat/Axis
            Reporter: Janko Heilgeist


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:

{noformat}
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)
...
{noformat}

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4501) Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666276#action_12666276 ] 

Jarek Gawor commented on GERONIMO-4501:
---------------------------------------

Committed additional changes (to trunk) to make service-ref work with OASIS catalogs with CXF (revision 736768).


> Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4501
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4501
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2-SNAPSHOT, Tomcat/Axis
>            Reporter: Janko Heilgeist
>            Assignee: Jarek Gawor
>
> 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:
> {noformat}
> 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)
> ...
> {noformat}
> The workaround that helped in the case of the Jetty/CXF assembly does not work with Tomcat/Axis.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4501) Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665948#action_12665948 ] 

Jarek Gawor commented on GERONIMO-4501:
---------------------------------------

Committed additional changes (to trunk) to make service-ref work with OASIS catalogs with Axis2 (revision 736396).


> Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4501
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4501
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2-SNAPSHOT, Tomcat/Axis
>            Reporter: Janko Heilgeist
>            Assignee: Jarek Gawor
>
> 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:
> {noformat}
> 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)
> ...
> {noformat}
> The workaround that helped in the case of the Jetty/CXF assembly does not work with Tomcat/Axis.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-4501) Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor reassigned GERONIMO-4501:
-------------------------------------

    Assignee: Jarek Gawor

> Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4501
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4501
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2-SNAPSHOT, Tomcat/Axis
>            Reporter: Janko Heilgeist
>            Assignee: Jarek Gawor
>
> 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:
> {noformat}
> 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)
> ...
> {noformat}
> The workaround that helped in the case of the Jetty/CXF assembly does not work with Tomcat/Axis.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4501) Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664757#action_12664757 ] 

Jarek Gawor commented on GERONIMO-4501:
---------------------------------------

I committed fixes to trunk (revision 735186) that make Axis2-based services recognize the OASIS catalogs. I also added basic tests to exercise the OASIS catalog support (revision 735188).

These changes should make the reported problem go away but I still need to investigate/work on the OASIS catalog support for service references.


> Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4501
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4501
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2-SNAPSHOT, Tomcat/Axis
>            Reporter: Janko Heilgeist
>            Assignee: Jarek Gawor
>
> 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:
> {noformat}
> 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)
> ...
> {noformat}
> The workaround that helped in the case of the Jetty/CXF assembly does not work with Tomcat/Axis.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4501) Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663637#action_12663637 ] 

Jarek Gawor commented on GERONIMO-4501:
---------------------------------------

The OASIS catalog resolution was not working with CXF in trunk. That was fixed in revision 734223.

I discovered one Axis2 problem (AXIS2-4209) while working on OASIS catalog support in Geronimo with Axis2.


> Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4501
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4501
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2-SNAPSHOT, Tomcat/Axis
>            Reporter: Janko Heilgeist
>            Assignee: Jarek Gawor
>
> 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:
> {noformat}
> 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)
> ...
> {noformat}
> The workaround that helped in the case of the Jetty/CXF assembly does not work with Tomcat/Axis.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4501) Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-4501.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

OASIS catalogs should work now with services and service-refs with Axis2 and CXF.


> Tomcat/Axis ignores jax-ws-catalog.xml while resolving wsdlLocation URLs
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4501
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4501
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2-SNAPSHOT, Tomcat/Axis
>            Reporter: Janko Heilgeist
>            Assignee: Jarek Gawor
>             Fix For: 2.2
>
>
> 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:
> {noformat}
> 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)
> ...
> {noformat}
> The workaround that helped in the case of the Jetty/CXF assembly does not work with Tomcat/Axis.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.