当打开Glassfish远程管理时,无法访问此网站



启动Glassfish后,无法访问远程Glassfish站点。我使用的地址是123.123.12.12:14848(ip号码已更改)

root@debian:/opt/glassfish5/glassfish/bin#/asadmin启动域正在等待域1启动。。。。。。。。。。。已成功启动域:domain1域位置:/opt/glassfish5/glassfish/domains/domain1日志文件:/opt/glassfish5/glassfish/domains/domain1/logs/server.log管理端口:14848命令启动域已成功执行。

这里有一个日志:

[2020-07-0910:21:18.154-04000][][INFO][NCLS-GFLAUNCHER-00005][javax.enterprise.slauncher][tid:_ThreadID=1 _ThreadName=main][timeMillis:1594304478154][levelValue:800][JVM调用命令行:/usr/lib/jvm/jdk1.8.0_151/bin/java-cp/opt/glassfish5/glassfish/modules/glassfish.jar-XX: +解锁诊断VMOptions-XX: NewRatio=2-XX: 最大PermSize=192m-Xmx512m-javaagent:/opt/glassfish5/glassfish/lib/monitor/flashlight-agent.jar-客户端-Djavax.xml.accessExternalSchema=全部-Djavax.net.ssl.trustStore=/opt/glassfish5/glassfish/domains/domain1/config/caerts.jks-Djdk.tls.rejectClientInitiatedRegotiation=true-Djdk.corba.allowOutputStreamSublass=true-Dfelix.fileinstall.dir=/opt/glassfish5/glassfish/modules/autostart/-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.filex.shell,org.apache.filix.gogo.runtime,org.apache.Filex.gogo.shell,org.apache:filex.gog.command,org.apache_filex.shell.remote,org.apache.filex.fileinstall-Dcom.sun.aas.installRoot=/opt/glassfish5/glassfish-Dfelix.fileinstall.poll=5000-Djava.assioned.dirs=/opt/glassfish5/glassfish/modules/assioned:/opt/glassefish5/glassefish/lib/approved-Djava.security.policy=/opt/glassfish5/glassfish/domains/domain1/config/server.policy-Dosgi.shell.telnet.maxconn=1-Dfelix.fileinstall.bundles.startTransient=true-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory-Dfelix.fileinstall.log.level=2-Djavax.net.ssl.keyStore=/opt/glassfish5/glassfish/domains/domain1/config/keyStore.jks-Djava.security.auth.login.config=/opt/glassfish5/glassfish/domains/config/login.conf-Dfelix.fileinstall.disableConfigSave=false-Dfelix.fileinstall.bundles.new.start=true-Dcom.sun.aas.instanceRoot=/opt/glassfish5/glassfish/domains/domain1-Dosgi.shell.telnet.port=6666-Dgosh.args=--nointeractive-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as-Dosgi.shell.telnet.ip=127.0.0.1-DANTLR_USE_DIRECT_CLASS_LOADING=真-Djava.awt.headless=真-Dcom.ctc.wstx.returnNullForDefaultNamespace=true-Djava.ext.dirs=/usr/lib/jvm/jdk1.8.0_151/lib/ext://usr/lib/jvm/jdk11.8.0_151/jre/lib/ext://opt/glassfish5/glassfish/domains/domain1/lib/ext-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver-Djava.library.path=/opt/glassfish5/glassfish/lib:/usr/java/packages/lib/aamd64:/usr/lib64:/lib:/usr/libcom.sun.enterprise.glassfish.bootstrap.ASM主-升级false-domaindir/opt/glassfish5/glassfish/domains/domain1-读取stdin true-asadmin参数--host,,,localhost,,,--端口,,,4848,,,,--secure=false,,--terse=false,、,--echo=false、、、--interactive=true、、、启动域、、、--verbose=false、,、--看门狗=false、…、--debug=false、..、--domaindir、、、/opt/glassfish5/glassfish/domains、,domain1-域名domain1-实例名称服务器-DAS型-详细错误-asadmin classpath/opt/glassfish5/glassfish/lib/client/appserver-cli.jar-debug false-asadmin classname com.sun.enterprise.admin.cli.AdminMain]]

【2020-07-09T10:28.2959-0400】【glassfish 5.0】【信息】[NCLS-LOGGING-00009][javax.enterprise.LOGGING][tid:_ThreadID=18_ThreadName=RunLevelControllerThread-159430448803][timeMillis:1594304488959][levelValue:800][Running GlassFish版本:GlassFish Server开放源代码版5.0.1(build 5)]]

