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 2003/09/11 12:44:48 UTC
DO NOT REPLY [Bug 18219] -
Can't compile JSP pages
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18219>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18219
Can't compile JSP pages
------- Additional Comments From andrew.liles@starfishzone.com 2003-09-11 10:44 -------
For the assistance of anyone else reading this report:
If you have not used the Windows installed, but simply unzipped Tomcat; or if
have installed Tomcat without JAVA_HOME and you want a workaround that avoids
having to deinstall the whole of Tomacat, then this is a workaround:
It applies equally to Tomcat v4.
1. You need to setup the JAVA_HOME variable:
* In Control Panel, System, Advanced Tab, Environment Variables button
* choose New button
* Enter JAVA_HOME
C:\jdk (or the path to the root of your JDK)
2. Shutdown the Tomcat service from the Windows Service Manager.
Shudown the Service Manager. This is very important as the SM will hold locks
on the service definition.
3. Deinstall the Apache Tomcat service:
(replacing the path names and the Service name as seem in the Windows Service
Manager if they differ from these):
c:
cd \jakarta-tomcat\bin
tomcat.exe -uninstall "Apache Tomcat"
4. Now re-install the Tomcat service.
You will need to change the paths etc that I have given here:
The third statement starting "tomcat..." is a SINGLE LINE
c:
cd \jakarta-tomcat\bin
tomcat -install "Apache Tomcat" "C:\jdk\jre\bin\client\jvm.dll" -
Djava.class.path="C:\jdk\lib\tools.jar;C:\jakarta-tomcat\bin\bootstrap.jar" -
Dcatalina.home="C:\jakarta-tomcat" -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out "c:\jakarta-
tomcat\logs\stdout.log" -err "c:\jakarta-tomcat\logs\stderr.log"
More info on the Tomcat executable by entering
tomcat --help
or this:
http://www.reynir.net/tomcat/tomcat_service.html