[wsas-java-dev] [jira] Closed: (WSAS-205) CommodityQuote sample
fails when running with -qos secure
Charitha Kankanamge (JIRA)
jira at wso2.org
Mon Jul 16 06:27:53 PDT 2007
[ http://www.wso2.org/jira/browse/WSAS-205?page=all ]
Charitha Kankanamge closed WSAS-205.
------------------------------------
Verified the fix in WSAS2.0 RC2 and closed the bug.
> CommodityQuote sample fails when running with -qos secure
> ---------------------------------------------------------
>
> Key: WSAS-205
> URL: http://www.wso2.org/jira/browse/WSAS-205
> Project: WSO2 WSAS
> Issue Type: Bug
> Components: samples
> Affects Versions: Nightly
> Environment: winXP, jdk1.5, Standalone distro
> Reporter: Charitha Kankanamge
> Assigned To: Ruchith Fernando
> Priority: Critical
> Fix For: Nightly
>
>
> CommodityQuote sample throws the following exception when executing run-client.bat with -qos secure options.
> ...Getting symbols...
> Security failure. Please refer to the CommodityQuote documentation and configure
> the CommodityQuote service properly
> org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is:
> com.ctc.wstx.exc.WstxIOException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is: org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected error
> : java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is: com.ctc.wstx.exc.WstxIOException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is:
> org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected error : java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is: com.ctc.wstx.exc.WstxIOException: java.lang.RuntimeException: Unexpected
> error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is: org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected error : java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is:
> com.ctc.wstx.exc.WstxIOException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors param
> eter must be non-empty; nested exception is: org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected error
> Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors paramete
> r must be non-empty
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1
> 476)
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1443)
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1426)
> at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:64)
> at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
> at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutput
> Stream.java:190)
> at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:92)
> at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:286)
> ... 22 more
> Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAl
> gorithmParameterException: the trustAnchors parameter must be non-empty
> at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:56)
> at sun.security.validator.Validator.getInstance(Validator.java:146)
> at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509Tr
> ustManagerImpl.java:105)
> at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(
> X509TrustManagerImpl.java:167)
> Steps to reproduce:
> ===============
> 1. Deploy commodityquote sample
> 2. Enter the command; run-client.bat -qos secure
> 3. Select option 2; getting symbol
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsas-java-dev
mailing list