• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Packaging classloader..

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JBOSS 4.2 and have a EAR which consists of typical folders:

myEAR.ear:


When compiling or deploying, the classes of WEB-INF/classes does not find the classes within myEAR.jar.

My components.xml:




When I move all the classes of WEB-INF/classes to the folder myEAR.jar, then all works.

What is wrong?

In http://www.redhat.com/docs/manuals/rhaps/jonas-guide/ch-classloader.html its said:

Currently, with the J2EE integration and the use of the EAR packaging, class visibility problems no longer exist and the EJB JAR is no longer required to be in the WEB-INF/lib directory


But this is not the case for me. Why?

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!