db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Strange behavior with security
Date Tue, 15 Jul 2008 00:09:09 GMT
I'm getting very strange errors when running with security. With the  
code checked into the main repository, running this:

maven -o -Djdo.tck.identitytypes=applicationidentity - 
Djdo.tck.security -Djdo.tck.cfglist=pm.conf runtck.jdori

results in tons of errors.

Any ideas? The error would indicate that JDOImplHelper is not in the  
classpath; yet it's in the same jar file as JDOHelper.

Craig

     [java] RUN  
ChangingObjectIdHasNoEffectOnInstance 
.testChangingObjectIdHasNoEffectOnInstance	   ERROR
     [java] RUN ConcurrentPersistenceManagers.test	   ERROR
     [java] RUN ConcurrentPersistenceManagersSameClasses.test	   ERROR
     [java] RUN CurrentTransaction.testCurrentTransaction	   ERROR


     [java] There were 154 errors:
     [java] 1)  
testChangingObjectIdHasNoEffectOnInstance 
(org 
.apache 
.jdo 
.tck 
.api 
.persistencemanager 
.ChangingObjectIdHasNoEffectOnInstance)java.lang.NoClassDefFoundError
     [java] 	at javax.jdo.JDOHelper$1.run(JDOHelper.java:176)
     [java] 	at java.security.AccessController.doPrivileged(Native  
Method)
     [java] 	at javax.jdo.JDOHelper.<clinit>(JDOHelper.java:172)
     [java] 	at org.apache.jdo.tck.JDO_Test.getPMF(JDO_Test.java:480)
     [java] 	at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:241)
     [java] 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:258)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
     [java] 2)  
test 
(org 
.apache 
.jdo 
.tck 
.api 
.persistencemanager 
.ConcurrentPersistenceManagers)java.lang.NoClassDefFoundError
     [java] 	at org.apache.jdo.tck.JDO_Test.getPMF(JDO_Test.java:480)
     [java] 	at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:241)
     [java] 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:258)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
     [java] 3)  
test 
(org 
.apache 
.jdo 
.tck 
.api 
.persistencemanager 
.ConcurrentPersistenceManagersSameClasses)java.lang.NoClassDefFoundError
     [java] 	at org.apache.jdo.tck.JDO_Test.getPMF(JDO_Test.java:480)
     [java] 	at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:241)
     [java] 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:258)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
     [java] 	at  
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)

Craig L 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
View raw message