Here are the steps to follow for jetspeed installation
[EMAIL PROTECTED]
Installation of Jetspeed under Windows
1. Download Java 2 SDK v 1.2.2_006 Windows 95/98/2000/NT Production Release
from http://java.sun.com/products/jdk/1.2/
2. Download Tomcat 3.1 from
http://jakarta.apache.org/downloads/binindex.html
3. Download Jetspeed-1.1.zip from http://java.apache.org/jetspeed/dist/
4. Install the jdk-1_2_2_006-win.exe by double-clicking it to E:\jdk1.2.2
(for example) and E:\JavaSoft
5. Unzip the Jakarta-Tomcat.zip to F:\ (the jakarta-tomcat directory and the
subfolders are automatically created by Winzip)
6. Unzip the Jetspeed-1.1.zip to F:\ (the jetspeed-1.1 directory and the
subfolders are automatically created by Winzip)
7. Add the following lines to your Autoexec.bat (normaly located in C:\
set TOMCAT_HOME=F:\jakarta-tomcat
set JAVA_HOME=E:\jdk1.2.2
8. Add to the Path in your Autoexec.bat file E:\JDK1.2.2\Bin resulting in
something like
set PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;E:\JDK1.2.2\Bin
9. Open the hosts file in the Directory C:\Windows and enter your IP-Adress
and computername (if it is not already there) resulting in something like
127.0.0.1 localhost
192.92.92.1 mycomputer
10. Go to the jakarta-tomcat\bin directory, right-click on the tomcat.bat,
select properties and then Memory, change the value of the first row, right
column (in German urspruenglicher Umgebungsspeicher)
11. Enter in marked field 1024
12. Do the same to the files startup.bat and shutdown.bat, but enter 4096 in
the marked properies/Memory field (maybe less would be sufficient but I
haven't tested it).
13. Execute the startup.bat file, DOS window opens and a second DOS window
opens and the first one is closed. (the second is named java and keeps open.
14. Open a browser (I used Netscape Ok Tomcat is ok and) and point it to
http://localhost:8080/
15. OK Tomcat is working now, you can try the JSP Examples and the Servlet
Examples.
16. End Tomcat with by executing the shutdown.bat file
17. Copy the F:\jetspeed-1.2b1\src\content folder to
F:\jakarta-tomcat\webapps\root, resulting in a
F:\jakarta-tomcat\webapps\root\content folder.
18. Create in F:\jakarta-tomcat\webapps\root a folder jetspeed-system
19. Create in F:\jakarta-tomcat\webapps\root\jetspeed-system a folder cache
20. Create in F:\jakarta-tomcat\webapps\root\jetspeed-system a folder conf
21. Create in F:\jakarta-tomcat\webapps\root\jetspeed-system a folder logs
22. Create in F:\jakarta-tomcat\webapps\root\jetspeed-system\logs an empty
Textfile:
Click right into the folder, select new, select Text document. Then rename
the document to jetspeed-turbine.log
23. Copy the four files in F:\jetspeed-1.2b1\src\config (cocoon.properies ;
javamail.providers ; JetspeedResources.properties and
TurbineResources.properties) into the folder
F:\jakarta-tomcat\webapps\root\jetspeed-system\conf.
23. copy all the files in jetspeed lib folder in tomcat lib folder, copy
jetspeed.jar in tomcat lib folder
24. Open the F:\jakarta-tomcat\bin\tomcat.bat file and and the following
lines
set CLASSPATH=.
set CLASSPATH=%TOMCAT_HOME%\classes
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\Jetspeed.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\castor.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon-ext-servlet2.2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\ecs.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jyve-2.0.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\turbine-2.0.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\village.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\stylebook-1.0-b2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
if "%cp%" == "" goto next
25. Open the F:\jakarta-tomcat\webapps\Root\Web-inf\web.xml file and change
it to this:
<?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>
26. Open the
F:\jakarta-tomcat\webapps\root\jetspeed-system\conf\JetspeedResources.proper
ties
file and change the following lines
enable.userauthentication = false
cache.directory=/f:/jakarta-tomcat/webapps/root/jetspeed-system/cache
public.cache.directory=/jakarta-tomcat/webapps/jetspeed-system/cache
public.cache.url=/jetspeed-system/cache
xmlportletcontroller.stylesheet=/jakarta-tomcat/webapps/root/content/xml/def
aultstyle.xsl
cocoon.properties.file=/jakarta-tomcat/webapps/root/jetspeed-system/conf/coc
oon.properties
temp.directory=/jakarta-tomcat/webapps/jetspeed-system/cache
27. Open the
F:\jakarta-tomcat\webapps\jetspeed-system\conf\TurbineResources.properties
file and change the following lines
module.packages=org.apache.jetspeed.turbine.actions,org.apache.jetspeed.turb
ine.layouts,
org.apache.jyve,org.apache.jetspeed.turbine,org.apache.turbine.modules
screen.ImageServer.root=F:/jakarta-tomcat/webapps/root/content/images
logfile=F:/jakarta-tomcat/webapps/root/jetspeed-system/logs/jetspeed-turbine
.log
jetspeed.properties=
/jakarta-tomcat/webapps/root/jetspeed-system/conf/JetspeedResources.properti
es
28. Open the F:\jakarta-tomcat\conf\web.xml file and add those lines
<mime-mapping>
<extension>
rss
</extension>
<mime-type>
text/xml
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
cdf
</extension>
<mime-type>
text/xml
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ocs
</extension>
<mime-type>
text/xml
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
xml
</extension>
<mime-type>
text/xml
</mime-type>
</mime-mapping>
29. Start Tomcat by executing F:\jakarta-tomcat\bin\startup.bat
30. Go Online (if you are not already) open your browser point it to
http://localhost:8080/servlet/jetspeed
31. The Coocon Portlet Example sends a error Message (do not know why,
still working on it).
32. Close the browser and end tomcat with the
F:\jakarta-tomcat\bin\shutdown.bat file
**********************************************
"Remember, there is no 'I' in the team"
Milind Agarkar
ph. 020 7809 3231
================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and
are sent for the personal attention of the addressee. Although you may be the named
recipient, it may become apparent that this email and its contents are not intended
for you and an addressing error has been made. This email may include information that
is legally privileged and exempt from disclosure. If you have received this email in
error, please advise us immediately and delete this email and any attachments from
your computer system.Rabobank International is the trading name of Co�peratieve
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands.
Registered with the Registrar of Companies for England & Wales No. BR002630 and
regulated by the SFA for the conduct of investment business in the UK.
The presence of this footnote also confirms that this email has been automatically
checked by Rabobank International for the presence of computer viruses prior to it
being sent, however, no guarantee is given or implied that this email is virus free
upon delivery.
--
--------------------------------------------------------------
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]