portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mark Donaghy <philip.dona...@gmail.com>
Subject Quick start for the impatient
Date Thu, 20 Oct 2005 10:33:07 GMT
Hi all, I am writing a JetSpeed 2 quickstart development guide for the
impatient. I'll put this on the Wiki if it is appropriate.

Requirements

JDK 1.4.1 or higher
Maven 1.0.2
Tomcat 5.5.12
Jetspeed 2 Source code

Set the following environment variables.

Linux and Unix


export MAVEN_HOME=/home/opensource/apache-maven-1.0.2/
export CATALINA_HOME=/home/opensource/apache-tomcat-5.5.12/
export JETSPEED2_SRC=/home/opensource/jetspeed-2/

Windows

set MAVEN_HOME=/home/opensource/apache-maven-1.0.2/
set CATALINA_HOME=/home/opensource/apache-tomcat-5.5.12/
set JETSPEED2_SRC=/home/opensource/jetspeed-2/

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

 <role rolename="manager">
 <user username="j2deployer" password="j2deployer" roles="manager">

Building

maven -Dorg.apache.jetspeed.server.home=$CATALINA_HOME
-Dorg.apache.jetspeed.server.shared=$CATALINA_HOME/shared/lib
-Dorg.apache.jetspeed.deploy.war.dir=$CATALINA_HOME/webapps
-Dorg.apache.jetspeed.services.autodeployment.user=j2deployer
-Dorg.apache.jetspeed.services.autodeployment.password=j2deployer
-Dorg.apache.jetspeed.catalina.version.major=5.5
-Dorg.apache.jetspeed.project.home=$JETSPEED2_SRC initMavenPlugin

maven -Dorg.apache.jetspeed.server.home=$CATALINA_HOME
-Dorg.apache.jetspeed.server.shared=$CATALINA_HOME/shared/lib
-Dorg.apache.jetspeed.deploy.war.dir=$CATALINA_HOME/webapps
-Dorg.apache.jetspeed.services.autodeployment.user=j2deployer
-Dorg.apache.jetspeed.services.autodeployment.password=j2deployer
-Dorg.apache.jetspeed.catalina.version.major=5.5
-Dorg.apache.jetspeed.project.home=$JETSPEED2_SRC j2:start.test.server

maven -Dorg.apache.jetspeed.server.home=$CATALINA_HOME
-Dorg.apache.jetspeed.server.shared=$CATALINA_HOME/shared/lib
-Dorg.apache.jetspeed.deploy.war.dir=$CATALINA_HOME/webapps
-Dorg.apache.jetspeed.services.autodeployment.user=j2deployer
-Dorg.apache.jetspeed.services.autodeployment.password=j2deployer
-Dorg.apache.jetspeed.catalina.version.major=5.5
-Dorg.apache.jetspeed.project.home=$JETSPEED2_SRC allClean allBuild

Running

Start Tomcat

maven -Dorg.apache.jetspeed.server.home=$CATALINA_HOME
-Dorg.apache.jetspeed.server.shared=$CATALINA_HOME/shared/lib
-Dorg.apache.jetspeed.deploy.war.dir=$CATALINA_HOME/webapps
-Dorg.apache.jetspeed.services.autodeployment.user=j2deployer
-Dorg.apache.jetspeed.services.autodeployment.password=j2deployer
-Dorg.apache.jetspeed.catalina.version.major=5.5
-Dorg.apache.jetspeed.project.home=$JETSPEED2_SRC
j2:start.production.server

maven -Dorg.apache.jetspeed.server.home=$CATALINA_HOME
-Dorg.apache.jetspeed.server.shared=$CATALINA_HOME/shared/lib
-Dorg.apache.jetspeed.deploy.war.dir=$CATALINA_HOME/webapps
-Dorg.apache.jetspeed.services.autodeployment.user=j2deployer
-Dorg.apache.jetspeed.services.autodeployment.password=j2deployer
-Dorg.apache.jetspeed.catalina.version.major=5.5
-Dorg.apache.jetspeed.project.home=$JETSPEED2_SRC j2:quickStart


Tomcat 5.5 is telling me that "[/jetspeed] startup failed due to previous
errors". The errors and warnings are in order of appearance.

WARNING: A docBase
/home/opensource/soft/bin/apache-tomcat-5.5.12/webapps/jetspeed
inside the host appBase has been specified, and will be ignored

INFO: WARNING: Security role name admin used in an without being defined in
a

SEVERE: Error filterStart

Does anyone recognize this problem during deployment?

Thanks,
Philip

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message