This one time, at band camp, Weir, John said:

WJ>I would make a guess and say that your servlet engine has two instances of
WJ>some Catory/JDO class loaded, in different classloaders. Probably one loaded
WJ>
WJ>-----Original Message-----
WJ>From: Orlando Varela [mailto:[EMAIL PROTECTED]]
WJ>Sent: 21 March 2002 21:17
WJ>To: [EMAIL PROTECTED]
WJ>Subject: [castor-dev] Castor throuble
WJ>
WJ>I'm sure that empresa is not null and is a valid instance of Empresa.
WJ>
WJ>If we run the code in standalone mode (with out the jsp) it works fine.
WJ>
WJ>Please does any body know what is the problem, we really need the help.

Orlando,

John is exactly correct. This is a Classloader issue. Try using the
following method to tell the JDO instance what Classloader to use:

    org.exolab.castor.jdo.JDO.setClassloader()

Use it like so:

    _jdo.setClassloader( getClass().getClassloader() );

Bruce
--

perl -e 'print unpack("u44", "\?0G)U8V4\@4VYY9&5R\"F)R=6-E0&)S;GED97(N;W)G\"\@\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to