db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg von Frantzius <joerg.von.frantz...@artnology.com>
Subject Re: Missing JPOX "implementation creator"
Date Tue, 25 Apr 2006 12:45:24 GMT
Thanks Michelle and Erik for your answers. I simply dropped the 
jpox-enhancer-SNAPSHOT.jar into iut_jars, and now it works. It's just 
the CompletenessTest failing once per kind of identity now, and I guess 
that's as currently expected.

Just wondering a bit whether the tck20 project shouldn't claim the 
jpox-enhancer-SNAPSHOT.jar as a maven dependency?

Regards,
Jörg

Michelle Caisse schrieb:
> Hi Jörg ,
>
> I think you just need to drop the jpox enhancer jar file into the 
> iut_jars directory of your tck installation, or otherwise get it onto 
> your classpath.
>
> -- Michelle
>
> Jörg von Frantzius wrote:
>
>> Hi,
>>
>> when I run the tests, I see the following error. Is there anything I 
>> can do about this myself per chance?
>>
>> Thanks for even more hints,
>> Jörg
>>
>>
>>     1)
>>     
>> test(org.apache.jdo.tck.models.fieldtypes.TestArrayCollections)javax.jdo.JDOFatalException:

>>
>>     The JPOX "implementation creator" was not found in the CLASSPATH.
>>     To use PersistenceManager.newInstance() you need to have the JPOX
>>      Enhancer in the CLASSPATH.
>>             at
>>     org.jpox.PMFContext.getImplementationCreator(PMFContext.java:90)
>>             at
>>     
>> org.jpox.store.rdbms.table.ColumnCreator.createColumnsForReferenceField(ColumnCreator.java:288)

>>
>>             at
>>     
>> org.jpox.store.rdbms.table.ColumnCreator.createColumnsForField(ColumnCreator.java:411)

>>
>>             at
>>     
>> org.jpox.store.rdbms.table.ColumnCreator.createColumnsForJoinTables(ColumnCreator.java:145)

>>
>>             at
>>     org.jpox.store.rdbms.table.ArrayTable.initialize(ArrayTable.java:93)
>>             at
>>     
>> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2613)

>>
>>             at
>>     
>> org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2225)
>>             at
>>     
>> org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2081)

>>
>>             at
>>     org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:576)
>>             at
>>     org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:590)
>>             at
>>     org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:983)
>>             at
>>     
>> org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:770)

>>
>>             at
>>     org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:575)
>>             at
>>     
>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1149)

>>
>>             at
>>     
>> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1205)

>>
>>             at
>>     
>> org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.runTest(TestArrayCollections.java:97)

>>
>>             at
>>     
>> org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.test(TestArrayCollections.java:73)

>>
>>             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>> Method)
>>             at
>>     
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>>             at
>>     
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>>
>>             at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:237)
>>             at
>>     
>> org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107)
>>             at
>>     
>> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147)
>>             at
>>     
>> org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122)
>>     NestedThrowablesStackTrace:
>>     java.lang.ClassNotFoundException:
>>     org.jpox.enhancer.ImplementationCreatorImpl
>>             at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>             at java.security.AccessController.doPrivileged(Native 
>> Method)
>>             at 
>> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>             at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>             at
>>     sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>>             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>             at
>>     java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>             at java.lang.Class.forName0(Native Method)
>>             at java.lang.Class.forName(Class.java:242)
>>             at
>>     org.jpox.PMFContext.getImplementationCreator(PMFContext.java:77)
>>             at
>>     
>> org.jpox.store.rdbms.table.ColumnCreator.createColumnsForReferenceField(ColumnCreator.java:288)

>>
>>             at
>>     
>> org.jpox.store.rdbms.table.ColumnCreator.createColumnsForField(ColumnCreator.java:411)

>>
>>             at
>>     
>> org.jpox.store.rdbms.table.ColumnCreator.createColumnsForJoinTables(ColumnCreator.java:145)

>>
>>             at
>>     org.jpox.store.rdbms.table.ArrayTable.initialize(ArrayTable.java:93)
>>             at
>>     
>> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2613)

>>
>>             at
>>     
>> org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2225)
>>             at
>>     
>> org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2081)

>>
>>             at
>>     org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:576)
>>             at
>>     org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:590)
>>             at
>>     org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:983)
>>             at
>>     
>> org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:770)

>>
>>             at
>>     org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:575)
>>             at
>>     
>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1149)

>>
>>             at
>>     
>> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1205)

>>
>>             at
>>     
>> org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.runTest(TestArrayCollections.java:97)

>>
>>             at
>>     
>> org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.test(TestArrayCollections.java:73)

>>
>>             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>> Method)
>>             at
>>     
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>>             at
>>     
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>>
>>             at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:237)
>>             at
>>     
>> org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107)
>>             at
>>     
>> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147)
>>             at
>>     
>> org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122)
>>
>
>


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