Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat CATALINA_OPTS -DServer

 
Patrick Conway
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic