I edited the ./bin/tomcat.sh to add the
-DJETSPEED_RESOURCES=/path/to/file/Jetspeed.properties just after JAVACMD is
set so I added the line
JAVACMD="${JAVACMD} -DJETSPEED_RESOURCES=/path/to/file/Jetspeed.properties
you should be able to set this environment variable just before you run the
./startup script as well.
You should move the content directory into the ./dist/tomcat directory and edit
the server.xml to add it...
I was also having problems finding some classes so I overrode the TOMCAT_HOME
variable to be an absolute path to the ./dist/tomcat directory like this export
TOMCAT_HOME=/path/to/tomcat/install/dist/tomcat so my classpath was set
properly..this might just be a problem with java 1.2 prev2.
Lastly...edit your Jetspeed.properties file there are some things you need to
set in there to point to the correct location..you should be able to figure it
out..
NOTE: this is what worked for me..it might not be the proper way to set things
up..but at least I got to sneak a peak at it running by doing this.
Cheers
"Gregg A. Fabbri" wrote:
> Congrats James, I too am having problems. Would you mind sharing with
> me your insight.
>
> I have put the Jetspeed.properties file everwhere and have had no luck.
> I could not find any real documentation as to how to set up init values
> in the web.xml file but have tried several thing with nothing working.
>
> My latest attempt looks like this.
>
> <web-app>
> <servlet>
> <servlet-name>
> jetspeed
> </servlet-name>
> <servlet-class>
> org.apache.jetspeed.Home
> </servlet-class>
> <init-param>
> <param-name>
> JETSPEED_RESOURCES
> </param-name>
> <param-value>
> ./JetSpeedResources.properties
> </param-value>
> </init-param>
> </servlet>
> </web-app>
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Gregg Fabbri
>
> James Seigel wrote:
> >
> > Wahoo.....got it working last night.....
> >
> > Anyone know how to invalidate the cache for a source properly?
> >
> > Cheers
> > James.
> >
> > James Seigel wrote:
> >
> > > I looked through the archives as best I could and I hope that this
> > > question doesn't offend...as this is my first post.
> > >
> > > Jakarta + JetSpeed
> > >
> > > Could someone take the time and explain how one would get JetSpeed
> > > working with Jakarta and get into specifics with the server.xml and
> > > web.xml files. I spent several hours last night trying to get it to go
> > > an all I got was this lousy t-shirt. I mean I got close but I can't
> > > seem to get it to read the JetSpeed.properties file.
> > >
> > > I looked on the online install guide and it says to put that file in a
> > > slightly different place {java.home|/lib directory..has anyone had any
> > > luck?
> > >
> > > Thanks.
> > >
> > > James
> > >
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]