This documentation is for WSO2 Carbon 4.4.1. View documentation for the latest release.
Page Comparison - Product Startup Options (v.5 vs v.6) - Carbon 4.4.1 - WSO2 Documentation
Due to a known issue do not use JDK1.8.0_151 with WSO2 products. Use JDK 1.8.0_144 until JDK 1.8.0_162-ea is released.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Startup OptionsDescription
-DosgiConsole=[port]Starts the Carbon server with the Equinox OSGi console. If the optional 'port' parameter is provided, a telnet port will be opened.
-DosgiDebugOptions=[options-file]Starts the Carbon server with OSGi debugging enabled. Debug options are loaded from the <PRODUCT_HOME>/repository/contconf/etc/osgi-debug.options.
-DsetupCleans the registry and other configurations, recreates DB, re-populates the configuration and starts the server. Note: It is not recommended to use this option in a production environment. Instead, you can manually run the DB scripts directly in the database.
-DworkerNode

Starts the product as a worker node, which means the front-end features of your product will not be enabled.

Note

Note that from Carbon 4.4.1 onwards, you can also start the worker profile by setting the following system property to 'true' in the product startup script before the script is executed.

Code Block
-DworkerNode=false
-DserverRoles=<roles>A comma separated list of roles used in deploying Carbon applications.
-Dprofile=<profileName>Starts the server with the specified profile, e.g., worker profile.
-Dtenant.idle.time=<time>If a tenant is idle for the specified time, the tenant will be unloaded. The default tenant idle time is 30 minutes. This is required in clustered setups, which has master and worker nodes.