Hi, 
 
we are in the middle of developing a small application using the jdo api on
ojb. The 
tutorials are running fine, now we wanna setup our own app. By compiling our
application, 
we get the following error: 
 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
[JDO] DEBUG: OjbStoreConnector.begin: connectionReadyForRelease=false 
javax.jdo.JDOUserException: Class given to getExtent does not implement 
javax.jdo.spi.PersistenceCapable 
        at com.sun.jdori.common.PersistenceManagerImpl.getExtent(Unknown
Source) 
        at com.sun.jdori.common.query.QueryImpl.checkCandidates(Unknown
Source) 
        at com.sun.jdori.common.query.QueryImpl.execute(Unknown Source) 
        at test.TestApp.run(TestApp.java:57) 
        at test.TestApp.main(TestApp.java:25) 
Exception in thread "main" javax.jdo.JDOUserException: Cannot close 
PersistenceManager while transaction is still active. 
        at com.sun.jdori.common.PersistenceManagerImpl.close(Unknown Source)

        at
com.sun.jdori.common.PersistenceManagerImpl.popCurrentWrapper(Unknown 
Source) 
        at com.sun.jdori.common.PersistenceManagerWrapper.close(Unknown
Source) 
        at test.TestApp.run(TestApp.java:76) 
        at test.TestApp.main(TestApp.java:25) 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
 
Our persistent class is HJSTest. We applied the HSJTest.jdo to our
Userclass. The 
following files are located In our project directory: 
 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
HSJTest.jdo 
OJB.properties 
TestApp.class 
TestApp.sh 
Test_ClassDescriptor.xml 
Test_ConnectionDescriptor.xml 
Test_Repository.xml 
cache.ccf 
commons-logging.properties 
jdo.dtd 
log4j.properties 
repository.dtd 
repository.xml 
repository_database.xml 
repository_ejb.xml 
repository_internal.xml 
repository_jdo.xml 
repository_junit.xml 
repository_user.xml 
simplelog.properties 
spy.properties 
test/ 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
 
Our source code including compiled files are located in the test/ directory.

 
 
We believe, that there is a problem with the Enhancer, adding the
PersistenceCapable - 
Interface to our Class. Can anybody help us on that sibject? 
 
Thx, 
Jing, Holger, Sebastian 

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net



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

Reply via email to