Hi I have recently done an upgrade from 3.2.3 of JBoss to 4.0.1.
I have noticed that in the new version my EJB will no longer hot deploy.
I get loads of 'java.lang.NoClassDefFoundError' errors.
I need to include all of libs which were packaged inside my EJB .jar file's META-INF directory in the <JBOSS_HOME>/server//lib directory
I found a suggestion in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=8981 setting the classpatheextension in jboss.conf might work for me also though I would like to just drop the .jar in the deploy directory and have it deploy with all it's config and libs. I also use Quartz and hibernate so maybe I am getting confused with them needing the libs and not my application.
Another less serious but similar off topic issue is, I recently added jasper reports to my EJB tier and to get it to run I had to add -Djava.awt.headless=true to my java options(
System.setProperty("java.awt.headless", "true");didn't seem to work).
Sorry guys, I had never included the classpath in my manifest.
I added the following to META-INF/MANIFEST.MF:
Class-Path: lib
The jasperreports part is OK, I can live with that.
Sorry If I wasted your time. :(