Hi,
I have a problem and I don't understand what append.
I work with WSAD 4.0, Oracle 8i and castor 0.9.3.9 .
I develop an web application that read and create objects in database.
All is ok if I run this with one or several user in a real time.
I try to test my web application with Opensta.
I store a scenario, and do an iteration on it.
I reduct "wait" to have intensives tests.
All is ok if I run ONE scenario.
But, if I run SEVERAL scenarios ( concurrent access ) , I have some Exception, that append randomly :
org.exolab.castor.jdo.TransactionNotInProgressException: This database is closed
at org.exolab.castor.jdo.engine.DatabaseImpl.getTransaction(DatabaseImpl.java:464)
at org.exolab.castor.jdo.engine.DatabaseImpl.load(DatabaseImpl.java:269)
at org.exolab.castor.jdo.engine.DatabaseImpl.load(DatabaseImpl.java:287)
at fr.cmc.umm.entreprise.typologieappel.MotifContactService.getFicheMotif(MotifContactService.java:236)
.....
OR
java.lang.NullPointerException
at org.exolab.castor.jdo.engine.DatabaseImpl.getLockEngine(DatabaseImpl.java:196)
at org.exolab.castor.jdo.engine.OQLQueryImpl.create(OQLQueryImpl.java:270)
at org.exolab.castor.jdo.engine.DatabaseImpl.getOQLQuery(DatabaseImpl.java:439)
at fr.cmc.umm.entreprise.typologieappel.MotifContactService.getListeMotifActif(MotifContactService.java:314)
.....
OR
org.exolab.castor.jdo.TransactionNotInProgressException: No transaction in progress for the current thread
at org.exolab.castor.jdo.engine.DatabaseImpl.getTransaction(DatabaseImpl.java:467)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:458)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:405)
at fr.cmc.umm.entreprise.typologieappel.SousMotifContactService.getListeSousMotifActif(SousMotifContactService.java:396)
....
Someone has an idea ?
thanks a lot.
Sylvie
Disclaimer
This communication together with any attachments transmitted with it ('this E-mail') is intended only for the use of the addressee and may contain information which is privileged and confidential. If the reader of this E-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are notified that any use of this E-mail is prohibited. Addressees should ensure this E-mail is checked for viruses. The Carphone Warehouse Group PLC makes no representations as regards the absence of viruses in this E-mail. If you have received this E-mail in error please notify our ISe Response Team immediately by telephone on + 44 (0)20 8896 5828 or via E-mail at [EMAIL PROTECTED] Please then immediately destroy this E-mail and any copies of it.
Please feel free to visit our website:
UK
http://www.carphonewarehouse.com
Group
http://www.phonehouse.com
