-
1. Re: integrationissue with quartz 2.1.3 and jboss 7 AS
sfcoy Mar 11, 2014 9:47 PM (in response to rajeev.solanki)1 of 1 people found this helpfulIf the POJO class is defined in the EJB jar then Quartz will not be able to to "see" it as they exist in different class loaders. You need to move the POJO class into a jar in the EAR/lib directory so that it shares the same class loader as quartz and yet is still visible to the EJB jar.
-
2. Re: integrationissue with quartz 2.1.3 and jboss 7 AS
rajeev.solanki Mar 11, 2014 11:24 PM (in response to sfcoy)Hi Stephen,
Thanks for your looks it will work. I need one more clarification, at present my pojo classes are bundled in shared project jar which is add a project dependency to my jar and thats how it is visible to my jar.
What want to understand here is that to make my POJO visible to quartz i have to put this pojo bundle in lib ? please correct me if im gettingn it wrong?
-
3. Re: integrationissue with quartz 2.1.3 and jboss 7 AS
sfcoy Mar 12, 2014 12:42 AM (in response to rajeev.solanki)That is exactly right.
All jars in the EAR/lib directory share a class loader that makes classes available to all other modules (such as EJB jars and WARs) in the EAR.
However, the EAR/lib class loader cannot see the classes in those other modules.