[ https://issues.apache.org/jira/browse/FOR-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Scherler closed FOR-765. --------------------------------- Resolution: Fixed Ok after recompiling forrest with 1.4 I got it starting and see the error David describes. Then I looked at the 'forrest war' output: ... If using JDK 1.4 or above, make sure to set the Java environment variable -Djava.endorsed.dirs=/home/thorsten/src/apache/forrest/trunk/lib/endorsed e.g. in the TOMCAT_OPTS (3.3.x) or CATALINA_OPTS (4.x) env variable. ... I followed above instructions by using: java -Djava.endorsed.dirs=/home/thorsten/src/apache/forrest/trunk/lib/endorsed/ -jar start.jar ...and 1.4 is working like a charm. Will close this issue because the fix is stated in the target output you need to use creating a war. > forrest war and classpath issues with Jetty > ------------------------------------------- > > Key: FOR-765 > URL: https://issues.apache.org/jira/browse/FOR-765 > Project: Forrest > Issue Type: Bug > Components: Launch servlet WAR > Affects Versions: 0.8-dev > Reporter: David Crossley > Fix For: 0.8-dev > > Attachments: jetty-out.log > > > Until recently we could run forrest as a WAR with Jetty. With today's SVN > r356945 it gets past the Cocoon startup phase, then on the first client > request it suffers some error which causes a NoSuchMethodError. See attached > log ... no other clues. This happens for any site, e.g. 'forrest seed-sample > war'. All is okay for 'forrest seed-sample run'. This indicates a classpath > issue with Jetty/Forrest configuration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.