Okay, the new build is now working for me, after reading Carol's missing
steps:
> 2. Also two empty folders are needed:
> C:\TOMCAT\WEBAPPS\jetspeed\WEB-INF\cache
> C:\TOMCAT\WEBAPPS\jetspeed\WEB-INF\log\tmp
Missing step 2 was the problem. I didn't have a cache directory, and
JetspeedDiskCache.java was getting a NullPointerException in initEntries()
when it tried to access a directory (cache) that didn't exist
Can we change the webapp build to:
1. create the \cache and \log\tmp directories
2. distribute an empty jetspeed.log
3. distribute the webmacro.jar in lib
Thanks Carol !
Raphael, the new WAR build is great. It is also very easy to install (as
I've now done 3 times this morning....)
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Carol Jones
> Sent: Tuesday, December 12, 2000 6:35 AM
> To: JetSpeed
> Subject: Re: WAR support, part 2
>
>
> This is really great Raphael, things are much easier!
>
> I noticed a few minor problems:
>
> 1. The webapp needs an empty file called
> C:\TOMCAT\WEBAPPS\jetspeed\WEB-INF\log\jetspeed.log
> (otherwise there is a stack trace on startup)
>
> 2. Also two empty folders are needed:
> C:\TOMCAT\WEBAPPS\jetspeed\WEB-INF\cache
> C:\TOMCAT\WEBAPPS\jetspeed\WEB-INF\log\tmp
>
> 3. The WebMacro.jar is missing from the distribution, causes a
> stack trace.
>
> 4. In JetspeedResources.properties I had to change this property:
> xmlportletcontroller.stylesheet=/WEB-INF/xsl/defaultstyle.xsl
>
> 5. Also in JetspeedResources.properties:
> metadata.default.image=image/portlets/default.gif should be changed?
> (I think it should be images/default.gif but that file does
> not exist)
>
> 6. In TurbineResources I changed
> screen.ImageServer.root=/tomcat/webapps/jetspeed/images
> but I wonder if this is really used anywhere?
>
> Carol
>
>
>
>
>
> [EMAIL PROTECTED]
>
> ivendi.net To:
> JetSpeed <[EMAIL PROTECTED]>
> Sent by: cc:
>
> <[EMAIL PROTECTED] Subject:
> WAR support, part 2
> dogs.com>
>
>
>
>
>
> 12/11/2000 07:14 PM
>
> Please respond to
>
> "JetSpeed"
>
>
>
>
>
>
>
>
>
> OK, I've stabilized the WAR support and it's now ready for testing:
>
> Using the WAR:
>
> 1. checkout the source and go to the build directory
> cd <jetspeedRoot>/build
>
> 2. build
> [Win32/DOS] .\build webapp
> [Win32/cygnus] bash build.sh webapp
> [unix] ./build.sh webapp
>
> 3. get a servlet 2.2 runner like tomcat
> http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2/bin/
>
> 4. unzip the tomcat distribution
>
> 5. copy the jetspeed WAR file to the Tomcat webapps directory
>
> [Win32] copy <jetspeedRoot>\bin\jetspeed.jar <tomcat_home>\webapps\
> [Unix] cp <jetspeedRoot>/bin/jetspeed.jar <tomcat_home>/webapps/
>
> 6. start Tomcat
>
> [Win32] <tomcat_home>\bin\startup.bat
> [Unix] <tomcat_home>/bin/startup.sh
>
> 7. Connect to Jetspeed
> http://localhost:8080/jetspeed/
>
> There are 2 default accounts created:
> Login: turbine Password: turbine
> Login: admin Password: jetspeed
>
> 7a. If you want the registration to work and you're on NT without a local
> SMTP
> server:
> - either download a free SMTP server implementation and install it on
> your
> computer.
> For example: http://java.apache.org/james/
> - or modify the mailhost setting in
>
> <tomcat_home>/webapps/jetspeed/WEB-INF/conf/TurbineResources.properties
>
>
> I'll strangle the next one who'll ask how to install Jetspeed... :)
>
> --
> Rapha�l Luta - [EMAIL PROTECTED]
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
> Problems?: [EMAIL PROTECTED]
>
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
> Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]