0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

asadmin enable-secure-admin 実行後GlassFish5.1が起動できない

Posted at

asadmin enable-secure-admin 実行後GlassFish5.1が起動できなくなった。
server.logには、以下のメッセージが出力される。

[2023-05-12T17:52:28.993+0900] [glassfish 5.1] [SEVERE] [] [] [tid: _ThreadID=53 _ThreadName=Thread-9] [timeMillis: 1683881548993] [levelValue: 1000] [[
  java.lang.NoClassDefFoundError: sun/security/ssl/HelloExtension
        at sun.security.ssl.SSLExtension.<clinit>(SSLExtension.java:224)
        at sun.security.ssl.SSLConfiguration.getEnabledExtensions(SSLConfiguration.java:380)
        at sun.security.ssl.ClientHello$ClientHelloKickstartProducer.produce(ClientHello.java:551)
        at sun.security.ssl.SSLHandshake.kickstart(SSLHandshake.java:509)
        at sun.security.ssl.ClientHandshakeContext.kickstart(ClientHandshakeContext.java:115)

環境

  • Redhat 9
  • java 1.8.0_361
  • Eclipse GlassFish 5.1.0

対応

google検索で、対応策が見つかった。
glassfish/modules/endorsed/grizzly-npn-bootstrap.jarからsunフォルダを削除するとのこと。

キャプチャ.JPG

削除したjarに入れ替えて起動、終了できることを確認。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?