Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000824 [Resin] minor always 01-06-06 11:12 01-10-06 14:50
Reporter sam View Status public  
Assigned To
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.18 Product Version 3.0.15
  Product Build
Summary 0000824: IllegalStateException with CMP 2.1
Description (rep by C Amott)

That said, the logs that i generated for came from a setup in which we weren't doing any JTA stuff.

95% of the exceptions happened when trying to get a cmr one-to-many collections of child beans. eg. parent.getChildren() ....

14:40:15.202] Closing dangling connections. All connections must have a close() in a finally block.
[14:40:15.203] java.lang.IllegalStateException: unclosed connection: UserPoolItem[jdbc/webapp,48265] was allocated at
[14:40:15.203] at com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:112)
[14:40:15.203] at com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:118)
[14:40:15.203] at com.caucho.jca.PoolItem.toActive(PoolItem.java:256)
[14:40:15.203] at com.caucho.jca.ConnectionPool.allocateIdle(ConnectionPool.java:735)
[14:40:15.203] at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:654)
[14:40:15.203] at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:619)
[14:40:15.203] at com.caucho.jca.ConnectionPool.allocateConnection(ConnectionPool.java:516)
[14:40:15.203] at com.caucho.sql.DataSourceImpl.getConnection(DataSourceImpl.java:65)
[14:40:15.203] at com.caucho.sql.DBPool.getConnection(DBPool.java:593)
[14:40:15.203] at com.caucho.amber.connection.CacheConnectionImpl.getConnection(CacheConnectionImpl.java:306)
[14:40:15.203] at com.caucho.amber.connection.AmberConnectionImpl.prepareStatement(AmberConnectionImpl.java:696)
[14:40:15.203] at com.caucho.amber.query.UserQuery.executeQuery(UserQuery.java:354)
[14:40:15.203] at com.caucho.amber.query.UserQuery.executeQuery(UserQuery.java:320)
[14:40:15.203] at com.caucho.amber.query.UserQuery.list(UserQuery.java:461)
[14:40:15.203] at com.caucho.amber.collection.CollectionImpl.fill(CollectionImpl.java:166)
[14:40:15.203] at com.caucho.amber.collection.CollectionImpl.size(CollectionImpl.java:109)
[14:40:15.203] at java.util.ArrayList.<init>(ArrayList.java:133)
[14:40:15.203] at _ejb.companies.CompanyBean__EJB$Local.getSICClassifications(CompanyBean__EJB.java:1558)

And:

[14:40:03.523] Closing dangling connections. All connections must have a close() in a finally block.
[14:40:03.524] java.lang.IllegalStateException: unclosed connection: UserPoolItem[jdbc/webapp,47152] was allocated at
[14:40:03.524] at com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:112)
[14:40:03.524] at com.caucho.jca.UserPoolItem.<init>(UserPoolItem.java:118)
[14:40:03.524] at com.caucho.jca.PoolItem.toActive(PoolItem.java:256)
[14:40:03.524] at com.caucho.jca.ConnectionPool.allocateIdle(ConnectionPool.java:735)
[14:40:03.524] at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:654)
[14:40:03.524] at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:619)
[14:40:03.524] at com.caucho.jca.ConnectionPool.allocateConnection(ConnectionPool.java:516)
[14:40:03.524] at com.caucho.sql.DataSourceImpl.getConnection(DataSourceImpl.java:65)
[14:40:03.524] at com.caucho.sql.DBPool.getConnection(DBPool.java:593)
[14:40:03.524] at com.caucho.amber.connection.AmberConnectionImpl.getConnection(AmberConnectionImpl.java:666)
[14:40:03.524] at com.caucho.amber.connection.AmberConnectionImpl.prepareStatement(AmberConnectionImpl.java:696)
[14:40:03.524] at com.caucho.amber.query.UserQuery.executeQuery(UserQuery.java:354)
[14:40:03.524] at com.caucho.amber.query.UserQuery.executeQuery(UserQuery.java:320)
[14:40:03.524] at com.caucho.amber.query.UserQuery.list(UserQuery.java:461)
[14:40:03.524] at com.caucho.amber.collection.CollectionImpl.fill(CollectionImpl.java:166)
[14:40:03.524] at com.caucho.amber.collection.CollectionImpl.iterator(CollectionImpl.java:119)
Steps To Reproduce
Additional Information pushDepth() and popDepth()?
Attached Files

- Relationships

- Notes
(0000664)
ferg
01-10-06 14:50

ejb/0j21.

Entities were not properly detached at the end of a request causing state issues for subsequent requests.
 

- Issue History
Date Modified Username Field Change
01-06-06 11:12 sam New Issue
01-10-06 14:50 ferg Note Added: 0000664
01-10-06 14:50 ferg Status new => closed
01-10-06 14:50 ferg Resolution open => fixed
01-10-06 14:50 ferg Fixed in Version  => 3.0.18
09-04-06 01:06 freshsmile Issue Monitored: freshsmile
09-04-06 01:06 freshsmile Issue End Monitor: freshsmile


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