> 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
> >>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
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
> 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
> 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
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
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
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