-
1. Re: ClassNotFoundException in PrimaryKey object
ben.wang Feb 7, 2006 11:03 AM (in response to haseen)No, I don't think there is a Jira issue associated with it.
-Ben -
2. Re: ClassNotFoundException in PrimaryKey object
haseen Feb 7, 2006 1:23 PM (in response to haseen)I am sorry if I am missing something here. The issue mentioned in the Topic
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=39881
is raising a similar issue. Did we find a solution to the "ClassLoaders not found" for custom PK issue?
In the topic WT has talked of three options :
1.) Stop using custom pk objects. In this case it shouldn't have any problems loading from the java.lang package.
2.) Deploy the pks seperately in the server's lib/ dir. I would like our application to be self contained inside the ear, so this isn't ideal.
3.) Stop using a scoped classloader. Not sure about this one.
I deployed all my PK objects under all/lib folder and everything worked fine. Is there a way we can keep PK objects with regular EARs that go in all/farm so that these classes can also be hot deployed?
By the way, I am using JBoss 4.0.3
Please suggset.
Thanks,
Haseen