EJB unable to access class under war's WEB-INF/classes (ear deployment)
posted 6 years ago
My EJB is unable to access a class file in WAR's WEB-INF/classes directory. I made a JBOSS upgrade from 4.0.3SP1 to 4.3.2. As I never configured a JBOSS AS from scratch so I am having trouble identifying the problem correctly.
Steps I followed to upgrade
1. Copied the deployment packages e.g. *.ear & *.har 2. Added the missing library
3. And ran the server.
After which I can successfully see my application's login page but once I try to login my EJB does a hibernate query and then it through's a ClassNotFoundError exception as follows
Now my .EAR package is as follows
Basically a method in the LoginSessionLocal EJB (in myapp.jar) tries to access a class StatusType in the myapp.war > WEB-INF/classes
Search over the internet it seems like a classloader issue but I am lost to where should i start configuring.