Hello,
we are using cocoon with JBoss/Catalina. We have packed the cocoon.war file into an .ear file to set the context-root to "/cocoon".
Everything works fine with 3.0.0/4.0.3 & JDK 1.3.1_03.
Now we have upgraded JBoss/Catalina from 3.0.0/4.0.3 to 3.0.2/4.0.4.
Result: we cannot deploy Cocoon 2.0.3 anymore - worse: we cannot deploy our enterprise-application using cocoon anymore.
Stack Trace:
java.io.FileNotFoundException: C:\MIDDLE_TIER\jboss-3.0.2_tomcat-4.0.4\bin\jndi:\localhost\sitemap.xmap (Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:59)
at java.io.FileInputStream.(FileInputStream.java:90)
at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:140)
at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:367)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:333)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:265)
at java.lang.Thread.run(Thread.java:479)
Any help would be appreciated.
mfg
Klaus Richarz & Andre Hegerath
Hamburger Berater Team GmbH
Hamburg, Germany
I have had exactly the same problem.
As a workaround I unpacked the cocoon.war file in a subdirectory off of the jboss deploy directory like this:
C:\jboss-3.0.2_tomcat-4.0.4\server\default\deploy\cocoon.war\
it seems to work now