> -----Original Message----- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > > From: Artur Bialecki [mailto:[EMAIL PROTECTED]] > > > > > > I'm upgrading from 2.0.2 to 2.0.3 and now I get the following error: > > > > ERROR (2002-08-09) 11:15.00:338 [sitemap] > > (/NASApp/dfc/common/controlpanel.xml) Thread-39/Handler: Error > compiling > > sitemap > > java.io.FileNotFoundException: /WEB- > > INF/work/org/apache/cocoon/www/sitemap_xmap.java (No such file or > directory) > > at java.io.FileOutputStream.open(Native Method) > > at java.io.FileOutputStream.<init>(FileOutputStream.java:102) > > at java.io.FileOutputStream.<init>(FileOutputStream.java:62) > > at java.io.FileOutputStream.<init>(FileOutputStream.java:132) > > at java.io.FileWriter.<init>(FileWriter.java:63) > > at > org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java:96) > > at > org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java:83) > > at > > > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen > erateR > > esource(ProgramGeneratorImpl.java:385) > > at > > > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre > ateRes > > ource(ProgramGeneratorImpl.java:333) > > at > > > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa > d(Prog > > ramGeneratorImpl.java:292) > > at org.apache.cocoon.sitemap.Handler.run(Handler.java:265) > > at java.lang.Thread.run(Thread.java:484) > > > > Is the / in front of WEB-INF what's causing the problem? > > Any ideas how to fix this? > > If it were some other servlet engine, I would suggest following > checklist: > > 1. Clean work directory > 2. Set incremental processing to false (should help with Xalan error > reporting) > 3. Restart engine > 4. Try some url, if fails check sitemap_xmap.java: If file is absent, > something is wrong with the XSLT processing; if file is 0 size, search > for the message from the stylesheet; if file is more then 0 bytes, try > compiling it. > > My bet would be on some invalid syntax in the sitemap. > > > But because you are using iPlanet, were it is miracle when it works, I > don't know what to suggest to you. May be (if above does not help) you > should try launching your app under Tomcat 4.0.4, just to try it out? > > Vadim
To solve the problem I had to change my web.xml so the work-directory is set to WEB-INF/work instead of /WEB-INF/work. The upload-directory and cache-directory work fine the old way. And yes iPlanet == BIG SUCKAGE Artur... > > > > I also noticed that src/webapp/WEB-INF/cocoon.xconf > > is missing "compiler" parameter for <java-language name="java" .../> > > > > (iAS6.5, win/solaris, jdk1.3.1, cocoon is one of many servlets in > ear(war)) > > > > Thanks, > > > > Artur... > > > --------------------------------------------------------------------- > 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]> > --------------------------------------------------------------------- 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]>