(0006753)
wileysaw
05-22-17 07:13
edited on: 05-22-17 07:15
|
Configure two resin servers on resin.xml like below.
<server id='a' address='192.168.0.11' port="26801"/>
<server id='b' address='192.168.0.11' port="26802"/>
If I shutdown one resin server from the two resin servers.
The other resin-admin works well.
The resin-admin doesn't work with "The server is temporarily unavailable due to an internal error.." message.
[resin log]
[16:19:51.681] [resin-port-28011-57] INFO com.caucho.quercus.servlet.QuercusServlet - QuercusServlet starting as ProResinQuercusServlet
[16:19:51.959] [resin-port-28011-57] INFO com.caucho.quercus.servlet.QuercusServlet - Quercus finished initialization in 281ms
[16:19:53.640] [resin-port-28011-57] WARNING com.caucho.server.webapp.ErrorPageManager - java.lang.NullPointerException
at com.caucho.quercus.program.JavaClassDef.getField(JavaClassDef.java:498)
at com.caucho.quercus.env.JavaAdapter.getField(JavaAdapter.java:696)
at com.caucho.quercus.expr.ObjectFieldExpr.eval(ObjectFieldExpr.java:96)
at com.caucho.quercus.expr.AbstractVarExpr.evalCopy(AbstractVarExpr.java:174)
at com.caucho.quercus.expr.Expr.evalAssignValue(Expr.java:583)
at com.caucho.quercus.expr.BinaryAssignExpr.eval(BinaryAssignExpr.java:88)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:538)
at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.statement.ForeachStatement.execute(ForeachStatement.java:103)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.statement.ForeachStatement.execute(ForeachStatement.java:103)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.statement.ForeachStatement.execute(ForeachStatement.java:103)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Function.java:420)
at com.caucho.quercus.program.Function.call(Function.java:327)
at com.caucho.quercus.expr.CallExpr.evalImpl(CallExpr.java:229)
at com.caucho.quercus.expr.CallExpr.eval(CallExpr.java:141)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:538)
at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Function.java:420)
at com.caucho.quercus.program.Function.call(Function.java:327)
at com.caucho.quercus.expr.CallExpr.evalImpl(CallExpr.java:229)
at com.caucho.quercus.expr.CallExpr.eval(CallExpr.java:141)
at com.caucho.quercus.expr.Expr.evalValue(Expr.java:484)
at com.caucho.quercus.statement.ReturnStatement.execute(ReturnStatement.java:69)
at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:87)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Function.java:420)
at com.caucho.quercus.program.Function.call(Function.java:327)
at com.caucho.quercus.expr.CallExpr.evalImpl(CallExpr.java:229)
at com.caucho.quercus.expr.CallExpr.eval(CallExpr.java:141)
at com.caucho.quercus.expr.Expr.evalBoolean(Expr.java:772)
at com.caucho.quercus.expr.UnaryNotExpr.evalBoolean(UnaryNotExpr.java:72)
at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:83)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:417)
at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:90)
at com.caucho.quercus.env.Env.executePage(Env.java:4312)
at com.caucho.quercus.env.Env.include(Env.java:5920)
at com.caucho.quercus.env.Env.includeOnce(Env.java:5873)
at com.caucho.quercus.expr.FunIncludeOnceExpr.eval(FunIncludeOnceExpr.java:92)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:538)
at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:87)
at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:417)
at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:90)
at com.caucho.quercus.env.Env.executePageTop(Env.java:4323)
at com.caucho.quercus.env.Env.executeTop(Env.java:4268)
at com.caucho.quercus.servlet.QuercusServletImpl.service(QuercusServletImpl.java:212)
at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:606)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:97)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:132)
at com.caucho.server.httpcache.ProxyCacheFilterChain.doRequestCacheable(ProxyCacheFilterChain.java:252)
at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:193)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838)
at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1353)
at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1309)
at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1293)
at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1201)
at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:997)
at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
|