This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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