On 2 Sep 2020 Wed at 12:41 Steve Millidge (Payara) <steve.millidge@xxxxxxxxxxx> wrote:
I've raised a PR that fixes the remaining test failures for webservices https://github.com/eclipse-ee4j/glassfish/pull/23194 all webservices tests were green for a local run.
-----Original Message-----
From: Scott Marlow <smarlow@xxxxxxxxxx>
Sent: 01 September 2020 19:11
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>; Steve Millidge (Payara) <steve.millidge@xxxxxxxxxxx>
Subject: Re: [glassfish-dev] webservices13 test failure
Would setting -Ddeployment.resource.validation=false have any impact on the java:comp/env/ejb/WSWebServiceRefLookupClntBean failure shown on https://ci.eclipse.org/jakartaee-tck/job/eftl-jakartaeetck-run-900/25/junit-reports-with-handlebars/test-summary/8c4b091c-48ae-4be3-8f21-307703340f8b.html
for this test?
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/wsd
> l/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/do
> mains/domain1/applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService
> .wsdl
> (No such file or directory).
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLPar
> ser.java:235)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.j
> ava:216)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.j
> ava:179)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.j
> ava:148)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.ja
> va: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.jav
> a:89)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> jakarta.xml.ws.Service.<init>(Service.java:82)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.ts.tests.webservices13.servlet.WSWebServiceRefLookup.client.Ec
> hoService.<init>(EchoService.java:54)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ... 50 more
>
> Caused by: java.io.FileNotFoundException:
> /opt/PayaraDev/EE4J/tck-bundle/jakartaeetck/vi/glassfish6/glassfish/do
> mains/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(FileURLConn
> ection.java:188)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> java.net.URL.openStream(URL.java:1068)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLP
> arser.java:969)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLPa
> rser.java:370)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â at
> com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.j
> ava:201)
>
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ... 60 more
>
>
> _______________________________________________
> glassfish-dev mailing list
> glassfish-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/glassfish-dev
>
_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev