Versions Compared

Key

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

...

To launch a Fabric3 server in single-VM mode, execute the following from the servers/vm/target/image/bin directory:

java -jar server.jar



Alternatively, the Fabric3 server can be started from another working directory by executing: java -jar <path to bin directory>server.jar



Info

It may be necessary to run Fabric3 with larger heap settings than the JVM defaults. To do so, use the standard JVM command line parameters, e.g.:

java -Xmx1024M -XX:MaxPermSize=1024M -jar server.jar

Info

It may be necessary to configure some JVMs (e.g. OS X) to use IPv4 over IPv6. To do so, use the standard JVM command line parameters, e.g.:

java -Djava.net.preferIPv4Stack=true -jar server.jar

Deploy the application

After the server has booted, deploy a calculator application archive by copying it to the Fabric3 runtime /deploy directory. The runtime will write a message to the console after the archive has been deployed. Depending on the application deployed, one of the following endpoints will be available:

...

Info

To run the WSCalcClient via the commandline change to the /samples/wscalc-client folder and type

mvn exec:java

Note that the Fabric3 administration console (separately downloadable) is the recommended way to deploy applications to production systems.