Le 27 oct. 04, � 08:14, Sunil Sheshadri a �crit :

Hi,
We have developed a portal application that is built on Jetspeed Framework.
Our application has huge user database (10000 users) and because of this we
were doing a reliability testing of the application with 200 simultaneous
users.


After 5 hrs of test, the application gives the below error saying that
Torque could not get connection from DB. Any idea what could be the problem?
Why are we getting this error after 5 hrs of application running
successfully?


2004 21:52:05 ERROR] -
java.lang.NullPointerException: Connection object was null. This could be
due to a misconfiguration of the DataSourceFactory. Check the logs and
Torque.properties to better determine the cause.
at org.apache.torque.util.Transaction.rollback(Transaction.java:179)
at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1333)
at


My guess is that you've just found a race condition in the Torque/Village/Turbine library or a bug in
the underlying JVM.


I've not checked the code yet, but it would help if you could also log the grabage collector
activity while you profile your portal. Maybe this bug arises because the Connection object is
incorrectly garbage collected either becasue there's a time window for the GC where the connection
object is not referenced anywhere.


--
Rapha�l Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to