db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Multithreaded query test fails
Date Thu, 09 Jun 2005 01:12:29 GMT
Hi Michael,

Could you take a look at this test failure? There is nothing obvious  
in the test. It's a tricky test and I couldn't tell  you if it is valid.

Thanks,

Craig

11) test 
(org.apache.jdo.tck.query.ExecutingMultipleQueriesSimultaneouslyIsThread 
Safe)junit.framework.AssertionFailedError: Assertion A14.3-2  
(ExecutingMultipleQueriesSimultaneouslyIsThreadSafe) failed:
     [java] Thread Thread[ThreadID-3,5,]: uncaught exception  
org.jpox.exceptions.TransactionNotActiveException: Transaction is not  
active. You either need to define a transaction around this, or run  
your PersistenceManagerFactory with 'NontransactionalRead' set to 'true'
     [java]      at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:510)
     [java]      at  
org.apache.jdo.tck.query.ExecutingMultipleQueriesSimultaneouslyIsThreadS 
afe.executeMultipleQueries 
(ExecutingMultipleQueriesSimultaneouslyIsThreadSafe.java:123)
     [java]      at  
org.apache.jdo.tck.query.ExecutingMultipleQueriesSimultaneouslyIsThreadS 
afe.test(ExecutingMultipleQueriesSimultaneouslyIsThreadSafe.java:70)
     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0 
(Native Method)
     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
     [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java: 
181)
     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start 
(BatchTestRunner.java:112)
     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main 
(BatchTestRunner.java:90)

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message