Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006043 [Resin] minor always 03-20-17 12:12 01-22-18 11:00
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0006043: dynamic host issue with resin-admin
Description (rep by Shinomiya Nobuaki)

[Environment]
Resin Version : 4.0.49

We have a clustered environment which consist of 5 servers(triad and dynamic).

 APserver1&65288;app-0&65289;
 APserver2&65288;app-1&65289;
 APserver3&65288;app-2&65289;
 APserver4&65288;dyn-0&65289;
 APserver5&65288;dyn-1&65289;

The following configurations are made on all servers.

 * remote_admin_enable : true

 * web_admin_external : true


[Issue]

When login to the resin-admin of app-0/app-1/app-2 and access from the drop-down menu at the upper left to refer to each server info,
it shows all server info correctly.

Whereas the resin-admin of dyn-0/dyn-1, the following issue occurs :

* resin-admin site of dyn-0 cannot refer to dyn-1's server info with the message "Can not contact dyn-1"

* resin-admin site of dyn-1 cannot refer to dyn-0's server info with the message "Can not contact dyn-0"
Additional Information
Attached Files

- Relationships

- Notes
(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)

 
(0006785)
ferg
08-25-17 14:51

Hessian whitelist issue with javax.management.ObjectName
 

- Issue History
Date Modified Username Field Change
03-20-17 12:12 ferg New Issue
05-22-17 07:13 wileysaw Note Added: 0006753
05-22-17 07:15 wileysaw Note Edited: 0006753
08-25-17 14:51 ferg Note Added: 0006785
08-25-17 14:51 ferg Assigned To  => ferg
08-25-17 14:51 ferg Status new => closed
08-25-17 14:51 ferg Resolution open => fixed
08-25-17 14:51 ferg Fixed in Version  => 4.0.54
01-18-18 11:51 wileysaw Status closed => assigned
01-22-18 11:00 ferg Status assigned => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker