Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 32797 invoked by uid 500); 9 Nov 2002 13:35:55 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 32786 invoked from network); 9 Nov 2002 13:35:54 -0000 Received: from mail.hospitable.be (HELO relay.hospitable.be) (212.35.122.81) by daedalus.apache.org with SMTP; 9 Nov 2002 13:35:54 -0000 Received: from bert-dell.vankets.com (unknown [212.71.5.28]) by relay.hospitable.be (Postfix) with ESMTP id 7D08BA174F for ; Sat, 9 Nov 2002 14:33:40 +0100 (CET) Message-Id: <5.1.1.6.0.20021109143057.01a54cf0@mail.visitronics.be> X-Sender: postmaster.vankets@mail.visitronics.be X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sat, 09 Nov 2002 14:32:09 +0100 To: forrest-dev@xml.apache.org From: Bert Van Kets Subject: Re: forrest war In-Reply-To: <20021109132528.GC11735@expresso.localdomain> References: <5.1.1.6.0.20021109131333.03c9c4c8@mail.visitronics.be> <5.1.1.6.0.20021109131333.03c9c4c8@mail.visitronics.be> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 00:25 10/11/2002 +1100, you wrote: >On Sat, Nov 09, 2002 at 01:19:52PM +0100, Bert Van Kets wrote: > > Hi guys, > > I am trying to get in pace with the recent Forrest development. Man, has > > this project moved since I created the skin. > > > > I did a completely fresh checkout and tried the "Forrest seed", "Forrest" > > and Forrest war" commands and have two problems. > > > > 1. The dynamic links in the generated site are not correct. The selected > > menu item is not yellow, like it should be. Haven't had the time to check > > out why yet. > >Having a look now. > > > > 2. After building the war file and starting it up in Tomcat I get an > > Internal Server error. Here's the stack trace: >... > > java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > >Hmm.. I think it's a bug. Are you running JDK 1.3? Yes I am version 1.3.1_02 on Win2K Server SP3 >Forrest currently doesn't include XML-related jars (xml-apis, xerces, >xalan) in the war (or webapp). In JDK 1.4, these are provided by the >JDK, through the -Djava.endorsed.dirs property. > >I hadn't considered 1.3 though, where the webapp would presumably break >:/ > >I'll look into adding a conditional copy based on JDK version. In the >meanwhile, try copying lib/endorsed/* into build/webapp/WEB-INF/lib, and >then generate a war with 'jar cvf ../mysite.war' in the webapp/ >directory. I'll try that. Bert >--Jeff