This content has been marked as final.
Show 1 reply
-
1. Problem getting class from ear.
yun_man_ger Jan 13, 2011 11:04 PM (in response to tain)1 of 1 people found this helpfulHi, Rinat.
I'm not sure, but maybe the problem in the order classes are loaded by the container. I think .ear's are loaded at the end after
all services are up. And at the time Scheduler is loaded, your .ear and your class in it is invisible yet. And by the way there is an context issue.
I think you could try, to put your Scheduler class separately in, let's say, abc.jar. And put it into jboss-5.1.0.GA/server/{project-name}/lib/ folder.
These libraries are loaded into the container. And they are in global context.