Message-ID: <658983939.3402.1369372495465.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3401_1968895966.1369372495464" ------=_Part_3401_1968895966.1369372495464 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The only thing to be aware of is that jetty6 does not s=
upport hot deployment. This means that if you copy portlet webapps into the=
WEB-INF/deploy directory, you must restart jetty6 i=
n order for them to be deployed into jetty6 itself.
Install Jetspeed2. These instructions were tested using the Jetspeed2 installer with Je= tspeed-2.0.2.
Step 1: Configure jetty6
In a new jetty configuration file, or using the
config file from the distro, add the following:
These instructions are for defining a datasource which uses Derby embedd= ed. If you installed Jetspeed2 with a different database, you will need to = provide the configuration for a different DataSource. You might find it hel= pful to look at the jetty6 User Guide for J= NDI.
If you are using the
etc/jetty-plus.xml file, you don't hav=
e to do anything as all webapps in
webapps-plus will be automa=
tically deployed on startup. If you want to create your own jetty config fi=
le, then you should do the same by copying and pasting this snippet, replac=
ing the 2nd argument with the location of your deploy directory:
shared/libdirectory to your jetty
Step 2: Setup Jetspeed2
webapps/jetspeeddirectory from your Jetspeed install= ation directory into your chosen jetty deploy directory (which will be
Step 3: Start jetty6
There is an error when running the Jetspeed demo in jetty6 beta14 - beta= 16 with JDK1.5. To resolve this issue, remove the jsp-2.1.jar and jsp-api-= 2.1.jar from jetty lib/jsp-2.1 directory. After removing the jars, proceed = to Step 4.
Step 4: Restart jetty6
Once all the portlets have been deployed, you need to stop and restart j= etty6 so it picks up the auto-deployed portlet wars from the previous step.=
That's it, the Jetspeed2 demo is now installed for jetty.
|"A Note on Logging"|
You may want to mess around with the logging jars a little. Jetty ships =
with a bridge from commons-logging to the slf4j logging framework (see