You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "lorcel gao (JIRA)" <ji...@apache.org> on 2009/10/08 02:01:31 UTC

[jira] Created: (AXIS2-4521) [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up

[WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up
----------------------------------------------------------------------------

                 Key: AXIS2-4521
                 URL: https://issues.apache.org/jira/browse/AXIS2-4521
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: deployment
    Affects Versions: 1.5
         Environment: Windows XP
Tomcat: 5.5
Axis1.5

            Reporter: lorcel gao


I am trying to deploy the aar wirtten in wsdl2.0 in the container of Axis2 1.5 with Tomcat5.5. But it always throws below exceptions when tomcat starts up.

[INFO] AARBasedWSDLLocator: Unable to resolve jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/MediaService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd
[WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/Medi
aService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd",java.util.zip.ZipException:The network path was not found
[WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "http://telenav.com/datatypes/services/v10/",java.net.ConnectException:Connection timed out: connect
[WARN] Woden[Warning],0:0,Description-1001,The targetNamespace 'http://telenav.com/services/media/v10/' is not dereferencable.


And then i upgraded all the wonden jars in Axis2 1.5  from 1.0M8 to 1.0-SNAPSHOT and the issue still exists.

It seems the Axis2 is trying to locate the xsds and eventually failed to locate them but the xsds are really there. The actual full path of the xsd is exactly the same as the exception said. These exception didn't block the service, the service run well even these excetpion are thrown. But it will make the startup of tomcat take long time.

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


[jira] Commented: (AXIS2-4521) [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776009#action_12776009 ] 

Sagara Gunathunga  commented on AXIS2-4521:
-------------------------------------------

I have noticed following  two issues.
 
 (1) In the ArchiveReader class.  
 
    When constructing  the BaseUrl it contains extra "File://" string and also  this constructed BaseUrl  format does not properly works in Windows. 
	
 (2) In the  AARBasedWSDLLocator calss 
     
 We use AARBasedWSDLLocator  as a customWSDLResolver in WSDL20ToAxisServiceBuilder , but in the AARBasedWSDLLocator class under  the theresolveURI(URI unResUri) method URI construction part is incorrect.

> [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-4521
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4521
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5
>         Environment: Windows XP
> Tomcat: 5.5
> Axis1.5
>            Reporter: lorcel gao
>         Attachments: MediaService-dev.aar
>
>
> I am trying to deploy the aar wirtten in wsdl2.0 in the container of Axis2 1.5 with Tomcat5.5. But it always throws below exceptions when tomcat starts up.
> [INFO] AARBasedWSDLLocator: Unable to resolve jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/MediaService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/Medi
> aService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd",java.util.zip.ZipException:The network path was not found
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "http://telenav.com/datatypes/services/v10/",java.net.ConnectException:Connection timed out: connect
> [WARN] Woden[Warning],0:0,Description-1001,The targetNamespace 'http://telenav.com/services/media/v10/' is not dereferencable.
> And then i upgraded all the wonden jars in Axis2 1.5  from 1.0M8 to 1.0-SNAPSHOT and the issue still exists.
> It seems the Axis2 is trying to locate the xsds and eventually failed to locate them but the xsds are really there. The actual full path of the xsd is exactly the same as the exception said. These exception didn't block the service, the service run well even these excetpion are thrown. But it will make the startup of tomcat take long time.

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


[jira] Updated: (AXIS2-4521) [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up

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

Sagara Gunathunga  updated AXIS2-4521:
--------------------------------------

    Attachment: AARBasedWSDLLocator.java.txt
                ArchiveReader.java.txt

Attached  patch will fix this issue and also AXIS2- 4436.

> [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-4521
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4521
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5
>         Environment: Windows XP
> Tomcat: 5.5
> Axis1.5
>            Reporter: lorcel gao
>         Attachments: AARBasedWSDLLocator.java.txt, ArchiveReader.java.txt, MediaService-dev.aar
>
>
> I am trying to deploy the aar wirtten in wsdl2.0 in the container of Axis2 1.5 with Tomcat5.5. But it always throws below exceptions when tomcat starts up.
> [INFO] AARBasedWSDLLocator: Unable to resolve jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/MediaService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/Medi
> aService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd",java.util.zip.ZipException:The network path was not found
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "http://telenav.com/datatypes/services/v10/",java.net.ConnectException:Connection timed out: connect
> [WARN] Woden[Warning],0:0,Description-1001,The targetNamespace 'http://telenav.com/services/media/v10/' is not dereferencable.
> And then i upgraded all the wonden jars in Axis2 1.5  from 1.0M8 to 1.0-SNAPSHOT and the issue still exists.
> It seems the Axis2 is trying to locate the xsds and eventually failed to locate them but the xsds are really there. The actual full path of the xsd is exactly the same as the exception said. These exception didn't block the service, the service run well even these excetpion are thrown. But it will make the startup of tomcat take long time.

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


[jira] Commented: (AXIS2-4521) [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776621#action_12776621 ] 

Sagara Gunathunga  commented on AXIS2-4521:
-------------------------------------------

I think we can include this fix into next release , BTW in 1.3 version AARBasedWSDLLocator does not implement the Woden's URIResolver interface so this is not valid for those older versions. 

IMO it's better to wait until someone commit this fix into trunk and then build yourself or use a nightly build. 

> [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-4521
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4521
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5
>         Environment: Windows XP
> Tomcat: 5.5
> Axis1.5
>            Reporter: lorcel gao
>         Attachments: AARBasedWSDLLocator.java.txt, ArchiveReader.java.txt, MediaService-dev.aar
>
>
> I am trying to deploy the aar wirtten in wsdl2.0 in the container of Axis2 1.5 with Tomcat5.5. But it always throws below exceptions when tomcat starts up.
> [INFO] AARBasedWSDLLocator: Unable to resolve jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/MediaService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/Medi
> aService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd",java.util.zip.ZipException:The network path was not found
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "http://telenav.com/datatypes/services/v10/",java.net.ConnectException:Connection timed out: connect
> [WARN] Woden[Warning],0:0,Description-1001,The targetNamespace 'http://telenav.com/services/media/v10/' is not dereferencable.
> And then i upgraded all the wonden jars in Axis2 1.5  from 1.0M8 to 1.0-SNAPSHOT and the issue still exists.
> It seems the Axis2 is trying to locate the xsds and eventually failed to locate them but the xsds are really there. The actual full path of the xsd is exactly the same as the exception said. These exception didn't block the service, the service run well even these excetpion are thrown. But it will make the startup of tomcat take long time.

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


[jira] Commented: (AXIS2-4521) [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up

Posted by "lorcel gao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776173#action_12776173 ] 

lorcel gao commented on AXIS2-4521:
-----------------------------------

Sagara,
Thank you so much for your response.

Both ArchiveReader and AARBasedWSDLLocator  are in axis2-kernel.jar. Do you have any schedule for the release with this fix for Axis2??

Or to make it work, can you please send the compiled class for these two java file to me??

For AARBasedWSDLLocator in Axis2_1.3, there is no such function "resolveURI" in it, so how to deal with it in Axis2_1.3???

Thank you so much. Waiting for your response.



> [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-4521
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4521
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5
>         Environment: Windows XP
> Tomcat: 5.5
> Axis1.5
>            Reporter: lorcel gao
>         Attachments: AARBasedWSDLLocator.java.txt, ArchiveReader.java.txt, MediaService-dev.aar
>
>
> I am trying to deploy the aar wirtten in wsdl2.0 in the container of Axis2 1.5 with Tomcat5.5. But it always throws below exceptions when tomcat starts up.
> [INFO] AARBasedWSDLLocator: Unable to resolve jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/MediaService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/Medi
> aService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd",java.util.zip.ZipException:The network path was not found
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "http://telenav.com/datatypes/services/v10/",java.net.ConnectException:Connection timed out: connect
> [WARN] Woden[Warning],0:0,Description-1001,The targetNamespace 'http://telenav.com/services/media/v10/' is not dereferencable.
> And then i upgraded all the wonden jars in Axis2 1.5  from 1.0M8 to 1.0-SNAPSHOT and the issue still exists.
> It seems the Axis2 is trying to locate the xsds and eventually failed to locate them but the xsds are really there. The actual full path of the xsd is exactly the same as the exception said. These exception didn't block the service, the service run well even these excetpion are thrown. But it will make the startup of tomcat take long time.

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


[jira] Commented: (AXIS2-4521) [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up

Posted by "lorcel gao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776669#action_12776669 ] 

lorcel gao commented on AXIS2-4521:
-----------------------------------

For Axis2_1.3, does that mean this issue will not be fixed? The only way to solve this issue is to upgrade to next release of Axis2 1.5 ??



> [WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-4521
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4521
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5
>         Environment: Windows XP
> Tomcat: 5.5
> Axis1.5
>            Reporter: lorcel gao
>         Attachments: AARBasedWSDLLocator.java.txt, ArchiveReader.java.txt, MediaService-dev.aar
>
>
> I am trying to deploy the aar wirtten in wsdl2.0 in the container of Axis2 1.5 with Tomcat5.5. But it always throws below exceptions when tomcat starts up.
> [INFO] AARBasedWSDLLocator: Unable to resolve jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/MediaService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/Medi
> aService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd",java.util.zip.ZipException:The network path was not found
> [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "http://telenav.com/datatypes/services/v10/",java.net.ConnectException:Connection timed out: connect
> [WARN] Woden[Warning],0:0,Description-1001,The targetNamespace 'http://telenav.com/services/media/v10/' is not dereferencable.
> And then i upgraded all the wonden jars in Axis2 1.5  from 1.0M8 to 1.0-SNAPSHOT and the issue still exists.
> It seems the Axis2 is trying to locate the xsds and eventually failed to locate them but the xsds are really there. The actual full path of the xsd is exactly the same as the exception said. These exception didn't block the service, the service run well even these excetpion are thrown. But it will make the startup of tomcat take long time.

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