Turned out that at one place the new jar wasn't copied over. The error is
gone now when that was corrected.
mananthakris wrote:
>
> Hi,
> Migrating to ojb 1.0.4 from ojb.1.0.rc4 gives error while trying to get
> Implementation class for odmg-api.
>
> Does ODMGFactory no longer exist? We use to write an mbean in
> jboss-service.xml and use jndi lookup in ejb create to get the
> Implementation.
> this was our code before and does not work because of compilation error
> class ODMGFactory not found. Tried using ODMGJ2EEFactory instead. Does not
> work (gives OJB<init> noclassdeffounderror)
> ODMGFactory factory = (ODMGFactory) ctx.lookup("java:/ojb/defaultODMG");
>
> Now the document suggests use OJB.getInstance() but this gives error
> NoSuchMethodError:
> org.apache.ojb.odmg.OJB.getInstance()Lorg/odmg/Implementation;
>
> What is the right way to get the Implementation instance?
>
>
--
View this message in context:
http://www.nabble.com/migrating-to-ojb-1.0.4-NoSuchMethodError-tf2817734.html#a7874797
Sent from the Apache DB - ObjectRelationalBridge Users mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]