Setting JVM options in PolicyCenter

It is possible to set server system properties using the -D JVM option syntax. How you set a command option depends on the server type:

JBoss

Pass the options as arguments to the JBoss run script.

QuickStart (Jetty)

Set the options at server start using the following syntax:

gwb runServer -Denv=…

gwb runServer -Dserverid=...

Studio Set JVM options in the Run dialog in Studio. Use the following syntax:
  • -Dgw.pc.option=...

Tomcat

Set the options using the CATALINA_OPTS environment variable. Use the following syntax:

-Dgw.pc.env=…

-Dgw.pc.serverid=...

WebLogic

Edit the startManagedWebLogic file.

WebSphere

Open the Administrative Console and add the option to Generic JVM arguments. If you have multiple servers, set the option for each server.