ok, after a thorough search I found the problem. Yes, it is all due to my own ignorance and it now works! It was a classpath problem where I had unknowingly defined it differently in a couple places.
Thank you all for your help. I really appreciate it and it got me to focus on the right place. Andrea --- Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote: > Andrea- > > Also, can you send the complete error and stack > trace that you are > seeing? That might help shed light on the cause of > the problem. > > > > On Jun 13, 2007, at 9:19 PM, Michael Dick wrote: > > > The code relating to jdo was removed from OpenJPA > about a year ago > > which is > > why it's odd that you're getting the error. > > > > To put it another way, if only OpenJPA classes are > on the classpath > > you > > shouldn't need to set the jdoEnhance flag at all. > That's why > > Patrick and I > > were asking whether you have Kodo jars on the > classpath. There's no > > jdo > > related code in OpenJPA (except for a few > misleading messages) so > > it seems > > likely that you're picking up Kodo in the path at > some point. > > > > I don't know how the Oracle JDBC driver could > introduce the problem > > with > > JDO. Could you provide the classpath that you're > using to run the > > ant task? > > Maybe something will jump out at me. > > > > -Mike > > > > On 6/12/07, os_developer <[EMAIL PROTECTED]> > wrote: > >> > >> Mike, > >> > >> This question is a follow-on from a previous post > >> actually. My objective is to enhance the code at > >> build-time but when I include the oracle database > >> driver jar, I get an exception relating to > missing > >> class definitions for jdo. If I use pointbase, I > >> don't get these exceptions and the enhancement > works > >> fine now. > >> > >> If that option is not supported in openjpac, I'm > >> wondering now if I am obligated to use jdo if I > want > >> to use Oracle or if there is something else I can > do > >> for build-time enhancement. Do you know anything > >> about Oracle and openjpa dependencies? > >> > >> Andrea > >> > >> > >> --- Michael Dick <[EMAIL PROTECTED]> > wrote: > >> > >> > Hi Andrea, > >> > > >> > I believe the jdoEnhance flag only works with > the > >> > kodoc task. I took a quick > >> > look through the OpenJPA code and it looks like > it > >> > was removed as a > >> > configuration option from the ant task. > >> > > >> > It's odd that you're able to get the > ClassNotFound > >> > error with just openjpac > >> > though. Could you post the stack trace from > the > >> > exception, and your > >> > classpath? In your previous email you mentioned > that > >> > you're using WebLogic, > >> > but just want to use the OpenJPA portion of it. > >> > Maybe something funny is > >> > going on with the classpath and you're > >> > unintentionally using Kodoc. > >> > > >> > Regards, > >> > Mike > >> > > >> > On 6/12/07, os_developer > <[EMAIL PROTECTED]> > >> > wrote: > >> > > > >> > > Mike, > >> > > > >> > > Thanks. I'm trying to use openjpac with > >> > > jdoEnhance=false. I don't know how to use any > of > >> > the > >> > > flags except setting the properties file. I > know > >> > how > >> > > to do it using the kodoc tag but the same > method > >> > > doesn't work with openjpac. > >> > > > >> > > Andrea > >> > > > >> > > > >> > > --- Michael Dick <[EMAIL PROTECTED]> > wrote: > >> > > > >> > > > Specifically which flags are you trying to > use? > >> > > > > >> > > > The common configuration options are > covered in > >> > the > >> > > > manual, so I'm guessing > >> > > > those aren't the ones that you want. I > haven't > >> > used > >> > > > the ant tasks much, but > >> > > > if you let me know what you're looking for > I'll > >> > try > >> > > > to help. > >> > > > > >> > > > -mike > >> > > > > >> > > > > >> > > > On 6/11/07, os_developer > >> > <[EMAIL PROTECTED]> > >> > > > wrote: > >> > > > > > >> > > > > I've got another newbie question... > >> > > > > > >> > > > > Where can I find a specification on the > >> > details of > >> > > > how > >> > > > > to use the various openjpa ant tasks? > >> > > > > > >> > > > > I'm having trouble configuring the ant > tasks. > >> > I > >> > > > am > >> > > > > able to use the command-line versions > using > >> > the > >> > > > > various flags, but I have been > unsuccessful > >> > > > attempting > >> > > > > to use the same flags for the tasks > within an > >> > ant > >> > > > > build file. I can't seem to find details > on > >> > the > >> > > > > schema for the tasks. I've been looking > at > >> > the > >> > > > PDF > >> > > > > version of the openjpa manual. > >> > > > > > >> > > > > Thanks, in advance, for any help you can > >> > offer. > >> > > > > > >> > > > > Andrea > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > > >> > > >> > >> > _____________________________________________________________________ > > >> _______________Ready > >> > > > > for the edge of your seat? > >> > > > > Check out tonight's top picks on Yahoo! > TV. > >> > > > > http://tv.yahoo.com/ > >> > > > > > >> > > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > >> > >> > _____________________________________________________________________ > > >> _______________ > >> > > Get the Yahoo! toolbar and be alerted to new > email > >> > wherever you're > >> > > surfing. > >> > > > >> > > >> > http://new.toolbar.yahoo.com/toolbar/features/mail/index.php > >> > > > >> > > >> > >> > >> > >> > >> > >> > _____________________________________________________________________ > > >> _______________ > >> Get the Yahoo! toolbar and be alerted to new > email wherever you're > >> surfing. > >> > http://new.toolbar.yahoo.com/toolbar/features/mail/index.php > >> > > ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
