Using JBOSS 3.0.8 and jetty. Packaged up an ear containing ejb.jar and servlet.war. servlet.war is properly specified in application.xml and web.xml is properly configured. I have util.jar sitting in WEB-INF/lib inside the war file.
Deployment is fine but when I hit the servlet I get a NoClassDefFoundError for one of the util classes that the servlet uses.
Deploying the war by itself works fine. Deploying the war within the ear does not work.
Seems quite strange since at this point I disabled the code that calls from the servlet to the bean - so it's just the servlet code itself trying to run.