You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2005/12/15 06:02:45 UTC

[jira] Created: (FOR-765) forrest war gets NoSuchMethodError for some core transformer

forrest war gets NoSuchMethodError for some core transformer
------------------------------------------------------------

         Key: FOR-765
         URL: http://issues.apache.org/jira/browse/FOR-765
     Project: Forrest
        Type: Bug
  Components: Launch servlet WAR  
    Versions: 0.8-dev    
    Reporter: David Crossley
     Fix For: 0.8-dev


Until recently we could run forrest as a WAR. 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-765) forrest war gets NoSuchMethodError for some core transformer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-765?page=all ]

David Crossley updated FOR-765:
-------------------------------

    Attachment: jetty-out.log

Attached is log from standard output for the failure. Here are the first few lines ...
15:57:50.883 WARN!! Error for /my-project/index.html
java.lang.NoSuchMethodError: javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
        at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:199)
        at org.apache.xalan.transformer.TransformerIdentityImpl.startDocument(TransformerIdentityImpl.java:910)
        at org.apache.cocoon.xml.AbstractXMLPipe.startDocument(AbstractXMLPipe.java:47)
...

> forrest war gets NoSuchMethodError for some core transformer
> ------------------------------------------------------------
>
>          Key: FOR-765
>          URL: http://issues.apache.org/jira/browse/FOR-765
>      Project: Forrest
>         Type: Bug
>   Components: Launch servlet WAR
>     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 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-765) forrest war and classpath issues with Jetty

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483372 ] 

David Crossley commented on FOR-765:
------------------------------------

Gav reported success with Jetty 6 in the abovementioned thread. Yesterday i tried again and had success with Jetty 6 and Java 5. However i have the trouble with Java 1.4.2

Re: testing forrest-0.8 as WAR in Jetty and Tomcat
http://marc.info/?l=forrest-dev&m=117454392923373

> 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.


[jira] Commented: (FOR-765) forrest war gets NoSuchMethodError for some core transformer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-765?page=comments#action_12360489 ] 

David Crossley commented on FOR-765:
------------------------------------

Doing 'svn up -r ######' backwards shows that this error started appearing at r354749 ("remove xconf support for plugins..."). Possibly this change fixed FOR-748 which might have been masking this current bug.

> forrest war gets NoSuchMethodError for some core transformer
> ------------------------------------------------------------
>
>          Key: FOR-765
>          URL: http://issues.apache.org/jira/browse/FOR-765
>      Project: Forrest
>         Type: Bug
>   Components: Launch servlet WAR
>     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 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-765) forrest war and classpath issues with Jetty

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484991 ] 

Thorsten Scherler commented on FOR-765:
---------------------------------------

false alarm! 
sorry, my jetty was running with 1.6 and when I start it with 1.4 I get unsupported major.minor version 49.0.
I need to test again.

> 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.


[jira] Commented: (FOR-765) forrest war gets NoSuchMethodError for some core transformer

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-765?page=comments#action_12360497 ] 

Ross Gardler commented on FOR-765:
----------------------------------

This kind of error usually occurs when the wrong JAR is being used used by Java.

Ensure that there is not an earlier version of Xerces in the Jetty endorsed lib, we need to be using the one supplied by Cocoon (currently 2.7.1)


> forrest war gets NoSuchMethodError for some core transformer
> ------------------------------------------------------------
>
>          Key: FOR-765
>          URL: http://issues.apache.org/jira/browse/FOR-765
>      Project: Forrest
>         Type: Bug
>   Components: Launch servlet WAR
>     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 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-765) forrest war gets NoSuchMethodError for some core transformer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-765?page=comments#action_12448303 ] 
            
David Crossley commented on FOR-765:
------------------------------------

Lets not do such testing inside this issue. I revitalised an old thread:
 Re: testing forrest-0.8 as WAR in Jetty and Tomcat
 http://marc.theaimsgroup.com/?l=forrest-dev&m=116302551302726


> forrest war gets NoSuchMethodError for some core transformer
> ------------------------------------------------------------
>
>                 Key: FOR-765
>                 URL: http://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 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FOR-765) forrest war gets NoSuchMethodError for some core transformer

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-765?page=comments#action_12448124 ] 
            
Gavin commented on FOR-765:
---------------------------

Has anyone else tried this lately ?

I just now tried it using Tomcat 6.0, 

I first packaged a war file using 'forrest seed-sample war' - no errors , all went fine.

I then loaded it into Tomcat, loaded fine, viewed it in 

http://localhost:8080/my-project/index.html;jsessionid=56E871C1729BD756E857C7897BBB067B

and it all works fine. Maybe its because I'm using Tomcat and not Jetty, Java 5 and not Java 4 ??

Hmm, maybe these comments aren't much use, usual 'works ok for me..' scenario, but I went
to look at the problem and I don't get one , so where to from here, 

more testers please !! and quote your Platform, Tomcat version, Java Version.

Hope these comments narrow it down a bit.

Let me know more specific testing requirements if you want me to do more testing.


> forrest war gets NoSuchMethodError for some core transformer
> ------------------------------------------------------------
>
>                 Key: FOR-765
>                 URL: http://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 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FOR-765) forrest war and classpath issues with Jetty

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484989 ] 

Thorsten Scherler commented on FOR-765:
---------------------------------------

I did (reflecting the java version) 
mkdir 1.6 1.5 1.4 
and tested with jetty 6.1.1.
In all three dirs I seeded a forrest project with the corresponding java version. 
I changed the java version BEFORE I seeded!

1) 1.6 - fails
forrest war fails with reporting issues with sitemap-v06.rng. 
I can remember a user mail about it, reporting as well errors with 1.6.
2) 1.5.0_07-b03 - ok 
All fine
3) 1.4.2_08 - ok
all fine

I am not sure why David sees this issue. Please try:
1) changed the java version BEFORE seeding
2) use 6.1.1. 


> 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.


Re: [jira] Closed: (FOR-765) forrest war and classpath issues with Jetty

Posted by David Crossley <cr...@apache.org>.
Ross Gardler wrote:
> Gav.... wrote:
> >From: Thorsten Scherler (JIRA)
> >>Subject: [jira] Closed: (FOR-765) forrest war and classpath issues with
> >>Jetty
> >>
> >>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.

Thanks for figuring that out Thorsten.

> >I saw that message too, assumed it was Tomcat related rather than Jetty. 
> >And
> >then it says 'or above' , well with above 1.4 you don't need it at all, the
> >message is not accurate as Tomcat and Jetty work fine on 1.5.
> >
> >So you did the above Tomcat related message and got Jetty working on 1.4?
> >Sounds good then if it works, can the message be changed to include Jetty
> >as well as Tomcat as a fix suggestion.
> 
> The first part of the message is pretty clear "set the Java environment 
> variable ..."
> 
> The second part says "e.g. in the TOMCAT_OPTS..." which is a Tomcat 
> example. I don't read that to mean it is a Tomcat only instruction, only 
> that it is a Tomcat example.
> 
> However, if one person feels it is confusing, you can pretty sure it is 
> confusing for another.

I read it as Tomcat specific too. Thorsten chopped
off the top of the build message. It starts with:

"To run in Tomcat, add this to the config file (usually server.xml):
..."

> Nevertheless,  we can't possibly put examples for 
> all possible containers.

As i suggested in the issue comments, it might be better
to have a doc or FAQ for such quirks. Rather than clutter
the build output, just refer to the doc.

Did anyone try with an earlier version of Jetty, e.g. 4.2.23 ?

-David

> I'd say remove the e.g. and just leave it at "set the env variable".
> 
> You are also correct that this only affects Java 1.4, but I suspect it 
> may affect other java implementations since it is a class loading issue 
> and therefore dependant on what is bundled with the java implementation 
> in use.
> 
> I'd say change it to something like "In Sun Java 1.4 and possibly some 
> other Java implementations..."
> 
> Ross

Re: [jira] Closed: (FOR-765) forrest war and classpath issues with Jetty

Posted by Ross Gardler <rg...@apache.org>.
Gav.... wrote:
> 
>> -----Original Message-----
>> From: Thorsten Scherler (JIRA) [mailto:jira@apache.org]
>> Sent: Thursday, 29 March 2007 5:54 AM
>> To: dev@forrest.apache.org
>> Subject: [jira] Closed: (FOR-765) forrest war and classpath issues with
>> Jetty
>>
>>
>>      [ 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.
> 
> I saw that message too, assumed it was Tomcat related rather than Jetty. And
> then it says 'or above' , well with above 1.4 you don't need it at all, the
> message is not accurate as Tomcat and Jetty work fine on 1.5.
> 
> So you did the above Tomcat related message and got Jetty working on 1.4?
> Sounds good then if it works, can the message be changed to include Jetty
> as well as Tomcat as a fix suggestion.

The first part of the message is pretty clear "set the Java environment 
variable ..."

The second part says "e.g. in the TOMCAT_OPTS..." which is a Tomcat 
example. I don't read that to mean it is a Tomcat only instruction, only 
that it is a Tomcat example.

However, if one person feels it is confusing, you can pretty sure it is 
confusing for another. Nevertheless,  we can't possibly put examples for 
all possible containers.

I'd say remove the e.g. and just leave it at "set the env variable".

You are also correct that this only affects Java 1.4, but I suspect it 
may affect other java implementations since it is a class loading issue 
and therefore dependant on what is bundled with the java implementation 
in use.

I'd say change it to something like "In Sun Java 1.4 and possibly some 
other Java implementations..."

Ross


RE: [jira] Closed: (FOR-765) forrest war and classpath issues with Jetty

Posted by Thorsten Scherler <th...@apache.org>.
On Thu, 2007-03-29 at 06:32 +0800, Gav.... wrote:
...
> > 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.
> 
> I saw that message too, assumed it was Tomcat related rather than Jetty. 

Like Ross said the message is pretty clear on the environment variable
part. The tomcat part has an "e.g." before it.

However I clarified the message as you suggested (@Ross I already
committed when I saw your comment). It is always better to have accurate
messages.

http://svn.apache.org/viewvc?view=rev&rev=523496

Please review, whether this is ok.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


RE: [jira] Closed: (FOR-765) forrest war and classpath issues with Jetty

Posted by "Gav...." <br...@brightontown.com.au>.

> -----Original Message-----
> From: Thorsten Scherler (JIRA) [mailto:jira@apache.org]
> Sent: Thursday, 29 March 2007 5:54 AM
> To: dev@forrest.apache.org
> Subject: [jira] Closed: (FOR-765) forrest war and classpath issues with
> Jetty
> 
> 
>      [ 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.

I saw that message too, assumed it was Tomcat related rather than Jetty. And
then it says 'or above' , well with above 1.4 you don't need it at all, the
message is not accurate as Tomcat and Jetty work fine on 1.5.

So you did the above Tomcat related message and got Jetty working on 1.4?
Sounds good then if it works, can the message be changed to include Jetty
as well as Tomcat as a fix suggestion.

Gav...

> 
> 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.
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 3/22/2007
> 7:44 AM


[jira] Closed: (FOR-765) forrest war and classpath issues with Jetty

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (FOR-765) forrest war gets NoSuchMethodError for some core transformer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-765?page=comments#action_12360983 ] 

David Crossley commented on FOR-765:
------------------------------------

Jetty supplies its own xml-apis.jar and xercesImpl.jar and it seems that we are getting classloader problems.

> forrest war gets NoSuchMethodError for some core transformer
> ------------------------------------------------------------
>
>          Key: FOR-765
>          URL: http://issues.apache.org/jira/browse/FOR-765
>      Project: Forrest
>         Type: Bug
>   Components: Launch servlet WAR
>     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 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-765) forrest war and classpath issues with Jetty

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-765?page=all ]

David Crossley updated FOR-765:
-------------------------------

        Summary: forrest war and classpath issues with Jetty  (was: forrest war gets NoSuchMethodError for some core transformer)
    Description: 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.  (was: Until recently we could run forrest as a WAR. 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'.)

Changed the issue Summary and Description to better reflect the situation.

Thanks Gavin for that quick test with Tomcat. See mailing list for request for other testing.

I reviewed my Jetty situation yesterday (both with 4 and 6) and still have the trouble. Would someone else please try.



> forrest war and classpath issues with Jetty
> -------------------------------------------
>
>                 Key: FOR-765
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira