Ed Knutson wrote:
> 
> Looks ok.  Have you tried the URL http://hostname/jetspeed/servlet/jetspeed?
> Unless you set up the web-app in the root zone, you need to put the name of the
> zone at the beginning of the URI.
> 
> I'm a little unsure what ApJServMount does in this situation.  There are two
> possibilities:
> 
> 1) It maps requests from the main webserver "directory" /jetspeed to the root
> zone of Tomcat.  This means you should set up Jetspeed in the root zone of
> Tomcat and access it like http://hostname/servlet/jetspeed, or simply change
> the line to ApJServMount /jetspeed /jetspeed and use the first URL in this
> message.
> 
> 2) It maps /jetspeed to the root zone of the mod_jserv side, which is later
> reconstructed by Tomcat as the /jetspeed zone, in which case you don't need to
> change any config files, but simply access it using the first URL I mentioned.
> 
> Let me know which one is the case: it's something I've wondered for a while but
> never have time to really play with....

 It behaves like in 2). I have now jetspeed running ! Thank you !

But I've got just another question : When jetspeed tries to access
web documents outside my firewall, it fails. How can I set up
environnement variables to tell java to use my http proxy ?

 I'm also trying to start the FeedDaemon, with the following errors :
Starting FeedDaemon
java.lang.NullPointerException
        at
org.apache.turbine.services.resources.TurbineResources.getString(TurbineResources.java:353)
        at org.apache.turbine.util.Log.init(Log.java:112)
        at org.apache.turbine.util.Log.<clinit>(Log.java:102)
        at
org.apache.jetspeed.util.JetspeedResources.getInstance(JetspeedResources.java:180)
        at org.apache.jetspeed.daemon.FeedDaemon.<clinit>(FeedDaemon.java)
org.apache.jetspeed.util.JetspeedException: --turbineresources: is a
required option
        at
org.apache.jetspeed.util.JetspeedInitializer.getOption(JetspeedInitializer.java:117)
        at
org.apache.jetspeed.util.JetspeedInitializer.init(JetspeedInitializer.java:81)
        at org.apache.jetspeed.daemon.FeedDaemon.main(FeedDaemon.java:424)
Starting PersistentDocumentDaemon
org.apache.jetspeed.util.JetspeedException: --turbineresources: is a
required option
        at
org.apache.jetspeed.util.JetspeedInitializer.getOption(JetspeedInitializer.java:117)
        at
org.apache.jetspeed.util.JetspeedInitializer.init(JetspeedInitializer.java:81)
        at
org.apache.jetspeed.daemon.PersistentDocumentDaemon.main(PersistentDocumentDaemon.java:139)

 They are started with this script :
#!/bin/sh
JSHOME=/usr/local/Jetspeed-1.1/lib/
CLASSPATH=${JSHOME}../Jetspeed.jar:${JSHOME}castor-0.7.4.jar:${JSHOME}cocoon.jar:${JSHOME}cocoon-ext-servlet2.2.jar:${JSHOME}ecs.jar:${JSHOME}turbine-2.0.jar:${JSHOME}village.jar:${JSHOME}xalan.jar:${JSHOME}xerces.jar
export CLASSPATH
echo "Starting FeedDaemon"
java
-Djetspeed.properties=${JSHOME}../src/config/JetspeedResources.properties
org.apache.jetspeed.daemon.FeedDaemon
echo "Starting PersistentDocumentDaemon"
java
-Djetspeed.properties=${JSHOME}../src/config/JetspeedResources.properties
org.apache.jetspeed.daemon.PersistentDocumentDaemon

 Thanks

        Fabrice


--
--------------------------------------------------------------
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