Is this true? Why have I read so many posts that to set the TOMCAT/JVM memory you should set an environment variable to CATALINA_OPTS.
I, personally, have not seen this work though but why is it stated as such? I did in fact find the registry setting with the JVM Parameter and JVM Options keys or whatever. I increased the number and added another JVM Parameter with the -X memory parameters. I haven't be able to prove if it works yet or not. Tomcat didn't load with any additional memory but I am hoping it will use when needed. There is PLENTY of memory on the machine but when Tomcat reaches about 103M used it just dies. No user can connect to the site. The site is done in a combo of JSTL, Servlets, and JSP's w/ mySQL connection pooling through JNDI. Any ideas anyone?? -Matt --- Christopher Watson <[EMAIL PROTECTED]> wrote: > The NT/2000 service is configured through the > registry, hence doesn't > taker notice of CATALINA_OPTS etc > > Try looking in the following registry key. > > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache > Tomcat > 4.0\Parameters > > The 4.1 is > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache > Tomcat > 4.1\Parameters > so I'm guessing/rembering the 4.0 is as above > > anyway, if you hunt around under > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services > I'm sure you'll > find it. > > You'll see various JVM Options for things like > classpath, endorsed > directories etc > > On my installation the classpath is specified under > JVM Option Number 0 > > Hope this helps > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > > Sent: 15 February 2003 15:15 > > To: [EMAIL PROTECTED] > > Subject: NT Services > > > > > > Hi, > > > > I am having a problem configuring Tomcat 4.0 as a > service. I run > > the install to set up Tomcat as a service and it > starts up fine, but > > the paths to Java and Tomcat are not set up > correctly. Can > > anyone tell me where they are set. My > environmental variables are > > setup fine and Tomcat runs fine with the batch > program. > > > > Thanks > > Randy > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
