Deploying Jetspeed 2 to JBoss 5.1.0GA
Instructions
This has been test on JBoss 5.1.0GA.
- Run the installer for Jetspeed found on the Jetspeed2 page. Here: http://portals.apache.org/jetspeed-2/getting-started-installer.html
- Copy the /Jetspeed-2.2.0/webapps/jetspeed/ into /jboss-5.1.0.GA/server/default/deploy/jetspeed/ (directory)
- Rename the /jboss-5.1.0.GA/server/default/deploy/jetspeed/ to /jboss-5.1.0.GA/server/default/deploy/jetspeed.war/ otherwise Jboss wil not deploy it.
- Copy these jars from /Jetspeed-2.2.0/lib/ into /jboss-5.1.0.GA/server/default/lib/
- ccpp-1.0.jar
- derby-10.3.2.1.jar
- jetspeed-api-2.2.0.jar
- jetspeed-commons-2.2.0.jar
- jsp-api.jar
- pluto-container-api-2.0.0.jar
- pluto-taglib-2.0.0.jar
- portals-bridges-common-1.0.4.jar
- portlet-api_2.0_spec-1.0.jar
- servlet-api.jar
- Copy the /Jetspeed-2.2.0/pages/ directory to /jboss-5.1.0.GA/server/default/pages/
- Create a datasource in the /jboss-5.1.0.GA/server/default/deploy/ to use the default Derby database call it something like derby-ds.xml. The file should contain the contents below. Assuming you installed Jetspeed in C:\Apache\Jetspeed-2.2.0.
<datasources> <local-tx-datasource> <jndi-name>JetspeedDS</jndi-name> <connection-url>jdbc:derby:C:\Apache\Jetspeed-2.2.0\database/derby/productiondb;create=true</connection-url> <driver-class>org.apache.derby.jdbc.EmbeddedDriver</driver-class> <user-name></user-name> <password></password> </local-tx-datasource> </datasources>
Start JBoss using the \bin\run.bat navigate to http://localhost:8080/jetspeed/portal/