[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
);
_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.
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.
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
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
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.
.
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.