Webservice error - 2 counts of InaccessibleWSDLException - due to JDK update from 112 to 121
Sean Mullan
sean.mullan at oracle.com
Wed Jan 31 16:32:59 UTC 2018
On 1/24/18 5:36 AM, Patrick Goovaerts wrote:
> Hi,
>
> After updating JKD 1.8.0 from u112 to u121, i get errors executing
> webservices which uses a certificate.
>
> The error I get is:
> com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts
> of InaccessibleWSDLException
>
> In the example I ran the code with u152 but same prob occurs as from u121
>
> Anyone who could help me with this?
Not sure, but can you get a more complete stack trace which would show
the underlying cause of the NoSuchAlgorithmException?
You could also try adding -Djava.security.debug=all
-Djavax.net.debug=all to your command line to see if anything
interesting comes up in the debug messages.
Also, this is not a support forum, but hopefully those tips above will
get you on the right track. If you are still having trouble and can come
up with a reproducible test case that we can run, you can file a bug at
https://bugreport.java.com/
--Sean
>
> ====================================
>
> PC - COMMAND PROMPT - JAVA 1_8_00152
>
> ====================================
>
> C:\Data\Kantoor\WebServices\PLDA>"C:\Program Files\Java\jdk8\bin\java"
> -version
>
> java version "1.8.0_152"
>
> Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
>
> Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
>
> C:\Data\Kantoor\WebServices\PLDA>"C:\Program Files\JAVA\jdk8\bin\java"
> -cp WS-Clients.jar;Conti7.jar;Conti7Utilities.jar
> com.clipper.ws.clients.Plda
>
> 2018-01-23 21:39:06.559 com.clipper.ws.clients.Plda
> Plda(keyStore=C:/Data/kantoor/WebServices/PLDA/PGO_Conti71619.pfx,
> keyStoreType=pkcs12, keyStorePwd=Conti7Sp0rtlife): Creating WebService
> Plda object...
>
> 2018-01-23 21:39:06.576 com.clipper.ws.clients.Plda Create
> PldaWebwervice_Service(): Creating Service
>
> Exception in thread "main"
> com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts
> of InaccessibleWSDLException.
>
> java.net.SocketException: java.security.NoSuchAlgorithmException: Error
> constructing implementation (algorithm: Default, provider: SunJSSE,
> class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
>
> java.net.SocketException: java.security.NoSuchAlgorithmException: Error
> constructing implementation (algorithm: Default, provider: SunJSSE,
> class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
>
> at
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:260)
>
> at
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:231)
>
> at
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
>
> at
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
>
> at
> com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
>
> at
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
>
> at
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
>
> at
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
>
> at
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
>
> at
> com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
>
> at javax.xml.ws.Service.<init>(Service.java:77)
>
> at
> com.clipper.ws.plda.PldaWebservice_Service.<init>(PldaWebservice_Service.java:51)
>
> at com.clipper.ws.clients.Plda.<init>(Plda.java:30)
>
> at com.clipper.ws.clients.Plda.main(Plda.java:80)
>
> *Patrick Goovaerts*
>
> **
>
More information about the security-dev
mailing list