Here is the full stack track.

[17:34:37.747] {http--8080-1} Closing dangling connections.  All 
connections must have a close() in a finally block.
[17:34:37.762] {http--8080-1} java.lang.IllegalStateException: 
Connection UserConnection[ManagedConnectionImpl[jdbc/LattaPhorumDS.0]] 
was not closed. Connections must have a close() in a finally block.
[17:34:37.762] {http--8080-1}   at 
com.caucho.jca.UserTransactionImpl.abortTransaction(UserTransactionImpl.java:532)
[17:34:37.762] {http--8080-1}   at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:208)
[17:34:37.762] {http--8080-1}   at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
[17:34:37.762] {http--8080-1}   at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:269)
[17:34:37.762] {http--8080-1}   at 
com.caucho.server.port.TcpConnection.run(TcpConnection.java:603)
[17:34:37.762] {http--8080-1}   at 
com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[17:34:37.762] {http--8080-1}   at 
com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[17:34:37.762] {http--8080-1}   at java.lang.Thread.run(Thread.java:619)


Matt

Scott Ferguson wrote:
> On Mar 19, 2008, at 7:07 PM, Matt Johnston wrote:
> 
>> I am trying to use quercus to run phorum. I put my phorum installation
>> into my war and tried to run it. When I try to run any pages, I get an
>> error:
>>
>> Closing dangling connections.  All connections must have a close()  
>> in a
>> finally block.
>> [21:00:28.114] {http--8080-7} java.lang.IllegalStateException:  
>> unclosed
>> connection:
>> UserPoolItem[jdbc:mysql://localhost:3306/? 
>> characterEncoding=ISO8859_1-0,7]
>> was allocated at
>> [21:00:28.114] {http--8080-7}        at
>> com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:95)
>> [21:00:28.114] {http--8080-7}        at
>> com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:101)
>> [21:00:28.114] {http--8080-7}        at
>> com.caucho.jca.PoolItem.toActive(PoolItem.java:249)
>> [21:00:28.114] {http--8080-7}        at
>> com.caucho.jca.ConnectionPool.create(ConnectionPool.java:922)
>> [21:00:28.114] {http--8080-7}        at
>> com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:780)
> 
> Can you add more of the stack trace?  That will show where it's  
> getting allocated from.
> 
> The Quercus code should never throw that exception, because we should  
> always close the connection at the end of the request.
> 
> -- Scott
> 
>>
>>
>> Is there any way to tell what php code is causing this problem? Did I
>> not setup something right? I defined the datasource in my web.xml
>>
>> <servlet-mapping url-pattern="*.php"
>>
>> servlet-class="com.caucho.quercus.servlet.QuercusServlet">
>>                     <init>
>>       <database>java:comp/env/jdbc/LattaPhorumDS</database>
>>     </init>
>>    </servlet-mapping>
>>
>>
>>
>> -- 
>>
>> Matt Johnston
>> http://www.lattaoutdoors.com
>> http://www.gearapalooza.com
>>
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 


-- 

Matt Johnston
http://www.lattaoutdoors.com
http://www.gearapalooza.com


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to