[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [glassfish-dev] webservices13 test failure
|
I did a `git diff 8.0.2 HEAD --no-ext-diff` of the Jakarta Platform EE 8
=> 9 TCK changes and some of the changes I see for the webservices13
test that fails are shown at http://pastie.org/p/6N39qcmios5bWhnGdhx5zW
- I see a lot of javax => jakarta namespace changes.
- Some file renames, like
webservices13/servlet/WSWebServiceRefLookup/client/javaEE.tokens to
webservices13/servlet/WSWebServiceRefLookup/client/jakartaEE.tokens
- webservices13/servlet/WSWebServiceRefLookup/server/jakartaEE.web.xml
updated to use https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd
instead of http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd (note diff
shows file as deleted and readded).
-
webservices13/servlet/WSWebServiceRefLookupDDs/client/WSWSRefLookupDDsClnt2_web.xml
uses https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd instead of
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
-
webservices13/servlet/WSWebServiceRefLookupDDs/client/WSWSRefLookupDDsClnt_client.xml
uses https://jakarta.ee/xml/ns/jakartaee/application-client_9.xsd
instead of http://java.sun.com/xml/ns/javaee/application-client_6.xsd.
-
webservices13/servlet/WSWebServiceRefLookupDDs/client/WSWSRefLookupDDsClnt_ejb.xml
uses https://jakarta.ee/xml/ns/jakartaee/ejb-jar_4_0.xsd instead of
http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd
-
webservices13/servlet/WSWebServiceRefLookupDDs/client/application.xml.clientear
uses https://jakarta.ee/xml/ns/jakartaee/application_9.xsd instead of
http://java.sun.com/xml/ns/javaee/application_6.xsd
- webservices13/servlet/WSWebServiceRefLookupDDs/server/javaEE.tokens
renamed to
webservices13/servlet/WSWebServiceRefLookupDDs/server/jakartaEE.tokens
-
/webservices13/servlet/WSWebServiceRefLookupDDs/server/jakartaEE.web.xml
updated to use https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd
instead of http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
I tried creating a github gist but couldn't create a public gist with
the same content.
Sadly, the pastie.org link is only good for 24 hours.
Hope this helps,
Scott
On 9/1/20 1:04 PM, Steve Millidge (Payara) wrote:
All,
I am debugging the final class of failure for webservices13 and
webservices12 . Basically I have tracked down that the WebService
instance when created is looking for the WSDL file in the wrong place
within the exploded deployment in the GlassFish domain.
e.g. applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl
however as the webservice is packaged in a war in an ear the actual
location is
applications/WSWSRefLookupClnt2/WSWSRefLookupClnt2_web_war/WEB-INF/wsdl/EchoService.wsdl
Does anybody know what change could have introduced this? Alternatively
does anybody know where the path is generated?
I will continue debugging!
Full Exception below for reference
Caused by: jakarta.xml.ws.WebServiceException: Failed to access the WSDL
at:
file:/opt/PayaraDev/EE4J/tck-bundle/jakartaeetck/vi/glassfish6/glassfish/domains/domain1/applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl.
It failed with:
/opt/PayaraDev/EE4J/tck-bundle/jakartaeetck/vi/glassfish6/glassfish/domains/domain1/applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl
(No such file or directory).
               at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:235)
               at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216)
               at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:179)
               at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:148)
               at
com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:334)
               at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:292)
               at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201)
               at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:182)
               at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
               at
com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:89)
               at jakarta.xml.ws.Service.<init>(Service.java:82)
               at
com.sun.ts.tests.webservices13.servlet.WSWebServiceRefLookup.client.EchoService.<init>(EchoService.java:54)
               ... 50 more
Caused by: java.io.FileNotFoundException:
/opt/PayaraDev/EE4J/tck-bundle/jakartaeetck/vi/glassfish6/glassfish/domains/domain1/applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl
(No such file or directory)
               at java.io.FileInputStream.open0(Native Method)
               at java.io.FileInputStream.open(FileInputStream.java:195)
               at java.io.FileInputStream.<init>(FileInputStream.java:138)
               at java.io.FileInputStream.<init>(FileInputStream.java:93)
               at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
               at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
               at java.net.URL.openStream(URL.java:1068)
               at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:969)
               at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:370)
               at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:201)
               ... 60 more
_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev