Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 42608 invoked by uid 500); 25 Feb 2003 15:39:50 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 42545 invoked from network); 25 Feb 2003 15:39:49 -0000 Received: from pengo.systems.pipex.net (62.241.160.193) by daedalus.apache.org with SMTP; 25 Feb 2003 15:39:49 -0000 Received: from liningpaper.com (81-86-181-156.dsl.pipex.com [81.86.181.156]) by pengo.systems.pipex.net (Postfix) with ESMTP id 584B24C004F6 for ; Tue, 25 Feb 2003 15:39:48 +0000 (GMT) Date: Tue, 25 Feb 2003 15:39:47 +0000 Subject: Re: Cocoon and Jetty Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Luke Noel-Storr To: cocoon-users@xml.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <5ED2FBE7-48D7-11D7-9921-003065F675C4@liningpaper.com> X-Mailer: Apple Mail (2.551) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N OK I fixed it myself. I started again with Jetty and this time copied just the xalan jar in from Cocoon to ext. The then copied xerces and xml jars across from Tomcat, deleted tmp files and tried again. This time it worked. Now, to try doing something with cocoon. Cheers anyway, Luke. ----- On Tuesday, Feb 25, 2003, at 12:57 Europe/London, Luke Noel-Storr wrote: > Hi, > > Sorry if this has already been covered a million times, however I've > been searching high and low and cannot find any help. > > Anyway, I've been lurking on these mailing lists and it seems that a > lot of people think that Jetty is the way to go. So, as I'm ill at > home today I thought I'd finally give cocoon a go and though I'd try > and get it working on Jetty. > > I have Cocoon 2.0.4, Jetty 4.2.8, Java 1.3.1 all on OSX 10.2.4 > > OK, I tried just popping the cocoon.war file in $JETTY_HOME/webapps > and got the error: > > Exception in thread "main" > javax.xml.transform.TransformerFactoryConfigurationError: > java.lang.ClassNotFoundException: > org.apache.xalan.processor.TransformerFactoryImpl > > > I tried exploding the war file and putting it in the same directory > and got the same error. > > I then tried copying the jar files from the Cocoon WEB_INF/lib folder > to the Jetty ext folder. This time I got further, but when I tried to > browse to localhost:8080/cocoon I got the following error displayed in > my browser: > > type: fatal > > message: SAX2 driver class org.apache.xerces.parsers.SAXParser does > not implement XMLReader > > description: java.lang.ClassCastException: > org.apache.xerces.parsers.StandardParserConfiguration > > sender: org.apache.cocoon.servlet.CocoonServlet > > source: Cocoon servlet > > > I start Jetty with the command: > > jetty.sh run > > > What am I doing wrong? > > What do I need to do to get cocoon up and running under Jetty? > > Are there any guides? > > > I managed to get it working under Tomcat just by dropping the war file > in the webapps folder. I would however prefer to use Jetty. > > > Thanks in advance for any help, > > Luke. > ----- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org