Re: Shared classloader and subclasses

2007-03-26 Thread Abe White
[subs.size()]); -- View this message in context: http://www.nabble.com/Shared- classloader-and-subclasses-tf3431312.html#a9655900 Sent from the open-jpa-dev mailing list archive at Nabble.com. ___ Notice: This email message

Re: Shared classloader and subclasses

2007-03-24 Thread roger.keays
); _subs = (Class[]) subs.toArray(new Class[subs.size()]); -- View this message in context: http://www.nabble.com/Shared-classloader-and-subclasses-tf3431312.html#a9655900 Sent from the open-jpa-dev mailing list archive at Nabble.com.

Re: Shared classloader and subclasses

2007-03-21 Thread roger.keays
way to find this list? Thanks, Roger -- View this message in context: http://www.nabble.com/Shared-classloader-and-subclasses-tf3431312.html#a9604668 Sent from the open-jpa-dev mailing list archive at Nabble.com.

Re: Shared classloader and subclasses

2007-03-20 Thread roger.keays
a workaround. I'd be happy if there was a way to load all the subclass metadata into the PCRegistry, but I still need each instance of the webapp to only be aware of their own subclasses. Cheers, Roger -- View this message in context: http://www.nabble.com/Shared-classloader-and-subclasses

Re: Shared classloader and subclasses

2007-03-20 Thread Abe White
AFIACT, the problem is that the openjpa.enhance.PCRegistry class uses static fields to store Meta information. When the second instance is loaded, the PCRegistry has been initialized, but doesn't contain that instance's subclasses and an exception is thrown The PCRegistry has to use static

Re: Shared classloader and subclasses

2007-03-20 Thread roger.keays
in the MetaDataRepository#register() method, but no metadata seems to be available at this time. Thanks for your help, Roger -- View this message in context: http://www.nabble.com/Shared-classloader-and-subclasses-tf3431312.html#a9582982 Sent from the open-jpa-dev mailing list archive at Nabble.com.

Shared classloader and subclasses

2007-03-19 Thread roger.keays
. Cheers, Roger -- View this message in context: http://www.nabble.com/Shared-classloader-and-subclasses-tf3431312.html#a9565638 Sent from the open-jpa-dev mailing list archive at Nabble.com.