(I really hate it when someone just replies to the list -- oh never mind I got it! and then doesn't give the answer!)
I found this link:
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html
AND even though it was for Tomcat 4 and linux I figured it might have *the* answer for me. It did.
I needed to run tomcat as the tomcat user (this involved changing the ownership of the tomcat directory & files as I'd already set it up as root). While the ENV variables were being set in the /etc/init.d/tomcat script and EXPORTED -- they weren't making it to catalina.sh. I explicitly set JAVA_HOME, CLASSPATH, PATH in setclasspath.sh.
CLASSPATH is set thusly in setclasspath.sh: CLASSPATH="$JAVA_HOME"/lib/tools.jar
It seems to add to the already setup CLASSPATH in the startup script. PATH needed to include $JAVA_HOME/bin, $CATALINA_HOME/bin and $JRE_HOME/bin. Suddenly the java compiler was found!
Now I'm on to my next error in the jsp examples (repeat tag): StandardWrapperValve[org.apache.jsp.jsp2.simpletag.repeat_jsp]: Servlet.serv ice() for servlet org.apache.jsp.jsp2.simpletag.repeat_jsp threw exception java.lang.NoSuchFieldError: _jspx_page_context
Do I need to add a jar file to my CLASSPATH?
thanks all!
erin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
