Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 99075 invoked from network); 28 Mar 2007 23:14:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2007 23:14:13 -0000 Received: (qmail 82086 invoked by uid 500); 28 Mar 2007 23:14:20 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 82034 invoked by uid 500); 28 Mar 2007 23:14:20 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 82023 invoked by uid 99); 28 Mar 2007 23:14:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 16:14:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 16:14:12 -0700 Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 31719210559 for ; Wed, 28 Mar 2007 19:13:54 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 28 Mar 2007 19:13:52 -0400 X-Sasl-enc: 5ymaSLxFGRrxOpmF8B3qODegQIOCAbrPt2BxUCqEyoQL 1175123630 Received: from localhost (dsl-41-216.nsw1.net.au [125.168.41.216]) by mail.messagingengine.com (Postfix) with ESMTP id B9C82223E0 for ; Wed, 28 Mar 2007 19:13:50 -0400 (EDT) Date: Thu, 29 Mar 2007 09:13:46 +1000 From: David Crossley To: dev@forrest.apache.org Subject: Re: [jira] Closed: (FOR-765) forrest war and classpath issues with Jetty Message-ID: <20070328231346.GV8546@igg.indexgeo.com.au> References: <011d01c77188$f43196d0$650fa8c0@BrightonComputers.local> <460AF088.9080608@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <460AF088.9080608@apache.org> User-Agent: Mutt/1.4.2.2i X-Virus-Checked: Checked by ClamAV on 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