Standalone installation - Install Jaqpot

Compile, Build and Run Jaqpot

We will first use git to download the source code of Jaqpot3 from The source code of Jaqpot3 will be downloaded (the latest version) from the online CVS. This will create a new folder named 'jaqpot3'. We'll show write away how to compile it and run the web application on your computer. In order to download the latest version, run:

$ git clone git://

This will create a folder 'jaqpot3' and download the source code and the pom.xml file where all Maven dependencies are defined. The following commands will compile Jaqpot3 and will start it using in Tomcat:

cd jaqpot3/jaqpot3-standalone/;
mvn clean install;
cd ../jaqpot3-servlet/ ;
rm -r ./src/main/webapp/WEB-INF/classes/ ;
mvn clean tomcat:run ;

The first time you run this it will take some time because your local Maven repository needs to be updated but after that it will be much faster. If everything is as expected you should be able to have Jaqpot running on port 8080 (check out http://localhost:8080 ).

The script we are using to start the server is a bit more elaborate as it includes some configuration of the JVM. We publish it here to for the users that want to do some JVM optimization and for completeness as well.

export export MAVEN_OPTS=... # YOUR JVM options here
export JAVA_HOME=/usr/lib/jvm/java-6-sun-;
cd jaqpot3/jaqpot3-standalone/;
mvn -DskipTests=true clean install ;
cd ../ ;
cd jaqpot3-servlet/ ;
rm -r ./src/main/webapp/WEB-INF/classes/ ;
mvn clean tomcat:run ;

The script we are using for can be downloaded from here. These are the JVM options we use:

-XX:+UseLargePages -XX:LargePageSizeInBytes=1m

You will now need to create policies for certain resources. Open a web browser and navigate to http://your-server-name:8080/login and login using your account credentials (e.g. username guest and password guest). Then go to http://your-server-name:8080/iface/policy and create a policy that determines which individuals and/or groups have the right to access the resource http://your-server-name:8080/shutdown which is used to shut down the server for maintenance. An example policy can be found here