Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 56529 invoked by uid 500); 9 Jul 2002 15:06:35 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 56517 invoked from network); 9 Jul 2002 15:06:34 -0000 Message-ID: <3D2AFBF9.7030802@kelkoo.com> Date: Tue, 09 Jul 2002 17:06:33 +0200 From: Sebastien SACARD Reply-To: sebastien.sacard@kelkoo.com Organization: Kelkoo User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020320 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: [broken link] while running org.apache.cocoon.Main Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Warning: SpamAssassin says this message is FINE :-) X-Scanned-By: MIMEDefang 2.15 (www dot roaringpenguin dot com slash mimedefang) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I successfully installed cocoon under tomcat, and run it also in command line through an Ant task. But now I'm trying to run it through a simple shell script, I'm getting : DEBUG 10262 [ ] (): Set the URI Prefix (OLD=, NEW=) DEBUG 10262 [ ] (): Reset context to file:/opt/backoffice/tomcat/webapps/cocoon/ WARN 10262 [ ] (): [broken link]--> static/index800.html INFO 10262 [ ] (): Memory used: 6485024 INFO 10262 [ ] (): Processed, Translated & Left: 0, 0, 0 What is exactly a broken link? When I look into the Main.java source, I understand it's an URI cocoon can't figure out, but I don't understand if it's a context definition problem (which is obviously not because of the "Reset context" line in the trace), or another problem. My cocoon installation is a full version (sample, doc, etc ...) , so I expected at least to access the documentation files, but I get the same error. I think all the classpath and all the parameters are set properly, so I'm wondering what I missed... Any idea or direction to look at ? Here is my script : # define the working directory CONTEXT=/opt/backoffice/tomcat/webapps/cocoon # define the classpath CLASSPATH="" for i in /opt/backoffice/tomcat/webapps/cocoon/WEB-INF/lib/*.jar; do CLASSPATH=$CLASSPATH:$i;done; CLASSPATH=$CLASSPATH:/opt/backoffice/tomcat/webapps/cocoon/WEB-INF/classes CLASSPATH=$CLASSPATH:/opt/backoffice/javalib/xml/xalan.jar CLASSPATH=$CLASSPATH:/opt/backoffice/javalib/xml/xerces.jar CLASSPATH=$CLASSPATH:/opt/backoffice/javalib/xml/xml-apis.jar CLASSPATH=$CLASSPATH:/opt/backoffice/tomcat/webapps/cocoon/static/resources CLASSPATH=$CLASSPATH:/usr/java/jdk/lib/tools.jar CLASSPATH=$CLASSPATH:/opt/backoffice/tomcat/lib/servlet.jar /usr/java/jdk/bin/java -classpath $CLASSPATH org.apache.cocoon.Main -c$CONTEXT -uDEBUG -C./WEB-INF/cocoon.xconf -d/opt/public/data/index/fr -w/opt/backoffice/tmp/work -l/opt/backoffice/tmp/log/cocoon.log $@ Thanks for your help ! --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: