Install

The Jeenius framework is design to work with any 2.3 compilant servlet engine. The following instructions detail the installation of the demo application using JBoss 2.4.4.

1. Install JBoss 2.4.4 (with integrated Tomcat 4.0.1 stack)

Download and install JBoss from http://www.jboss.org.

2. Install Xalan 2.3.1

To use the tranform tag a JAXP tranformation engine is required. Download Xalan 2.3.1 from http://xml.apache.org/xalan-j/

Copy the xalan.jar file into the <JBOSS>jboss\lib\ext directory

3. Install the demo application

Copy the demo.war and the demo.jar files from <JEENIUS>\demo into the <JBOSS>\jboss\deploy folder.

4. Update JBoss startup script

Edit the <JBOSS>\jboss\run script find the line that reads:

set JAXP=%JAXP% ...

and add the following lines after it:

SET PROFILE_STORE_FACTORY_CLASS=com.mentumgroup.jeenius.profilestore.file.FileProfileStoreFactory
SET PROFILE_STORE_FACTORY_SETTINGS=-Dcom.mentumgroup.jeenius.profilestore.file.FileProfileStoreFolder=<JEENIUS>/etc
SET PROFILE_STORE_PARAM=-Dcom.mentumgroup.jeenius.profilestore.ProfileStoreFactory=%PROFILE_STORE_FACTORY_CLASS%
%PROFILE_STORE_FACTORY_SETTINGS%

Find the line that reads:

java %JAXP% -classpath ...

and change it to read:

java %JAXP% %PROFILE_STORE_PARAM% -classpath ...

5. Start up JBoss

Start up JBoss by running the <JBOSS>\jboss\run_with_catalina script. During startup you should see the demo.war and demo.jar files being depployed.

6. Access the application

Point your browser at http://127.0.0.1:8080/demo to view the demo application.