Klaus Richarz wrote:

>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.jav
>a:140)
>       at
>org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(Abst
>ractStreamSource.java:161)
>       at
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
>eResource(ProgramGeneratorImpl.java:367)
>       at
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
>esource(ProgramGeneratorImpl.java:333)
>       at
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
>ogramGeneratorImpl.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.
>

Here is any help: Check how filename was created, why "jndi:" in here. 
See in the log files how sitemap name was resolved.


Vadim



>mfg
>
>Klaus Richarz & Andre Hegerath
>Hamburger Berater Team GmbH
>Hamburg, Germany
>  
>


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to