【2020-07-09T10:28.962-04000】【glassfish 5.0】【信息】[NCLS-LOGGING-00010][javax.enterprise.LOGGING][tid:_ThreadID=18_ThreadName=RunLevelControllerThread-159430448803][timeMillis:1594304488962][levelValue:800][[服务器日志文件正在使用格式化程序类:com.sun.enterprise.server.logging.ODLogFormatter]]

[2020-07-09T10:29.417-04000][glassfish 5.0][INFO][NCLS-SECURITY-01115][javax.enterprise.system.core.SECURITY][tid:_ThreadID=17_ThreadName=RunLevelControllerThread-15943044488295][timeMillis:1594304489417][levelValue:800][Realm[admin Realm]类类型为[com.sun.enterprise.security.auth.remarm.file.FileRealm]成功创建。]]

【2020-07-09T10:24.22-0400】【glassfish 5.0】【信息】[NCLS-SECURITY-01115][javax.enterprise.system.core.SECURITY][tid:_ThreadID=17_ThreadName=RunLevelControllerThread-15943044488295][timeMillis:15943044489422][levelValue:800][Realm[file],共个classtype[com.sun.enterprise.security.auth.remarm.file.FileRealm]成功创建。]]

[2020-07-09 10:21-29-428-0400][glassfish 5.0][INFO][NCLS-SECURITY-01115][javax.enterprise.system.core.SECURITY][tid:_ThreadID=17_ThreadName=RunLevelControllerThread-15943044488295][timeMillis:1594304489428][levelValue:800][Realm[certificate]类类型的[com.sun.enterprise.security.auth.rerealm.CertificateRealm]成功创建。]]

【2020-07-09T10:24.365-0400】【glassfish 5.0】【信息】【】[org.glassfish.ha.store.spi.BackingStoreFactoryRegistry][tid:_ThreadID=20_ThreadName=RunLevelControllerThread-159430448343][timeMills:1594304490365][levelValue:800][Registeredorg.lassfish.ha.store.adapter.cache.ShoalBackingStoreProxy持久性类型=在BackingStoreFactoryRegistry]]中复制

【2020-07-09T10:24.3466-0400】【玻璃鱼5.0】【信息】【SEC-SVCS-00100】[javax.enterprise.security.services][tid:_ThreadID=18_ThreadName=RunLevelControllerThread-159430448803][timeMillis:1594304490466][levelValue:800][Authorization Service具有已成功初始化。]]

【2020-07-09T10:21:31.035-04000】【玻璃鱼5.0】【信息】[NCLS-COE-00087][javax.enterprise.system.CORE][tid:_ThreadID=25_ThreadName=RunLevelControllerThread-159430489551][timeMillis:1594304491035][levelValue:800][Grizzly Framework 2.4.3已启动in:52ms-绑定到[/0.0.0.0:8080]]

【2020-07-09T10:21:31.079-0400】【玻璃鱼5.0】【信息】[NCLS-COE-00087][javax.enterprise.system.CORE][tid:_ThreadID=25_ThreadName=RunLevelControllerThread-159430489551][timeMillis:1594304491079][levelValue:800][Grizzly Framework 2.4.3已启动in:2ms-绑定到[/0.0.0.0:8181]]

【2020-07-09T10:21.111-0400】【玻璃鱼5.0】【警告】【】[org.glassfish.grazzly.config.GenericGrizzlyListener][tid:_ThreadID=25_ThreadName=RunLevelControllerThread-159430489551][timeMills:1594304491111][levelValue:900][HTTP/2(由启用默认值)不支持端口统一,并且将被禁用网络侦听器管理侦听器。]]

