You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Lee <pa...@skinnypigeon.com> on 2002/09/08 19:20:25 UTC
Newbie installing Cocoon2.0.3 on WinXP, WebLogic 6.1sp3
Hello all, I am trying to do what I mentioned in the subject line. I
went to the cocoon "installing page" and followed the instructions as
closely as I could (I am assuming that installing on WLS 6.0sp2 is
similar to 6.1sp3). The following are the exact steps that I did:
- fresh install of WLS 6.1sp3 on my WinXP
- downloaded cocoon 2.0.3 binary for JVM 1.3, unzipped
- copied xercesImpl-2.0.0.jar and xml-apis.jar to d:\bea. Added the
following line to startWebLogic.cmd:
set CLASSPATH=d:\bea\xercesImpl-2.0.0.jar;d:\bea\xml-apis.jar
- added the following lines to config.xml:
<Application Deployed="true" Name="Cocoon"
Path="./config/mydomain/applications">
<WebAppComponent Name="cocoon" Targets="myserver" URI="cocoon"/>
</Application>
- unzipped cocoon.war, copied to mydomain/applications/
I then started WLS, and on the WLS console it seems that cocoon started
successfully. I then tried to hit it with the browser
(http://localhost:7001/cocoon/) but got the following error
========================= start of error ======================
Cocoon 2 - Internal server error
type fatal
message Language Exception
description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 0, column 0: error: java.io.IOException: read error 1
error
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
error: java.io.IOException: read error
1 error
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateResource(ProgramGeneratorImpl.java:340)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:292)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:265)
at java.lang.Thread.run(Thread.java:479)
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
error: java.io.IOException: read error
1 error
at
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(JavaLanguage.java:243)
at
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.load(CompiledProgrammingLanguage.java:207)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateResource(ProgramGeneratorImpl.java:388)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateResource(ProgramGeneratorImpl.java:333)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:292)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:265)
at java.lang.Thread.run(Thread.java:479)
request-uri
/cocoon/
path-info
========================= end of error ======================
Since then I tried to install with loading cocoon.war through the WLS
console and copying cocoon.war into the applications directory (as
opposed the unzipped directories), but each time I got the same error.
Seems that my sitemap.xmap is not being read correctly although I have
not done anything to it yet.
Any pointers/suggestions would be greatly appreciated.
Paul
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>