tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Flaherty <pflah...@rampageinc.com>
Subject Re: Setting JVM Parameters in Windows Service for Tomcat7
Date Thu, 20 Sep 2012 12:49:50 GMT
HI Matthias,

I sent a question out a few days ago that I could *not* get the JVM  
Parameters set via the command-line using //US//.

Can you give me an example of the syntax that worked for you ? I'm  
just looking to set the min/max heap sizes.

Thanks
Pat

On Sep 20, 2012, at 5:41 AM, Matthias Müller wrote:

> Hi,
>
> I want to set JVM Parameters in a Windows Service (Windows7) for
> Tomcat7 (7.0.30)
>
> The documentation tells, that this could be done by calling "tomcat7
> //US//Tomcat7 ..."
> This method works, but it is not practicable for our production
> environment, because these settings are stored in the registry.
>
> Is it possible to specify these parameters in setenv.bat or  
> somewhere else?
> When I start tomcat with "catalina.bat run" the setenv.bat is read.
> But when I start tomcat as a windows service the setenv.bat is  
> ignored.
>
> Matthias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message