You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/07/27 14:45:19 UTC
DO NOT REPLY [Bug 30346] New: -
service.bat did not work properly; Unable to find a javac compiler
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30346
service.bat did not work properly; Unable to find a javac compiler
Summary: service.bat did not work properly; Unable to find a
javac compiler
Product: Tomcat 5
Version: 5.0.27
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Critical
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: leif.hanack@t-systems.com
When using the /bin/service.bat on a windows system the service is created,
but seems to leave a not 100% functional tomcat. tomcat is starting fine. If
you browse a uncompiled jsp, you receive the following message:
..
org.apache.jasper.JasperException: Unable to compile class for JSP
..
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
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompi
ler(CompilerAdapterFactory.java:106)
..
The environment variables are set correct! Running the /bin/startup script
everything works fine, i.e. jsp's got compiled correct.
At my web-search i found people who have the same problem, but i couldn't
found the bug in the database. Someone tell to use the windows-installer-exe
(jakarta-tomcat-5.0.27.exe) and define the JAVA_HOME to use. I've done this
and the guy was right.
The service that was installed within the installation process of jakarta-
tomcat-5.0.27.exe works fine. This service compiles jsp's as well, but the
service.bat did not!
It would be great to hear soon from you:)
Thanks in advance, Leif
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org