Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 2 Next »


If the default runtime startup command is used:

java -jar server.jar

a single-VM instance will be created using the configuration specified in runtimes/vm. Alternative configurations can be used by specifying the runtime name as shown below. The runtime name will map to a configuration contained under the {{runtimes} directory:

java -jar server.jar controller  -- launches a runtime using the configuration under {{runtimes/controller}} 
java -jar server.jar participant -- launches a runtime using the configuration under {{runtimes/participant}}  
java -jar server.jar foo -- launches a custom runtime using the configuration under {{runtimes/foo image}} 

Note it is possible to run multiple runtime instances from a single disk image. In this case, the image will contain multiple configurations under the runtimes directory. Each instance can then be started by specifying the runtime name, for example:

java -jar server.jar foo
java - jar server.jar foo2

Clean Startup

To start the runtime in clean mode, use the clean command:

java -jar server.jar clean

Note starting the runtime in clean mode will delete information stored in the data directory, including transaction recovery logs. 

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.