JDOUserException: Object not PersistenceCapable

2004-01-03 Thread Eric Rich
I had this problem solved once but it came back again. I'm trying to use OJB/Woody. I made sure there is only one instance of my classes in the classpath (they're in cocoon/WEB-INF/classes/...). I enhanced the classes using com.sun.jdori.enhancer.Main. Is there something I'm missing here? I

Re: JDOUserException: Object not PersistenceCapable

2004-01-03 Thread Antonio Gallardo
Hi Eric: Wat version of JDO are you using? The OJB block now uses JDO 1.01 Hope this help. Best Regards, Antonio Gallardo Eric Rich dijo: > I had this problem solved once but it came back again. I'm trying to > use OJB/Woody. > > I made sure there is only one instance of my classes in the cla

Re: JDOUserException: Object not PersistenceCapable

2004-01-04 Thread Stefan Klein
Eric, Is the class listed in your repository.xml and the repository.xml lies somewhere in the classpath? AFAIK, OJB raises ObjectNotPersistenceCapable in two cases: 1. The class hasn't been enhanced (which can't be it in your case) 2. No description of the class can be found in repository.xml Ste

Re: JDOUserException: Object not PersistenceCapable

2004-01-04 Thread Antonio Gallardo
Stefan Klein dijo: > Eric, > > Is the class listed in your repository.xml and the repository.xml lies > somewhere in the classpath? AFAIK, OJB raises ObjectNotPersistenceCapable > in two cases: > 1. The class hasn't been enhanced (which can't be it in your case) >From my own experience: While usin

Re: JDOUserException: Object not PersistenceCapable

2004-01-05 Thread Eric Rich
Sure enough.. had a stale JDO in the classpath. Thanks! I'm getting a java.lang.NoClassDefFoundError: com/sun/jdori/model/jdo/JDOModelException error now. I think this is from cleaning up my classpath (no more castor). Downloading JTA to rebuild JDORI. Seems like the binary release is miss

Re: JDOUserException: Object not PersistenceCapable

2004-01-05 Thread Antonio Gallardo
Eric Rich dijo: > Sure enough.. had a stale JDO in the classpath. Thanks! I'm getting a > java.lang.NoClassDefFoundError: > com/sun/jdori/model/jdo/JDOModelException error now. I think this is > from cleaning up my classpath (no more castor). Downloading JTA to > rebuild JDORI. Seems like the

Re: JDOUserException: Object not PersistenceCapable

2004-01-06 Thread Eric Rich
Just need JTA (and JNDI and RMI Registry Service Provider) to compile JDORI. From what I can tell, the JDORI 1.0.1 binary release is missing the JDOModelException class. I now have a JDOModelException.class file and eliminated that problem. Thanks for your help! Antonio Gallardo wrote: Eric