tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert L Sowders" <rsowd...@usgs.gov>
Subject Re: [Win32] Tomcat 5.0 -- JavaSDK problem
Date Fri, 01 Nov 2002 21:38:30 GMT
Interesting,

I didn't know that windows allowed the convention of the "." in PATH 
statements,

CLASSPATH=.;f:\jakarta-tomcat-5.0\common\lib\servlet.jar; 
___________^

rls





JHeckel@t-online.de (Juergen Heckel)
11/01/2002 02:54 AM
Please respond to "Tomcat Users List"

 
        To:     tomcat-user@jakarta.apache.org
        cc: 
        Subject:        [Win32] Tomcat 5.0 -- JavaSDK problem


Hi,
first Apache 2.0.44-dev and Tomcat 5.0 are running fine, Apache is 
starting Tomcat; with http://localhost:8080 I see the Tomcat startpage.

But testing a JSP 2.0 example in the application manager e.g. 
/jsp-examples/basic_comparisons.jsp fails.

 From stderr.log:
01.11.2002 11:36:33 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=20/230 
config=f:\jakarta-tomcat-5.0\conf\jk2.properties
01.11.2002 11:37:04 org.apache.jasper.compiler.Compiler generateClass
SCHWERWIEGEND: Javac execption
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java)
                 at 
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java)
                 at 
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java)
                 at 
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:373)
                 at 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:414)
....
The javac.exe IS in the path (i can start it from elsewhere),
PATH=f:\j2sdk1.4.1_01;f:\j2sdk1.4.1_01\bin
JAVA_HOME=f:/j2sdk1.4.1_01
CLASSPATH=.;f:\jakarta-tomcat-5.0\common\lib\servlet.jar; 
f:\jakarta-tomcat-5.0\common\lib\tools.jar;f:\jakarta-tomcat-5.0\bin\boo
tstrap.jar;


Please can someone help me?

Juergen

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>





--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message