这就是我想要做的事情: 我在我的覆盆子pi 3上有一个glassfish安装,我想用作netbeans的远程域。 我知道我需要这个DAS。 当我尝试通过xxx.xxx.xxx.xxx:4848在webbrowser上进入管理控制台并在控制台中输入我的凭据时出现此错误: admin console error 现在我已经读过我需要启用安全管理员才能使用以下命令访问具有远程主机的控制台:
start-domain
enable-secure-admin
<< enter username and password >>
stop-domain
start-domain
之后我再也无法访问管理控制台了,我得到以下错误: error after changing secure admin
编辑: 在server.log中我收到此错误:
[2017-03-09T00:18:13.870+0100] [glassfish 5.0] [WARNING] [] [org.glassfish.grizzly.filterchain.DefaultFilterChain] [tid: _ThreadID=46 _ThreadName=admin-listener(1)] [timeMillis: 1489015093870] [levelValue: 900] [[
GRIZZLY0013: Exception during FilterChain execution
java.lang.NullPointerException
at org.glassfish.grizzly.portunif.BackChannelFilter.handleWrite(BackChannelFilter.java:111)
at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.write(DefaultFilterChain.java:397)
at org.glassfish.grizzly.http2.Http2ConnectionOutputSink.writeDownStream(Http2ConnectionOutputSink.java:144)
at org.glassfish.grizzly.http2.Http2ConnectionOutputSink.writeDataDownStream(Http2ConnectionOutputSink.java:200)
at org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink(DefaultOutputSink.java:609)
at org.glassfish.grizzly.http2.DefaultOutputSink.writeEmptyFin(DefaultOutputSink.java:675)
at org.glassfish.grizzly.http2.DefaultOutputSink.close(DefaultOutputSink.java:627)
at org.glassfish.grizzly.http2.Http2Stream.onProcessingComplete(Http2Stream.java:466)
at org.glassfish.grizzly.http2.Http2ServerFilter.handleEvent(Http2ServerFilter.java:569)
at org.glassfish.grizzly.filterchain.ExecutorResolver$6.execute(ExecutorResolver.java:94)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.filterchain.FilterChainContext.notifyDownstream(FilterChainContext.java:952)
at org.glassfish.grizzly.filterchain.FilterChainContext.notifyDownstream(FilterChainContext.java:934)
at org.glassfish.grizzly.http.io.OutputBuffer.endRequest(OutputBuffer.java:397)
at org.glassfish.grizzly.http.server.Response.finish(Response.java:516)
at org.glassfish.grizzly.http.server.HttpServerFilter.afterService(HttpServerFilter.java:384)
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:290)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.filterchain.FilterChainContext$1.run(FilterChainContext.java:202)
at org.glassfish.grizzly.filterchain.FilterChainContext.resume(FilterChainContext.java:226)
at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:242)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
at java.lang.Thread.run(Unknown Source)
]]
答案 0 :(得分:2)
因此,经过几个小时的尝试,我找到了解决问题的方法。 最新版本的glassfish(每晚v 5.0)被窃听。较旧版本的glassfish(v 4.1.2)工作正常。