tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Angel Mulero Martinez <>
Subject RE: BUG: Try please
Date Mon, 16 Sep 2002 09:31:38 GMT
I used the installer, and it by default used spaces in the catalina path
("c:\program" files and "tomcat 4.1"). I will try to install it without
spaces. Thanks for your help.


-----Mensaje original-----
De: Jacob Kjome []
Enviado el: viernes, 13 de septiembre de 2002 18:56
Para: Tomcat Users List
Asunto: Re: BUG: Try please

Hello Miguel,

Did you install Tomcat to a path with spaces in it?  That could be a
problem.  If so, you can solve it by using tilde (~) characters to
remove the spaces from the path to Catalina.  For instance, here is my


Also, did you use the installer?  Try using just the .zip file, set
all your environment variables, and then install your service by
copying the following to a command line (opened *after* all
environment vairables have been set):

%CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina
%JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\boo
tstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME%
%CATALINA_OPTS% -Xrs -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out
%CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log

Make sure to set CATALINA_OPTS before you do this.  Mine is...

CATALINA_OPTS=-server -Xms8m -Xmx128m

Uninstall the service like this...

%CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina


Friday, September 13, 2002, 2:40:12 AM, you wrote:

MAMM> After try myself a lot of things, and make the question in this group,
MAMM> see others with the same problem, I think this is a bug. If someone
MAMM> try it and confirms, I will post it to bugzilla:

MAMM> - Windows 2000, SP3, JDK 1.4.0_01, Tomcat 4.1.10
MAMM> - Install tomcat 4.1.10 (not LE). Install like a service.
MAMM> - Verify the environment variable (CATALINA_HOME)
MAMM> - Execute the service Tomcat, and go to the examples. Execute de date
MAMM> example. Tomcat fails to compile de JSP.
MAMM> - Stop the tomcat service. Go to the command line, to CATALINA_HOME
and type
MAMM> "catalina start"
MAMM> - Go to the date JSP example. Tomcat works fine.
MAMM> - Stop tomcat. Start it another time from the service. Go to the date
MAMM> example. Now works.
MAMM> - Try others JSP (numguess.jsp). Fail.

MAMM> This only happens with JSP that use classes from /WEB-INF/classes or

MAMM> Thanks!!

MAMM> --
MAMM> To unsubscribe, e-mail:
MAMM> For additional commands, e-mail:

Best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message