Re: Pass parameter to the JVM at startup

2005-05-07 Thread Michael Echerer
> Looking back I was starting Tomcat from inside Eclipse with the Sysdeo > Tomcat Plugin which apparently doesn't use the tomcat startup scripts, > i.e., it bypasses startup.sh so it never sees -server. When I started > tomcat manually via the cli with startup.sh with the JAVA_OPTS in > catalina.s

Re: Pass parameter to the JVM at startup

2005-05-06 Thread Matt Galvin
> >>How can I tell that the JVM is actually running in server mode? > > > > > > well, not sure if you can. I'd try java.lang.System.getProperties() or > > something... > > > > > Yupp... works... Just run my junitreport via ant which also dumps lots > of system properties, too: > > "java.vm.name" i

Re: Pass parameter to the JVM at startup

2005-05-06 Thread Michael Echerer
Michael Echerer wrote: >>Shouldn't it have the "-server" in there if it is running in server mode? >> >>How can I tell that the JVM is actually running in server mode? > > > well, not sure if you can. I'd try java.lang.System.getProperties() or > something... > > Yupp... works... Just run my ju

Re: Pass parameter to the JVM at startup

2005-05-05 Thread Michael Echerer
> Shouldn't it have the "-server" in there if it is running in server mode? > > How can I tell that the JVM is actually running in server mode? well, not sure if you can. I'd try java.lang.System.getProperties() or something... At least on a Solaris machine you could figure out whether you are

Re: Pass parameter to the JVM at startup

2005-05-05 Thread Matt Galvin
> Use the JAVA_OPTS variable in catalina.sh or .bat > You can also increase the memory settings here, e.g. -server -Xms512m > -Xmx1024m or whatever other jvm options you need. I am also trying to do this but it doesn't seem to work, well there is no indication that it did. I also tried setting "-s

RE: Pass parameter to the JVM at startup

2005-05-05 Thread Allistair Crossley
r the service registry params. Allistair. > -Original Message- > From: Acácio Furtado Costa [mailto:[EMAIL PROTECTED] > Sent: 05 May 2005 12:33 > To: tomcat-user@jakarta.apache.org > Subject: Pass parameter to the JVM at startup > > > Hi ALL, > > Does anyon

Re: Pass parameter to the JVM at startup

2005-05-05 Thread Michael Echerer
Acácio Furtado Costa wrote: > Hi ALL, > > Does anyone know how to pass one parameter by Tomcat 5.0.28 to the > starts JVM? > > I need to pass the "- server" parameter to the JVM (SUN 1.4.2) but I > don´t know where I put this to call JVM. > Use the JAVA_OPTS variable in catalina.sh

Pass parameter to the JVM at startup

2005-05-05 Thread =?iso-8859-1?Q?Ac=E1cio_Furtado_Costa?=
Hi ALL, Does anyone know how to pass one parameter by Tomcat 5.0.28 to the starts JVM? I need to pass the "- server" parameter to the JVM (SUN 1.4.2) but I don´t know where I put this to call JVM. Thanks Acacio Furtado Costa Pesquisa e Tecnologia GIA - Magnesita S/A * [EMA