【2020-07-09T10:21.166-0400】【玻璃鱼5.0】【信息】[NCLS-COE-00087][javax.enterprise.system.CORE][tid:_ThreadID=25_ThreadName=RunLevelControllerThread-159430489551][timeMillis:1594304491166][levelValue:800][Grizzly Framework 2.4.3已启动in:3ms-绑定到[/0.0.0.0:14848]]

【2020-07-09T10:21-396-04000】【glassfish 5.0】【信息】[NCLS-COE-00087][javax.enterprise.system.CORE][tid:_ThreadID=25_ThreadName=RunLevelControllerThread-159430489551][timeMillis:1594304491396][levelValue:800][Grizzly Framework 2.4.3已启动in:80ms-绑定到[/0.0.0.0:3700]]

[2020-07-09 10:21-31-398-0400][glassfish 5.0][INFO][NCLS-CORE-0017][javax.enterprise.system.CORE][tid:_ThreadID=1_ThreadName=main][timeMillis:1594304491398][levelValue:800][GlassFish Server Open Source Edition 5.0.1(5)启动时间:Felix(9339ms),启动服务(3118ms),总计(12457ms)]]

[2020-07-09T10:24.339-0400][glassfish 5.0][INFO][jts.startup_msg][javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions][tid:_ThreadID=19_ThreadName=RunLevelControllerThread-159430408341][时间毫秒:1594304492439][级别值:800][JTS5014:可恢复的JTS实例,serverId=[100]]

【2020-07-09T10:21.677-0400】【玻璃鱼5.0】【信息】[NCLS-BOOTSTRAP-00027][javax.enterprise.BOOTSTRAP][tid:_ThreadID=1_ThreadName=main][timeMillis:1594304492677][levelValue:800][[已注册com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@4aeaadc1作为OSGi服务注册:org.apache.felix.framework.ServiceRegistrationImpl@263558c9.]]

【2020-07-09T10:21:33.236-04000】【玻璃鱼5.0】【信息】【】[org.jvnet.hk2.osgiadapter][tid:_ThreadID=15_ThreadName=FelixStartLevel][timeMillis:1594304493236][levelValue:800][[跳过居民注册以供服务参考[org.osgi.service.cm.ManagedService]作为服务对象无法]]

【2020-07-09T10:21.3248-0400】【玻璃鱼5.0】【信息】【】[org.jvnet.hk2.osgiadapter][tid:_ThreadID=15_ThreadName=FelixStartLevel][timeMillis:1594304493248][levelValue:800][[跳过居民注册以供服务参考[org.osgi.service.metatype.MetaTypeProvider]作为服务对象无法获取。]]

【2020-07-09T10:21.37.72-0400】【玻璃鱼5.0】【信息】【NCLS-JMX-00024】[javax.enterprise.system.jmx][tid:_ThreadID=55_ThreadName=Thread-15][timeMillis:159430494772][levelValue:800][[使用ssl配置在0.0.0.0创建SecureRMServerSocketFactory=GlassFishConfigBean.org.glassfish.grazzly.config.dom.Ssl]]

[2020-07-09T10:21.34.78-104000][glassfish 5.0][INFO][][][tid:_ThreadID=55_ThreadName=Thread-8][timeMillis:1594304494781][levelValue:800][SSLParams=org.glassfish.admin.mbeanserver.ssl.SSLParams@415d224e]]

【2020-07-09T10:21:34.003-04000】【glassfish 5.0】【警告】[NCLS-JMX-00020][javax.enterprise.system.JMX][tid:_ThreadID=55_ThreadName=Thread-15][timeMillis:1594304494803][levelValue:900][[为网络侦听器禁用了所有SSL密码套件。使用SSL实现特定默认值]]

【2020-07-09T10:21.34.20400】【玻璃鱼5.0】【警告】[NCLS-JMX-00020][javax.enterprise.system.JMX][tid:_ThreadID=55_ThreadName=Thread-15][timeMillis:1594304494812][levelValue:900][[为网络侦听器禁用了所有SSL密码套件。使用SSL实现特定默认值]]

【2020-07-09T10:21:34.810-04000】【玻璃鱼5.0】【信息】【】【】】【tid:_ThreadID=55_ThreadName=Thread-8][timeMillis:1594304494810][levelValue:800][SSLParams=org.glassfish.admin.mbeanserver.ssl.SSLParams@415d224e]]

