Jetspeed2 Installation Quickstart

Here I will write a Quick Start For Impatient this article are based on the article written on th JetSpeed2 Wiki Page but it addresses and solves the problems that this wiki pages didn't mentioned.

Requirements

  • JDK 1.5.0 (Required by Tomcat 5.5)
  • Maven 1.0.2
  • Tomcat 5.5.12
  • Subversion 1.2.1
  • Jetspeed 2 Source code
  • Apache-ant-1.6.5

Note that other versions of Java, Maven, Subversion, Ant, and Tomcat may work. These are the versions used to create this guide on Suse 9.2.

Jetspeed Source

 svn co http://svn.apache.org/repos/asf/portals/jetspeed-2/trunk jetspeed-2

Environment Settings

Set the following environment variables (JRE_HOME is needed by Tomcat 5.5).

Linux

 export JAVA_HOME=/usr/java/jdk1.5.0_04
 export JRE_HOME=/usr/java/jdk1.5.0_04
 export MAVEN_HOME=/home/aabdelaziz/maven-1.0.2
 export CATALINA_HOME=/opt/jakarta-tomcat-5

Windows

 set JAVA_HOME=c:\jdkset JRE_HOME=c:\jdk\jreset   
 MAVEN_HOME=c:\apache-maven-1.0.2set   
 CATALINA_HOME=c:\apache-tomcat-5.5.12\

Modify Tomcat's tomcat-users.xml to contain the following lines

Create build.properties

 Create a build.properties text file in the root of the source  code directory (jetspeed-2).
 org.apache.jetspeed.server.home=/opt/jakarta-tomcat-5
 org.apache.jetspeed.server.shared=/opt/jakarta-tomcat-5/shared/lib
 org.apache.jetspeed.deploy.war.dir=/opt/jakarta-tomcat-5/webapps
 org.apache.jetspeed.services.autodeployment.user=j2deployer
 org.apache.jetspeed.services.autodeployment.password=j2deployer
 org.apache.jetspeed.catalina.version.major=5.5  
 org.apache.jetspeed.project.home=/home/aabdelaziz/OpenCraft/JetSpeed-2/jetspeed-2
 org.apache.jetspeed.portal.home=/home/aabdelaziz/OpenCraft/JetSpeed-2/jetspeed-2 
 ant.home=/home/aabdelaziz/apache-ant-1.6.5

Building Jetspeed

 Build The Maven Plugin
 maven initMavenPlugin

Clean all, build all, and create documentation (allSite is optional)

 maven allClean allBuild allSite

Deploying Jetspeed

 Set up and deploy Jetspeed and the demo portlets
 maven j2:quickStart

Running Jetspeed

 Start Tomcat

 $CATALINA_HOME/bin/startup.sh

View Jetspeed.

 http://localhost:8080/jetspeed 

ebeket

wych erthygl sydd Dw i wedi bod darllen Rwy'n hoffi yr eitem eto gallai fod yn llawer mwy diddorol rhag ofn i chi ysgrifennu ysgrifennwch i fyny am gwyliau unigolion gan gynnwys fel o hyn blog . Tour Pulau Tidung

They really see to it that

They really see to it that there is challenge. That is why people seek for something new. - Marla Ahlgrimm

Powered by Drupal - Design by artinet