I tried copying tools.jar to server/default/lib and then server/all/lib. Neither of these worked. Still getting same error.
Next tried moving tools.jar to server/default/deploy/jbossweb-tomcat50.sar and restarting. This didn't work either.
Ok, anyone have an idea what is happening here? It's like the compiler is not getting on the classpath no matter where I put tools.jar.
Here are the startup values:
JBoss Bootstrap Environment
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
I uninstalled J2SE 5.0 and reinstalled J2SE 1.4.2 and the problem went away so this appears to be related to some incompatibility between JBoss 4.0.0DR4 and J2SE 5.0.