This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.