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.

Cheers

Tony

 


On Thu, 31 Jan 2002 22:09:23 -0000
Reynir H$B>-gC(Bner <[EMAIL PROTECTED]> wrote:

> 
> In fact there is no -servlet option, and you are probably using hotspot
> right now.
> 
> You can choose between the 
>    -hotspot      to select the "hotspot" VM
>    -server       to select the "server" VM
>    -classic      to select the "classic" VM
> 
> Default is hotspot JVM so, if you are using tomcat as it comes out of
> the box you are using hotspot JVM.
> 
> I would very much want to know, what is prefered for tomcat, I am using
> -server but I haven't done any benchmark tests or anything in that
> direction.
> 
> [EMAIL PROTECTED]
> 
> 
> > -----Original Message-----
> > From: Antony Stace [mailto:[EMAIL PROTECTED]]
> > To: [EMAIL PROTECTED]
> > Subject: Can I use the Hotspot JVM to run tomcat
> > 
> > 
> > Hi
> > 
> > Can I use the hotspot JVM for running tomcat.  If I look at 
> > the java program I see there is a
> > 
> > -servlet 
> > 
> > option.  Can I just place this in the command line options 
> > for java in the tomcat.sh script?
> > 
> > -- 
> > 
> > 
> > Cheers
> > 
> > Tony
> > ---------------------------------------------------------------------
> > 
> > 
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> > 
> > 
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


-- 


Cheers

Tony
---------------------------------------------------------------------


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to