Installation

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. Configure Proxy in JBoss Start up Script

This step is only required if you running the server behind a firewall. It tells the server which HTTP proxy to use. This is required by the demo application to fetch the SlashDot news feed from the Internet.

Edit the <JBOSS>\jboss\run script and add the following:

set PROXY_PARAMS=-DproxyHost=hhhhhh -DproxyPort=pppp

Where hhhhh is the host of your HTTP proxy and pppp is the port number of your proxy

Modify the line that starts with:

java %JAXP%  -classpath "%JBOSS_CLASSPATH%" ...

to

java %JAXP% %PROXY_PARAMS% -classpath "%JBOSS_CLASSPATH%" ...

4. Configure File Based Profile STore in JBoss Start up 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% %PROXY_PARAMS% -classpath ...

and change it to read:

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

4. Install the demo application

Copy the demoportal.war  from <JPORTA>\demo into the <JBOSS>\jboss\deploy folder.

5. Start up JBoss

Start up JBoss by running the <JBOSS>\jboss\run_with_catalina script. During startup you should see the demoportal.war file being deployed.

6. Access the application

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