Bugs item #1051812, was opened at 2004-10-21 15:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1051812&group_id=22866
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Benoit Menendez (bmenendez)
Assigned to: Nobody/Anonymous (nobody)
Summary: Statement Cache Bug
Initial Comment:
Running JBoss 4.0.0, I have a datasource with:
<prepared-statement-cache-size>32</prepared-statement-cache-size>
I get the following exception:
2004-10-21 14:57:25,987 ERROR
[org.jboss.web.localhost.Engine]
StandardWrapperValve[ProInsight Servlet]:
Servlet.service() for servlet ProInsight Servlet threw
exception
java.lang.NullPointerException
at
org.jboss.resource.adapter.jdbc.PreparedStatementCache.ageOut(PreparedStatementCache.java:37)
at
org.jboss.util.LRUCachePolicy$LRUList.demote(LRUCachePolicy.java:346)
at
org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:162)
at
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:348)
at
org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:205)
at
com.proinsight.jdbc.proxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:48)
at com.proinsight.jdbc.JDBCUtil.prepare(JDBCUtil.java:316)
at
com.proinsight.jdbc.JDBCDataSource.select(JDBCDataSource.java:138)
at
com.proinsight.jdbc.JDBCDataSource.select(JDBCDataSource.java:121)
at
com.proinsight.objects.ObjectDataSource.select(ObjectDataSource.java:103)
This does not occur with JBoss 3.2.6 and does not occur
if disable the statement cache in JBoss 4.0.0
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1051812&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development