user6378152
user6378152

Reputation: 275

Using catalina_opts for Tomcat

I am trying to understand the parameters in catalina_opts. Can someone explain to me whats the use of "-D" parameter and -server here-

for eg calina_opts= -server -Dhostname=...

Upvotes: 0

Views: 448

Answers (1)

Sundararaj Govindasamy
Sundararaj Govindasamy

Reputation: 8495

-server instructs the launcher to use the Java HotSpot Server VM instead of client VM.The Java JVM can optimize a number of things for server environments.

-D is used to set java system properties

Upvotes: 2

Related Questions