At 15:54 19/09/2002 +0200, you 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. > >mfg > >Klaus Richarz & Andre Hegerath >Hamburger Berater Team GmbH >Hamburg, Germany
Klaus, you need to do a bit of hacking around it seems to get this to work properly. I've found I need to build it from scratch in order to get it to work, and to add in a patch too. You can find my notes here: http://www.csd.abdn.ac.uk/%7Ebscharla/cocoon.htm Please note that this page will move in the near future, so I'll provide a refresh and redirect when it does. At that point there will also be a binary version that works, if you want to wait until then. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
