tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 车 东 <ched...@hotmail.com>
Subject Fwd: catalina.bat bug: can't start up tomcat with: startup -Dfile.encoding="ISO-8859-1" -Duser.language="en"
Date Mon, 20 Jan 2003 16:43:59 GMT
>From: "Che Dong" <chedong@hotmail.com>
>To: <tomcat-dev@jakarta.apache.org>
>Subject: catalina.bat bug: can't start up tomcat with: startup  
-Dfile.encoding="ISO-8859-1" -Duser.language="en"  %CMD_LINE_ARGS% and  
%MAINCLASS% should be switched
>Date: Mon, 20 Jan 2003 23:44:42 +0800
>
>I try to startup tomcat on my Chinese Windows2000 with English 
environment, but I found I can't startup tomcat:
> >startup -Dfile.encoding="ISO-8859-1" -Duser.language="en"
>
>and I checked the catalina.bat and echo the full cammand as following:
>start "Tomcat" ... org.apache.catalina.startup.Bootstrap  
-Dfile.encoding="ISO-8859-1" -Duser.language="en" start
>
>the server starts ok after modified to:
>start "Tomcat" ... -Dfile.encoding="ISO-8859-1" -Duser.language="en" 
org.apache.catalina.startup.Bootstrap start
>
>
>so the %CMD_LINE_ARGS% should before the %MAINCLASS% other wise some JVM 
arguments can't transfer to mainclass after mainclass has been loaded.

I think the %CMD_LINE_ARGS% and %MAINCLASS% in catalina.bat should be 
switched:
>%_EXECJAVA% %JAVA_OPTS% ... %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
>==>
>%_EXECJAVA% %JAVA_OPTS% ... %CMD_LINE_ARGS%  %MAINCLASS%  %ACTION%
>                                ^-------------------^
>
>My system: (Windows 2000 Chinese version) SUN JDK-1.4.1 tomcat 4.1.18-LE

Regards
>
>Che, Dong
>


_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com 


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


Mime
View raw message