Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] webservices13 test failure

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
> 



Back to the top