【2020-07-09T10:21:35.187-0400】【玻璃鱼5.0】【信息】【NCLS-JMX-00025】[javax.enterprise.system.jmx][tid:_ThreadID=55_ThreadName=Thread-15][timeMills:1594304495187][levelValue:800][SSLServerSocket/0.0.0.0:8686和[SSL:ServerSocket[addr==0.0.0.0,localport=8686]]已创建]]

【2020-07-09T10:21-318-04000】【玻璃鱼5.0】【警告】[NCLS-JMX-00007][javax.enterprise.system.JMX][tid:_ThreadID=55_ThreadName=Thread-15][timeMillis:1594304495318][levelValue:900][[无法启动JMX连接器JmxConnector配置:{name=system,协议=rmi_jrmp,地址=0.0.0.0,端口=8686,AcceptAll=false,AuthRealmName=admin领域,SecurityEnabled=true}由于异常java.lang.NoClassDefFoundError:sun/security/ssl/HandshakeStateManager]]

【2020-07-09T10:21-318-04000】【玻璃鱼5.0】【警告】【】[sun.rmi.transport.tcp][tid:_ThreadID=80 _ThreadName=rmi tcp接受-8686][timeMillis:1594304495318][levelValue:900][RMITCP Accept-8686:[SSL:ServerSocket[addr==0.0.0.0,localport=8686]]throwsjava.lang.NoClassDefFoundError:sun/security/ssl/HandshakeStateManager在sun.security.ssl.Handshaker.init(Handshaker.java:306)sun.security.ssl.Handshaker.(Handshaker.java:266)位于sun.security.ssl.ServerHandshaker.(ServerHandshaker.java:183)在sun.security.ssl.SLSocketImpl.initHandshaker(SSLSocketImpl.java:1332)位于sun.security.ssl.SSSLSocketImpl.doneConnect(SSLSocketImpl.java:700)在sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:349)在sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:400)在sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:372)在java.lang.Thread.run(线程.java:748)]]

[20-07-09T10:21:35.390-04000][glassfish 5.0][SEVERE][][][tid:_ThreadID=55_ThreadName=Thread-9][timeMillis:1594304495390][levelValue:1000][java.lang.NoClassDefFoundError:sun/security/ssl/HandshakeStateManagersun.security.ssl.Handshaker.init(Handshaker.java:306)位于sun.security.ssl.Handshaker.(Handshaker.java:266)位于sun.security.ssl.ClientHandshaker.(ClientHandshaker.java:184)在sun.security.ssl.SLSocketImpl.initHandshaker(SSLSocketImpl.java:1339)位于sun.security.ssl.SSSLSocketImpl.doneConnect(SSLSocketImpl.java:700)位于sun.security.ssl.SSSLSocketImpl.connect(SSLSocketImpl.java:679)sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:432)sun.security.ssl.SSSLSocketFactoryImpl.createSocket(SSLSocketFactory Impl.java:88)在javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(SslRMICClientSocketFactory.java:121)位于sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)在sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)在sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)位于sun.rmi.server.UnincastRef.newCall(UnicastRef.java:338)sun.rmi.registery.RegistryImpl_Stub.rebind(RegistryImpl_斯图b.java:147)在com.sun.jndi.rmi.registery.RegistryContext.rebind(RegistryContext.java:175)在com.sun.jndi.toolkit.url.GenericURLContext.rebind(GenericURLContext.java:251)在javax.nameing.InitialContext.rebind(InitialContext.java:433)位于的javax.nameing.InitialContext.rebind(InitialContext.java:433)javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:642)在javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)在org.glassfish.admin.mbeanserver.MRMConnectorStarter.start(RMIConnectorStarter.java:320)在org.glassfish.admin.mbanserver.JMXStartupService$JMXConnectorsStarterThread.startConnector(JMXStartupService.java:314)在org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.run(JMXStartupService.java:346)]]

如何修复?

我安装了Glassfish 5.1和Oracle jdk 8u241。比它起作用。

相关内容

  • 没有找到相关文章

最新更新