> $JAVA_HOME/bin/java -version java version "1.4.2_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
My first impulse was that I was missing the java compiler but it's there: > ls $JAVA_HOME/bin/javac /usr/java/bin/javac
I have a startup script in /etc/init.d. In that script I set up a number of ENV vars, including JAVA_HOME, CLASSPATH, PATH. I have both the catalina.sh & the setclasspath.sh echo what those variables hold (after I found that setclasspath reset the CLASSPATH to something limited I commented out that line).
When I google for this problem, the hints are that either the java version and the tomcat version are not compatible OR the CLASSPATH is lacking some jar file....
My CLASSPATH has this: /usr/java/lib/tools.jar:/usr/jre/lib:/usr/local/tomcat/bin/commons-daemon.jar:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.19/bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.19/bin/commons-logging-api.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/servlet-api.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/jsp-api.jar
Am I missing some important Sun Java classpath? I have the general jre/lib directory but should I point to a special jar file? Do I need more than the tools.jar file in the /usr/java/lib in my CLASSPATH??
I have a symlink set up so that /usr/java points to /usr/java -> /usr/j2se and /usr/jre --> j2re1.4.2_04.
Should I NOT use symlinks??
Any other suggestions?
thanks all!
erin
At 08:59 PM 3/22/2004 -0600, you wrote:
On Mon, Mar 22, 2004 at 02:20:03PM -0800, Erin O'Neill wrote: : My error message says this (in a small part): : org.apache.jasper.JasperException: Unable to compile class for JSP
Two gut feelings strike me:
1/ the Java you have installed, what version is it? You said you have 1.4.x, but which one is Tomcat calling?
${JAVA_HOME}/bin/java -version
Back in the day, and perhaps still, Solaris shipped with Java version 1.2 in /usr/bin.
2/ JDK or JRE? -as in, do you have
${JAVA_HOME}/bin/javac
If this is still a no-go for you, I'll think it over when I'm awake. ;) -QM
--
software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
