You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anton Brazhnyk <a....@biconsulting.ws> on 2002/02/01 11:04:51 UTC

RE: Can I use the Hotspot JVM to run tomcat

Hi,

> -----Original Message-----
> From: Antony Stace [mailto:s45652001@yahoo.com]
> Sent: Friday, February 01, 2002 2:57 AM
> To: Tomcat Users List
> Subject: Re: Can I use the Hotspot JVM to run tomcat
> 
> 
> With java included with JDK1.4 there is an option
> 
> -server
> 
> from the man page it says
> 
> -server Selects the Java HotSpot server VM.
> 
> In the file /etc/bin/dtomcat4 there is no mention of hotspot or 
> server, it has
> 
> 
> JPDA_OPTS="-classic -Xdebug -Xnoagent 
> -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
> 
> which I presume means that java is started with the "-classic" 
> option.  On inspection of the
> man page for java there is no mention of the option "classic". 
> Can someone please tell me what this
> "classic" option is doing?  Can I change this to "server" and it 
> will use the hotspot VM.
> 

I'm not familiar with JPDA, but AFAIK its all about debugging,
and since Hotspot VM isn't suitable for debugging and classic VM is
they use -classic.
If you use startup script without debug options Tomcat runs in 
default (Hotspot) VM.

> Cheers
> 
> Tony
> 
>  
> 
> 

Anton

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>