Thanks John !!
I had already renamed Tomcats's parser.jar >> zparser.jar as the 2.0 docs instructed
But just by switching the path order of zparser.jar and xerces.jar,
made things suddenly WORK splendid.
...I could never ever have figured this one out on my own...
Thanks again man!
thomas.
----- Original Message -----
From: John Schult <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 15:27
Subject: RE: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??
>
> When running Tomcat as a service you need to edit the wrapper.properties
> file to change the classpath. The snippet from the Cocoon 1 docs below
> outline the problem and the solution. It worked for me.
>
> Kind regards,
>
> ++john
>
> <snip>
>
> IMPORTANT: If you get a NoSuchMethodError when starting up, make sure that
> xerces.jar is located before other XML jars in the CLASSPATH, otherwise XSP
> won't work. Tomcat 3.1 on UNIX - and Tomcat 3.2 on both UNIX and Windows -
> construct their own CLASSPATH automatically and then add the environment
> CLASSPATH, so manually setting the CLASSPATH before running Tomcat won't
> work. Instead, a hack which some people have found to work is (in the case
> of Tomcat 3.2) renaming xml.jar as zxml.jar and parser.jar as zparser.jar.
> For other versions try renaming crimson.jar. (Alert readers may have noticed
> that xerces is lexicographically prior to xml anyway - so why does this
> work? Well, to be quite frank - who cares? It works, okay! ;-)
>
> <snip>
>
> > -----Original Message-----
> > From: thomas@jet [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 05, 2001 8:43 AM
> > To: [EMAIL PROTECTED]
> > Subject: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??
> >
> >
> > Hi,
> > I'm been struggling for some 5 hours now without success trying
> > to get Cocoon 2.0a7 going
> > under a Tomcat 3.2.2 Win NT-service, but I can for my life not
> > figure out what the problem is.
> >
> > In console mode everything works great (startup.bat) and the
> > usual JSP stuff under
> > Tomcat even does fine when running as a service, but Cocoon
> > completely phucks up.
> >
> > I get some 100 lines in "jvm.stderr" and "server.log" with
> > debugging enabled, but unfortunately
> > I am not man enough to make any sense out of it apart from seeing
> > a set of nulls as no-good.
> >
> > SAXParserFactory: null
> > DocumentBuilderFactory: null
> > --
> >
> > urls behave like;
> > /cocoon/welcome << blank page
> > /cocoon/status << java.lang.NoSuchMethodError:
> > org.w3c.dom.Document: method createElementNS ...
> >
> >
> > Has anyone managed to get a similar setup working or has a clue
> > what might the problem..
> > I know my Apache and the usual DSOs, but I am kindof new to these
> > servlet APIs.
> >
> > any help appreciated.
> >
> > Thomas.
> > [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>