aspose file tools*
The moose likes Tomcat and the fly likes tomcat CATALINA_OPTS -DServer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat CATALINA_OPTS -DServer" Watch "tomcat CATALINA_OPTS -DServer" New topic
Author

tomcat CATALINA_OPTS -DServer

Patrick Conway
Greenhorn

Joined: Apr 26, 2011
Posts: 1
Anyone know what exactly the -DServer parameter does in catalina_opts besides tell tomcat its a server not a desktop?
i.e. whats the difference in using not using this parameter

K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75

Patrick Conway wrote:Anyone know what exactly the -DServer parameter does in catalina_opts besides tell tomcat its a server not a desktop?
i.e. whats the difference in using not using this parameter


# java -help

-server to select the "server" VM
The default VM is server.


The Java SE contains two implementations of the Java VM:

Java HotSpot Client VM, which is tuned for best performance when running applications in a client environment by reducing application start-up time and memory footprint.

Java HotSpot Server VM, which is designed for maximum program execution speed for applications running in a server environment.

more details:
http://java.sun.com/products/hotspot/whitepaper.html

cheers
http://www.uki6.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat CATALINA_OPTS -DServer