You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@portals.apache.org by Apache Wiki <wi...@apache.org> on 2009/10/27 14:21:24 UTC

[Portals Wiki] Update of "Jetspeed2/JBoss5HowTo" by MattReed

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Portals Wiki" for change notification.

The "Jetspeed2/JBoss5HowTo" page has been changed by MattReed.
http://wiki.apache.org/portals/Jetspeed2/JBoss5HowTo

--------------------------------------------------

New page:
#pragma section-numbers off
= Deploying Jetspeed 2 to JBoss 5.1.0GA =


== Instructions ==

This has been test on JBoss 5.1.0GA.

  1. Run the installer for Jetspeed found on the Jetspeed2 page. Here: http://portals.apache.org/jetspeed-2/getting-started-installer.html
  1. Copy the /Jetspeed-2.2.0/webapps/jetspeed/ into /jboss-5.1.0.GA/server/default/deploy/jetspeed/ (directory)
  1. 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.
  1. Copy these jars 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
  1. 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.
{{{
<datasources>
	<local-tx-datasource>
    <jndi-name>JetspeedDS</jndi-name>
    <connection-url>jdbc:derby:C:\Apache2\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>
}}}
  1. Copy the /Jetspeed-2.2.0/pages/ directory to /jboss-5.1.0.GA/server/default/pages/