JBoss, blown up can against compact can

I am working on Java 1.6, JBoss 5.1, EJB 3 and Hibernate 2. Every time I deploy ear, if the jar is compact (not blown up) the application is not working. However, when I blow up in a jar and then add it to my ear, the app works fine. Tried restarting Jboss, doesn't help.

The ear belongs to the numerous external vessels; will loading cans be a problem? How can I get JBoss to load external banks and then application banks?

thanks. WM.

+2


a source to share


2 answers


How exactly does this happen? No one can help you if you don't report your symptoms.



Anyway, I'd be happy if your app works anyway :) There is nothing wrong with blown cans, AFAIK.

0


a source


JBoss loading mechanisms sometimes lead to unexpected problems. I fixed this with classload-repository



<jboss-web>
   <loader-repository> 
      com.example:archive=unique-archive-name 
   </loader-repository> 
</jboss-web> 

      

0


a source







All Articles