Mantis - Resin
Viewing Issue Advanced Details
2719 major sometimes 06-06-08 11:05 06-12-08 17:20
paulberto  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.0  
0002719: Resin stops working after this error
Using latest snapshot --- on a loaded system, getting the following error:

[20:34:59.439] java.util.ConcurrentModificationException
[20:34:59.439] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
[20:34:59.439] at java.util.HashMap$ValueIterator.next(HashMap.java:822)
[20:34:59.439] at com.caucho.quercus.module.ModuleContext.getJavaClassDefinition(ModuleContext.java:269)
[20:34:59.439] at com.caucho.quercus.program.JavaClassDef.initInterfaceList(JavaClassDef.java:797)
[20:34:59.439] at com.caucho.quercus.program.JavaClassDef.init(JavaClassDef.java:780)
[20:34:59.439] at com.caucho.quercus.program.JavaClassDef.wrap(JavaClassDef.java:284)
[20:34:59.439] at com.caucho.quercus.env.Env.wrapJava(Env.java:3283)
[20:34:59.439] at com.caucho.quercus.function.JavaMarshal.unmarshal(JavaMarshal.java:103)
[20:34:59.439] at com.caucho.quercus.env.JavaInvoker.callMethod(JavaInvoker.java:606)
[20:34:59.439] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:539)
[20:34:59.439] at com.caucho.quercus.env.AbstractJavaMethod.callCopy(AbstractJavaMethod.java:91)
[20:34:59.439] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[20:34:59.439] at com.caucho.quercus.expr.FunctionExpr.evalCopy(FunctionExpr.java:150)
[20:34:59.439] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:86)
[20:34:59.439] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:34:59.439] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
[20:34:59.439] at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:272)
[20:34:59.439] at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:70)
[20:34:59.439] at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
[20:34:59.439] at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:149)
[20:34:59.439] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:355)
[20:34:59.439] at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
[20:34:59.439] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[20:34:59.439] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:194)
[20:34:59.439] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
[20:34:59.439] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
[20:34:59.439] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:270)
[20:34:59.439] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
[20:34:59.439] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[20:34:59.439] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[20:34:59.439] at java.lang.Thread.run(Thread.java:619)


After which GET calls cease working -- they just hang forever ...

Requires that i restart resin forcefully.


I beleive it has to do with loading a quercus java module..

Notes
(0003192)
ferg   
06-12-08 17:20   
Missing sync in ModuleContext, although the stack trace in the bug report does not match with the 3.1.6 code, so there may be an older Quercus version.