I ran into a deployment order problem. I have 3 packages deployed on the JBoss 4.0.3 AS:
myapp.par - contains domain object entity beans
myapp.ejb3 - contains session beans
myapp.war - web layer components
Everytime I restart the JBoss, it seems the jboss is loading the myapp.ejb3 before the myapp.par, which caused the "ClassNotFound" exceptions. Then I have to re-deploy the ejb3 package.
Well, is there a way to give the order of which package to load first?
never mind... fixed by packing them into one ear. I did not.