Thanks for the advice.
But the problem is happenning in a Linux Operating System, and not
Windows.
Could it be the same problem ?
Thanks again ....
Jacob Kjome wrote:
Are you
running Tomcat as a service on Windows? The default service install
doesn't put tools.jar in the classpath. You can use the service.bat
file in CATALINA_HOME/bin to reinstall the service. I modified mine to
include this stuff....
"%EXECUTABLE%" //IS//%SERVICE_NAME% --DisplayName "Apache Tomcat"
--Description "Apache Tomcat Server -
http://jakarta.apache.org/tomcat/" --Install "%EXECUTABLE%"
--ImagePath
"%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar"
--StartupClass org.apache.catalina.startup.Bootstrap;main;start
--ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java
java --Startup manual
rem Set extra parameters
"%EXECUTABLE%" //US//%SERVICE_NAME% --JavaOptions
-Dcatalina.home="\"%CATALINA_HOME%\""#-Djava.endorsed.dirs="\"%CATALINA_HOME%\common\endorsed\""#-Djava.io.tmpdir="\"%CATALINA_HOME%\temp\""#-Dbuild.compiler.emacs=true#-server#-Xms32m#-Xmx512m#-Xrs
--StdOutputFile "%CATALINA_HOME%\logs\stdout.log" --StdErrorFile
"%CATALINA_HOME%\logs\stderr.log" --WorkingPath "%CATALINA_HOME%\bin"
Hope that helps. I'm really not sure why they don't do that in the
first place because JSP compilation simply will not work without my
modifications. I'm mentioned it to the developers, but so far the
request has been ignored.
To remove:
service.bat remove Tomcat5
To install:
service.bat install
Jake
At 08:29 AM 3/18/2004 -0300, you wrote:
Hello,
I'm having some trouble with tomcat 5.019 running in a linux Box.
One I update any of my JSP's, without restarting Tomcat, Tomcat is
supposed to re-compile the JSP since it has been modified.
But at some point I get an error from Tomcat telling me that it didn't
find Java's tool.jar. And to fix this problem it tells me to put
tools.jar in the classpath.
What I do is stop Tomcat, and start it again. Then the compiling goes
fine.
Any ideas what this could be ?
Thanks a lot.
Sincerely,
John.
--
<http://www.sfw.com.br>2c10baa3.gifSoftway & Softcomex
João Augusto Charnet
Computer Engineer - e-Softcomex Team
Phone/Fax: 55 19 3739-9200
E-mail: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
R. Conceicao, 233 - Cj, 609 - Centro
13010-050 - Campinas - SP - Brazil
--
|
Softway & Softcomex
|
João
Augusto Charnet
Computer
Engineer - e-Softcomex Team
Phone/Fax:
55 19 3739-9200
E-mail: [EMAIL PROTECTED]
R. Conceicao, 233 - Cj, 609 - Centro
13010-050 - Campinas - SP - Brazil
|
|
<<inline: e:\\Assinatura Digital\\Softway.gif>>