Mantis - Quercus
Viewing Issue Advanced Details
1749 major always 05-21-07 19:28 06-13-07 06:32
jbenton  
nam  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001749: IllegalStateException running mediawiki

Went through a successful install of

mediawiki-1.10.0

on

mysql-5.0.40
mysql-connector-java-5.0.6
resin-3.1.1

Copied LocalSettings.php to the root, and attempted to access the Main_Page. No data returned to the browser. Log includes the stack trace.
[20:36:49.738] Closing dangling connections. All connections must have a close() in a finally block.
[20:36:49.744] java.lang.IllegalStateException: unclosed connection: UserPoolItem[dbpool-1,27] was allocated at
[20:36:49.744] at com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:95)
[20:36:49.744] at com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:101)
[20:36:49.744] at com.caucho.jca.PoolItem.toActive(PoolItem.java:250)
[20:36:49.744] at com.caucho.jca.ConnectionPool.create(ConnectionPool.java:830)
[20:36:49.744] at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:688)
[20:36:49.744] at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:649)
[20:36:49.744] at com.caucho.jca.ConnectionPool.allocateConnection(ConnectionPool.java:516)
[20:36:49.744] at com.caucho.sql.DataSourceImpl.getConnection(DataSourceImpl.java:91)
[20:36:49.744] at com.caucho.sql.DBPool.getConnection(DBPool.java:667)
[20:36:49.744] at com.caucho.quercus.env.Env.getConnection(Env.java:588)
[20:36:49.744] at com.caucho.quercus.lib.db.Mysqli.connectInternal(Mysqli.java:141)
[20:36:49.744] at com.caucho.quercus.lib.db.Mysqli.<init>(Mysqli.java:94)
[20:36:49.744] at com.caucho.quercus.lib.db.MysqlModule.mysql_connect(MysqlModule.java:829)
[20:36:49.744] at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
[20:36:49.744] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[20:36:49.744] at java.lang.reflect.Method.invoke(Method.java:585)
[20:36:49.744] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105)
[20:36:49.744] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:614)
[20:36:49.744] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:487)
[20:36:49.744] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:473)
[20:36:49.744] at com.caucho.quercus.env.JavaInvoker.callCopy(JavaInvoker.java:482)
[20:36:49.744] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:178)
[20:36:49.744] at com.caucho.quercus.expr.FunctionExpr.evalCopy(FunctionExpr.java:149)
[20:36:49.744] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[20:36:49.744] at com.caucho.quercus.expr.SuppressErrorExpr.eval(SuppressErrorExpr.java:91)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.ForStatement.execute(ForStatement.java:68)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:598)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callNew(QuercusClass.java:384)
[20:36:49.744] at com.caucho.quercus.expr.VarNewExpr.eval(VarNewExpr.java:97)
[20:36:49.744] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[20:36:49.744] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:598)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[20:36:49.744] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[20:36:49.744] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:598)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:598)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.env.CallbackObjectMethod.call(CallbackObjectMethod.java:130)
[20:36:49.744] at com.caucho.quercus.lib.FunctionModule.call_user_func_array(FunctionModule.java:91)
[20:36:49.744] at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
[20:36:49.744] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[20:36:49.744] at java.lang.reflect.Method.invoke(Method.java:585)
[20:36:49.744] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105)
[20:36:49.744] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:614)
[20:36:49.744] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:487)
[20:36:49.744] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:473)
[20:36:49.744] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[20:36:49.744] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[20:36:49.744] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:598)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[20:36:49.744] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:394)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:600)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[20:36:49.744] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[20:36:49.744] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.callCopy(Function.java:269)
[20:36:49.744] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:178)
[20:36:49.744] at com.caucho.quercus.expr.FunctionExpr.evalCopy(FunctionExpr.java:149)
[20:36:49.744] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:598)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[20:36:49.744] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[20:36:49.744] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[20:36:49.744] at com.caucho.quercus.program.Function.call(Function.java:264)
[20:36:49.744] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[20:36:49.744] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:598)
[20:36:49.744] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[20:36:49.744] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[20:36:49.744] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[20:36:49.744] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[20:36:49.744] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[20:36:49.744] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[20:36:49.744] at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
[20:36:49.744] at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
[20:36:49.744] at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:115)
[20:36:49.744] at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:125)
[20:36:49.744] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:341)
[20:36:49.744] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
[20:36:49.744] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[20:36:49.744] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
[20:36:49.744] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
[20:36:49.744] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[20:36:49.744] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
[20:36:49.744] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
[20:36:49.744] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
[20:36:49.744] at java.lang.Thread.run(Thread.java:595)
[20:36:49.756] java.lang.IllegalStateException: Connection UserConnection[com.caucho.sql.ManagedConnectionImpl@13a95af] was not closed. Connections must have a close() in a finally block.
[20:36:49.756] at com.caucho.jca.UserTransactionImpl.abortTransaction(UserTransactionImpl.java:498)
[20:36:49.756] at com.caucho.jca.UserTransactionProxy.abortTransaction(UserTransactionProxy.java:182)
[20:36:49.756] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:195)
[20:36:49.756] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
[20:36:49.756] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[20:36:49.756] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
[20:36:49.756] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
[20:36:49.756] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
[20:36:49.756] at java.lang.Thread.run(Thread.java:595)



Notes
(0002039)
nam   
06-13-07 06:32   
php/1l0t

caused by http://bugs.caucho.com/view.php?id=1797 [^]