Summary: | Java 1.5 Gives File Not Found Errors | ||
---|---|---|---|
Product: | Lenya | Reporter: | Jeffry Hysong <jmhysong> |
Component: | Creator | Assignee: | Lenya Developers <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | hassan, mfoch, taras.yura |
Priority: | P2 | Keywords: | ErrorMessage, JDK1.5 |
Version: | 1.2.2 | ||
Target Milestone: | 1.2.5 | ||
Hardware: | PC | ||
OS: | Linux | ||
Bug Depends on: | |||
Bug Blocks: | 32923, 40614 |
Description
Jeffry Hysong
2005-03-11 17:56:35 UTC
(In reply to comment #0) > When using Java 1.5 and attempting to create a new page 'foo2' with File->New /home/skarn/src/lenya-1.2.2/build/lenya/webapp/lenya/pubs/default/config/tasks/targets.xml:138: > org.apache.lenya.cms.authoring.CreatorException: > javax.xml.transform.TransformerException: java.io.FileNotFoundException: this is a known xalan bug: http://issues.apache.org/jira/browse/XALANJ-1978 since xalan is rather slow in fixing this bug, one way to solve this is to use saxon 7.9 as xslt processor. saxon 7.9 needs to be copied into lib (the build script adds libraries in lib into the classpath) http://wiki.apache.org/cocoon/Saxon has instructions how to switch to saxon as default xslt processor *** Bug 34785 has been marked as a duplicate of this bug. *** (In reply to comment #2) > since xalan is rather slow in fixing this bug, one way to solve this is to use > saxon 7.9 as xslt processor. saxon 7.9 needs to be copied into lib (the build > script adds libraries in lib into the classpath) Download xalan-j_2_7_0-bin.zip from http://xml.apache.org/xalan-j/downloads.html. Go to $LENYA_HOME/build/lenya/webapp/WEB-INF/lib and replace xalan-2.6.1-dev-20041008T0304.jar with xalan.jar, replace xml-apis.jar and xercesImpl.jar with the versions from the downloaded ZIP file and add serializer.jar. Seems to have worked for me so far. Since lenya 1.4 does not contain xalan and cocoon 2.1.x contains xalan-2.7.0.jar this should work. I was unable to reproduce this error in lenya 1.4. It simply works as expected. I compiled and ran current lenya 1.2.x branch with java 1.5. I followed the instructions and I was unable to reproduce this error. It is already fixed. Please review and close the bug. |