You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lakshmi Narayanan K." <ln...@gmail.com> on 2005/03/26 03:00:23 UTC

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

Hello All,

I am currently using Tomcat 5.0.28 coupled with JK2 connector to talk
to Apache 2.0.48.

I am encountering a problem similar to as reported in the following link:
< http://issues.apache.org/bugzilla/show_bug.cgi?id=32063 >

I am in a position where I *CANNOT* access the GUI based Tomcat
configurator for setting the values of JvmMx and JvmMx. So my only
way out is to use the tomcat command line utility to modify the Tomcat
parameters.

However, on the same lines as both Sigal and Ilona have
faced (in the above mentioned bugzilla link), the values of JvmMs and
JvmMx that get set (as shown in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
2.0\OvTomcatA\Parameters\Java) are always set to 0 irrespective of whatever
value i set.

I even tried to manually execute the following but to no avail (I am
installing Tomcat service as OvTomcatA):
tomcat5.exe //US//OvTomcatA --JvmMs 256 --JvmMx 512

I desperately need to fix this problem. Is there any way out for me to
set these values manually using the tomcat5 command line tool??

I must say here that when trying to set via the GUI based Tomcat
configurator, the values of JvmMs and JvmMx get set as expected.

Eagerly awaiting your reply,

Warm Regards,

- Lakshmi Narayanan K.

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


Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

Posted by "Lakshmi Narayanan K." <ln...@gmail.com>.
Hi Mladen,

Thanks for your suggestion. I had actually tried setting the values in
the manner you have suggested, but like I had already mentioned, the
values always get set to 0 in the registry. Of course, I haven't tried
setting them individually, so I shall try that when I get back to
office, but my gut feeling is even that wont help.

Thanks once again.

Regards,

- Lakshmi Narayanan K.


On Sat, 26 Mar 2005 12:59:59 +0100, Mladen Turk <ml...@jboss.com> wrote:
> Lakshmi Narayanan K. wrote:
> > Hi Jason,
> >
> > Thanks for your suggestion. I would like to modify the registry by
> > hand as a LAST resort only. Isn't there a way to do this via the
> > tocmat5 command line tool itself? If there isn't any, then of course,
> > I would have to do it by hand by modifying the registry. Please let me
> > know.
> >
> 
> You can do that by using Tomcat5.exe:
> tomcat5 //US// --JvmSs NNN
> tomcat5 //US// --JvmMs NNN
> tomcat5 //US// --JvmMx NNN
> etc...
> (Of course you can do that all in once)
> tomcat5 //US// --JvmSs NNN --JvmMs NNN --JvmMx NNN
> 
> If your service name is different then 'tomcat5' (mening that you
> used service.bat with non-default service name),
> you can either rename the tomcat5.exe to 'your_service_name.exe'
> or use: 'tomcat5 //US//your-service_name --JvmSS NNN'
> 
> Regards,
> Mladen.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
Warm Regards,

Lakshmi Narayanan K.
" When the buying stops, the killing can too! "

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


Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

Posted by Mladen Turk <ml...@jboss.com>.
Lakshmi Narayanan K. wrote:
> Hi Jason,
> 
> Thanks for your suggestion. I would like to modify the registry by
> hand as a LAST resort only. Isn't there a way to do this via the
> tocmat5 command line tool itself? If there isn't any, then of course,
> I would have to do it by hand by modifying the registry. Please let me
> know.
>

You can do that by using Tomcat5.exe:
tomcat5 //US// --JvmSs NNN
tomcat5 //US// --JvmMs NNN
tomcat5 //US// --JvmMx NNN
etc...
(Of course you can do that all in once)
tomcat5 //US// --JvmSs NNN --JvmMs NNN --JvmMx NNN

If your service name is different then 'tomcat5' (mening that you
used service.bat with non-default service name),
you can either rename the tomcat5.exe to 'your_service_name.exe'
or use: 'tomcat5 //US//your-service_name --JvmSS NNN'


Regards,
Mladen.

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


Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

Posted by "Lakshmi Narayanan K." <ln...@gmail.com>.
Hi Jason,

Thanks for your suggestion. I would like to modify the registry by
hand as a LAST resort only. Isn't there a way to do this via the
tocmat5 command line tool itself? If there isn't any, then of course,
I would have to do it by hand by modifying the registry. Please let me
know.

Thanks and Regards,

- Lakshmi Narayanan K.


On Fri, 25 Mar 2005 20:52:40 -0600, Jason Bainbridge
<jb...@gmail.com> wrote:
> On Sat, 26 Mar 2005 07:30:23 +0530, Lakshmi Narayanan K.
> <ln...@gmail.com> wrote:
> > Hello All,
> >
> > I am currently using Tomcat 5.0.28 coupled with JK2 connector to talk
> > to Apache 2.0.48.
> >
> > I am encountering a problem similar to as reported in the following link:
> > < http://issues.apache.org/bugzilla/show_bug.cgi?id=32063 >
> >
> > I am in a position where I *CANNOT* access the GUI based Tomcat
> > configurator for setting the values of JvmMx and JvmMx. So my only
> > way out is to use the tomcat command line utility to modify the Tomcat
> > parameters.
> >
> > However, on the same lines as both Sigal and Ilona have
> > faced (in the above mentioned bugzilla link), the values of JvmMs and
> > JvmMx that get set (as shown in the registry under
> > HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
> > 2.0\OvTomcatA\Parameters\Java) are always set to 0 irrespective of whatever
> > value i set.
> 
> Why don't you just set them via regedit? I'm not in front of any of my
> wrk boxes right now and I can't be bothered remoting in to get the
> entries you need to edit but it is pretty straight forward.
> 
> --
> Jason Bainbridge
> http://kde.org - webmaster@kde.org
> Personal Site - http://jasonbainbridge.com
> 


-- 
Warm Regards,

Lakshmi Narayanan K.
" When the buying stops, the killing can too! "

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


Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

Posted by Jason Bainbridge <jb...@gmail.com>.
On Sat, 26 Mar 2005 07:30:23 +0530, Lakshmi Narayanan K.
<ln...@gmail.com> wrote:
> Hello All,
> 
> I am currently using Tomcat 5.0.28 coupled with JK2 connector to talk
> to Apache 2.0.48.
> 
> I am encountering a problem similar to as reported in the following link:
> < http://issues.apache.org/bugzilla/show_bug.cgi?id=32063 >
> 
> I am in a position where I *CANNOT* access the GUI based Tomcat
> configurator for setting the values of JvmMx and JvmMx. So my only
> way out is to use the tomcat command line utility to modify the Tomcat
> parameters.
> 
> However, on the same lines as both Sigal and Ilona have
> faced (in the above mentioned bugzilla link), the values of JvmMs and
> JvmMx that get set (as shown in the registry under
> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
> 2.0\OvTomcatA\Parameters\Java) are always set to 0 irrespective of whatever
> value i set.

Why don't you just set them via regedit? I'm not in front of any of my
wrk boxes right now and I can't be bothered remoting in to get the
entries you need to edit but it is pretty straight forward.

-- 
Jason Bainbridge
http://kde.org - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

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