website

Piranha - Website

This project is maintained by piranhacloud

Piranha Micro

Installing Piranha Micro

Download the JAR file from Maven Central.

Make sure you download the -all JAR file.

Running with a WAR file

If you have a WAR file you can use the command line below:

java -jar piranha-micro.jar --war your_webapplication.war

Overriding the web application directory

If you want to override the directory Piranha Micro uses for extracting the web application you can use the command line below:

java -jar piranha-micro.jar --war your_webapplication.war \
     --webapp your_webapp_directory

Running with an exploded WAR file

If you have an exploded directory containing the contents of your WAR file you can use the command line below:

java -jar piranha-micro.jar --webapp your_webapp_directory

Changing the HTTP port

If you want to use a different HTTP port (e.g to port 8888) you can use --port as illustrated by the command line below:

java -jar piranha-micro.jar --war your_webapplication.war --port 8888

Limitations

  1. Only supports one web application per JVM.

Where are the sources?

See GitHub at https://github.com/piranhacloud/piranha/tree/master/micro

Home