Thomas, here are some instructions I posted a few days ago:



I am running one of the Jetspeed daily snapshots from early September, plus
Tomcat 3.1

and here are the steps that I followed on Windows 2000.



1. the jetspeed content folder is basically web application, so copy it to
your

   webapps folder, resulting in \tomcat\webapps\content

2. create a new folder (mine is \tomcat\webapps\jetspeed-system) and create
subfolders

   cache, conf, and logs underneath.

3. copy the 4 files from \jetspeed\src\conf to
\tomcat\webapps\jetspeed-system\conf

4. I also created an empty file named jetspeed-turbine.log

   in the folder \tomcat\webapps\jetspeed-system\logs



Next change several config files:

1. update the tomcat.bat file so that it includes all the jetspeed jar
files from

   \jetspeed\bin and jetspeed\lib

2. update the file \tomcat\webapps\root\web-inf\web.xml as follows. The
param-value

   tag should point to where your TurbineResources.properties file is.



   <?xml version="1.0" encoding="ISO-8859-1"?>

   <!DOCTYPE web-app

       PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"

       "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">

   <web-app>

       <servlet>

           <servlet-name>

               jetspeed

           </servlet-name>

           <servlet-class>

               Turbine

           </servlet-class>

           <init-param>

               <param-name>

                    properties

               </param-name>

               <param-value>

                   /jetspeed-system\conf/TurbineResources.properties

               </param-value>

           </init-param>

       </servlet>

   </web-app>



3. update the turbine and jetspeed config files in
\tomcat\webapps\jetspeed-system\conf

   as follows, making adjustments if you have different folder names.



   JetspeedResources.properties:

      ...

      jetspeed.config=/jetspeed-system/conf/jetspeed-config.jcfg

      ...

      cache.directory=/C:/TOMCAT/WEBAPPS/jetspeed-system/cache

      ...


cocoon.properties.file=/tomcat/webapps/jetspeed-system/conf/cocoon.properties





    TurbineResources.properties:


module.packages=org.apache.jetspeed.turbine.actions,org.apache.jetspeed.turbine.layouts,org.apache.jyve,org.apache.jetspeed.turbine,org.apache.turbine.modules

      ...

       screen.ImageServer.root=c:/tomcat/webapps/ROOT/content/images

       ...

       logfile=/tomcat/webapps/jetspeed-system/logs/jetspeed-turbine.log

       ...


jetspeed.properties=/tomcat/webapps/jetspeed-system/conf/JetspeedResources.properties





4. update \tomcat\conf\web.xml to add new MIME type entries for RSS, CDF,
OCS, and XML,

   setting them all the text/xml.





Now you should be ready to go, so try
http://localhost:8080/servlet/jetspeed






--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to