NoClassDefFoundError:Glassfish重启后的SupportedEllipticPointFormatsExtension

时间:2018-04-21 00:49:39

标签: java amazon-web-services ssl amazon-ec2 glassfish-5

我在AWS中有一个简单的t2实例,我不得不更改运行RDS数据库实例的默认时区;由于没有反映出任何变化,我决定重新启动 RDS实例。

一旦发生这种情况,我的Glassfish 5运行的EC2实例开始失败,应用程序在尝试连接数据库时返回错误。

我决定重启 EC2实例(我是AWS新手)。

在此之后,我无法访问我的webapp,因此我继续通过SSH和./asadmin restart-domain [my_domain]连接到EC2实例。

我注意到几分钟后,网络应用程序无法正常工作并在空白页面上显示500错误,因此我决定tail -f server.log

重新启动域时遇到以下异常:

  

[警告] [] [org.glassfish.grizzly.filterchain.DefaultFilterChain]   [tid:_ThreadID = 44 _ThreadName = admin-listener(4)] [timeMillis:   1524271134399] [levelValue:900] [[GRIZZLY0013:异常期间   FilterChain执行java.lang.NoClassDefFoundError:   太阳/安全性/ SSL / SupportedEllipticPointFormatsExtension           at sun.security.ssl.HelloExtensions。(HelloExtensions.java:84)           at sun.security.ssl.HandshakeMessage $ ClientHello。(HandshakeMessage.java:362)           在sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:223)           在sun.security.ssl.Handshaker.processLoop(Handshaker.java:984)           at sun.security.ssl.Handshaker $ 1.run(Handshaker.java:924)           at sun.security.ssl.Handshaker $ 1.run(Handshaker.java:921)           at java.security.AccessController.doPrivileged(Native Method)           at sun.security.ssl.Handshaker $ DelegatedTask.run(Handshaker.java:1379)           在org.glassfish.grizzly.ssl.SSLUtils.executeDelegatedTask(SSLUtils.java:274)           在org.glassfish.grizzly.ssl.SSLBaseFilter.doHandshakeStep(SSLBaseFilter.java:708)           at org.glassfish.grizzly.ssl.SSLBaseFilter.doHandshakeStep(SSLBaseFilter.java:622)           在org.glassfish.grizzly.ssl.SSLBaseFilter.handleRead(SSLBaseFilter.java:334)           在org.glassfish.grizzly.filterchain.ExecutorResolver $ 9.execute(ExecutorResolver.java:119)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)           在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)           在org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)           在org.glassfish.grizzly.filterchain.ExecutorResolver $ 9.execute(ExecutorResolver.java:119)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)           在org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)           在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)           在org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)           在org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)           在org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)           在org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access $ 100(WorkerThreadIOStrategy.java:56)           在org.glassfish.grizzly.strategies.WorkerThreadIOStrategy $ WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)           在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:593)           在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:573)           在java.lang.Thread.run(Thread.java:748)]]

似乎是SSL的某种问题,但我无法理解它。

非常感谢任何见解。

1 个答案:

答案 0 :(得分:0)

重新启动时,必须已获得Java的新版本。 Glassfish 5.0不适用于Java 8u161或更高版本:https://github.com/javaee/glassfish/issues/22416