wso2am-1.10.0:错误 - NioEndpoint $ SocketProcessor

时间:2016-08-12 11:11:21

标签: java wso2 wso2-am

WSO2 Api Manager的碳和发布者链接不起作用

  

启动wso2-am服务器后,如其文档中所述: WSO2 API Manager Documentation / Running the Product只有存储链接正在工作,同时访问其他两个组件(即碳和发布者),每次我点击其URL时都会发生异常:

java.lang.RuntimeException: java.security.NoSuchAlgorithmException: class configured for AlgorithmParameters (provider: SunEC) cannot be found.
    at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1373)
    at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:529)
    at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:807)
    at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:775)
    at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
    at org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:335)
    at org.apache.tomcat.util.net.SecureNioChannel.handshake(SecureNioChannel.java:193)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1715)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: class configured for AlgorithmParameters (provider: SunEC) cannot be found.
    at sun.security.util.ECUtil.getECParameters(ECUtil.java:141)
    at sun.security.util.ECUtil.getCurveName(ECUtil.java:214)
    at sun.security.ssl.JsseJce.getNamedCurveOid(JsseJce.java:389)
    at sun.security.ssl.SupportedEllipticCurvesExtension.getCurveIndex(SupportedEllipticCurvesExtension.java:161)
    at sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1011)
    at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:884)
    at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:213)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:936)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:876)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:873)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1313)
    at org.apache.tomcat.util.net.SecureNioChannel.tasks(SecureNioChannel.java:285)
    at org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:343)
    ... 7 more
Caused by: java.security.NoSuchAlgorithmException: class configured for AlgorithmParameters (provider: SunEC) cannot be found.
    at java.security.Provider$Service.getImplClass(Provider.java:1649)
    at java.security.Provider$Service.newInstance(Provider.java:1592)
    at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
    at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
    at java.security.Security.getImpl(Security.java:695)
    at java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:146)
    at sun.security.util.ECUtil.getECParameters(ECUtil.java:139)
    ... 20 more
Caused by: java.lang.ClassNotFoundException: sun.security.ec.ECParameters
    at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.security.Provider$Service.getImplClass(Provider.java:1636)
    ... 26 more
  

我也在使用WSO2 Api Manager的最新版本获得相同的例外: 2.0.0

     

请告诉我如何解决这个问题以及造成这种例外的主要原因是什么。顺便说一下,我使用的是Windows 7 Ultimate和JDK 1.8。

0 个答案:

没有答案