[jboss-user] [Installation, Configuration & DEPLOYMENT] - Purpose of IF statement in run.conf

jelevy01 do-not-reply at jboss.com
Wed Apr 29 18:45:59 EDT 2009


The following statement is in run.conf

#
  | # Specify options to pass to the Java VM.
  | #
  | if [ "x$JAVA_OPTS" = "x" ]; then
  |    JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
  | fi
  | 

Can someone tell me what is the purpose of the if statement?  I assume it's trying to detect if people are passing in via the command line memory settings and therefore not use the ones configured...

Is there any other purpose?

J

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227660#4227660

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227660



More information about the jboss-user mailing list