Thanks
You were right!
But I didn't touch the cocoon.xconfig file!
It was as I got it from the war file!
Any way now I have other problems (the Dr Watson error)
It seams that my jdk1.2
is not good enough so
I will try with jdk1.3.1
let see if it is going to work this time.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tue, June 26, 2001 12:05 PM
To: [EMAIL PROTECTED]
Subject: RE: Handler:java.io.FileNotFoundException: /sitemap.xmap (No
such fil e or directory)
Have a look at the cocoon.xconf file. Near the end, there is a line that
looks something like this:
<sitemap file="sitemap.xmap" reload-method="asynchron"
check-reload="yes"/>
My guess is that this has somehow changed on your machine to
<sitemap file="/sitemap.xmap" reload-method="asynchron"
check-reload="yes"/>
(note the slash).
Try removing the slash.
hth,
tomK
-----Original Message-----
From: Apostolou, Kostantinos
[mailto:[EMAIL PROTECTED]]
Sent: dinsdag 26 juni 2001 9:26
To: '[EMAIL PROTECTED]'
Subject: Handler:java.io.FileNotFoundException: /sitemap.xmap (No such
fil e or directory)
Hi I got the following problem
java.io.FileNotFoundException: /sitemap.xmap (No such file or
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:68)
at
org.apache.cocoon.environment.Source.getInputStream(Source.java:116)
at
org.apache.cocoon.environment.Source.getInputSource(Source.java:165)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:230)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:158)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
at java.lang.Thread.run(Thread.java:479)
It seams that it can't find the sitemap.xmap file.
1.My $TOMCAT_HOME/webapps/cocoon dir looks like this
META-INF WEB-INF cocoon.xconf docs i18n protected resources
sitemap.xmap stylesheets sub templates
I am using an ALPHA server 400 with REDHAT 6.2
JDK1.2
In my CLASS PATH I have the jar files of the following
nis1_2_1
jndi1_2_1
jndi1_1ea2_demo
rmregistry1_2_1
jaf-1.0.1
fscontext1_2beta3
cosnaming1_2_1
I got the Cocoon-2.0b1.tar.gz
And I got a tomcat-3.2.1
My $TOMCAT_HOME/lib directory looks like
ant.jar jasper.jar servlet.jar test webserver.jar xerces_1_4_0.jar
I attatched the log file
<<cocoon.log>>
Does anybody have any suggestion?
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>