Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

How To Integrate Jetspeed2 with Jetty6

It is pretty simple really. Here are the steps:

Step 0:

Install Jetspeed2. These instructions were tested using the Jetspeed2 installer.

Step 1:

In a new jetty configuration file, or using the etc/jetty-plus.xml config file from the distro, add the following:

  • Define the Jetspeed realm:
  • Define the Jetspeed datasource:
  • Define the Jetspeed webapps

If you are using the etc/jetty-plus.xml file, you don't have to do anything as all webapps in webapps-plus will be automatically deployed on startup. If you want to create your own jetty config file, then you should do the same by copying and pasting this snippet, replacing the 2nd argument with the location of your deploy directory:

Step 2:

  • Copy the Jetspeed webapp
    Copy the webapps/jetspeed directory from your Jetspeed installation directory into your chosen jetty deploy directory (which will be webapps-plus if you're using the defaults).
  • Move the Jetspeed demo portlets
    Assuming you are using webapps-plus as your deploy directory, move all of the demo portlet war files from webapps-plus/jetspeed/WEB-INF/deploy to webapps-plus.

Step 3:

  • Copy the shared jars
    Copy all of the jars in your jetspeed installation's shared/lib directory to your jetty lib directory

That's it, Jetspeed is now installed for jetty. All you have to do is run jetty with the config file you've been editing.

  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery