eXo Platform is packaged as a deployable enterprise archive defined by the Java EE specification, and as a configuration directory.

The easiest way to install eXo Platform is to take the default bundle. This is a ready-made package on top of Tomcat 6 application server, so you simply need to copy the bin/tomcat6-bundle/ directory to your server.

eXo comes with several builtin startup scripts:

start_eXo scripts launch eXo with the following JVM options:

-Xms256m 
-Xmx1024m 
-XX:MaxPermSize=256m 
-Djava.security.auth.login.config=../conf/jaas.conf  
-Dexo.conf.dir.name=gatein/conf 
-Dexo.profiles=default
-Xms Minimal heap size (defaults to 256 MB)
-Xmx Maximal Heap Size of (defaults to 1 GB)
-Djava.security.auth.login.config path to the JAAS security file where the security domains are and JAAS authentication modules are declared
-Dexo.conf.dir.name path where eXo will start looking at configuration.properties and configuration.xml
-Dexo.profiles the list of comma-separated exo profiles to activate

This is enough to start and run a demo, but you will need to adjust these values for a production setup.

gatein-dev scripts launch eXo in developer mode with a few more JVM options.

-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n 
-Dcom.sun.management.jmxremote 
-Dorg.exoplatform.container.configuration.debug 
-Dexo.product.developing=true 
-Dcom.sun.management.jmxremote activates the JMX remoting
-Xdebug Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n enables remote debugging
-Dorg.exoplatform.container.configuration.debug the container will log to the console what xml files it loads
-Dexo.product.developing=true deactivates javascript and css merging for easier debugging

We provide EARs packages to deploy in your existing JBoss application server. They are located in the folder bin/jboss5-eap-ears/.

To install eXo Platform on JBoss, follow these steps:

1. Copy files in jboss-root/server/default/deploy

2. Create a folder jboss-root/server/default/conf/gatein

Copy these files:

3. Copy these files in jboss-root/bin

4. Configure JVM parameters

On Linux, add these lines at the end of jboss-root/bin/run.conf:

On Windows, add these lines at the end of jboss-root/bin/run.conf.bat:

Adapt to your needs:

5. Add eXo logging categories in jboss-root/server/default/conf/jboss-log4j.xml

6. Start up

The server has started when you see the following message in your log/console:

INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.1 (build: ...)] Started in 3m:29s:259ms

7. Shut down

The server has stopped when you see the following message in your log/console:

INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (JBoss Shutdown Hook) Shutdown complete