It works fine on my XP machine and in 2K, what version of windows are you running?

-----Original Message-----
From: Chris Ward [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 11:46
To: Tomcat Users List
Subject: RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)



Thanks Matt,

I've since found that it just didn't like the version of the command in
catalina.bat
(or setclasspath.bat)

Fails = set JAVA_OPTS=" -Xms128m -Xmx128m "
Succeeds =      set JAVA_OPTS=-Xms128m -Xmx128m

I'd seen some mailing list posting the other day that recommended
putting the
leading and trailing spaces in the command to avoid potential problems
when
it gets expanded.

Oh well.

Thanks again,
Chris




> -----Original Message-----
> From: Dale, Matt [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 26, 2004 11:22 AM
> To: Tomcat Users List
> Subject: RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)
> 
> 
> 
> There must be an error message somewhere. Either in 
> catalina.out or on the console. Put a pause in at the end of 
> catalina.bat so it stays on screen when you try to start tomcat.
> 
> -----Original Message-----
> From: Chris Ward [mailto:[EMAIL PROTECTED]
> Sent: 26 August 2004 11:17
> To: [EMAIL PROTECTED]
> Subject: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)
> 
> 
> Hi,
> 
> I've added 
> 
>       set JAVA_OPTS=" -Xms128m -Xmx128m "
> 
> to my catalina.bat file and Tomcat no longer starts.
> 
> Same happens if I set JAVA_OPT as an environment variable 
> (Windows XP).
> 
> Anyone hit this?  It works on my Tomcat 4.x catalina.bat file.
> 
> Best regards
> Chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to