Minor Update,
I took Cygwin out of the picture. Removed and reinstalled everything
entirely via DOS. I got the same results as while under Cygwin as far as I
can tell: with jdk1.4 it throws a class not found exception on
org.apache.xerces.parsers.SAXParser. I can't understand how it is not
finding this, as the jar is in the boot and server classpath's for JBoss as
best I can tell. Where does cocoon get it's classpath from in this kind of
setup? I presume it uses the same classpath as Tomcat, but I'm not sure if
that is the boot classpath (the one given to the VM), or the server
classpath (the one used by JBoss's internal classloader)? I posted to the
JBoss forums hoping for clarification but have yet to see a reply. I'll
just keep digging I guess...
Ian
----- Original Message -----
From: "Gianugo Rabellino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 12:28 AM
Subject: Re: Can't run under JBoss2.4/Tomcat3.2.3
> On Tue, Aug 28, 2001 at 11:52:44AM -0400, [EMAIL PROTECTED] wrote:
> > I verified everything you listed. I am using jdk1.4beta. A little
fishing
> > around and I realized that Crimson was still being used from rt.jar
> >
(http://java.sun.com/j2se/1.4/docs/relnotes/features.html#xmlprocessing)!
>
> Argh. Cygwin, Cocoon 2, JDK 1.4 beta... now *this* is what I
> call bleeding edge :))
>
> > tried to use a modified "run.sh" to attempt to force the use of Xerces,
but
> > this caused more errors that it fixed (jboss failed to deploy the
> > tomcat-test.ear,
>
> This seems to be the reason:
>
> The encoding "Cp1252" is not supported., Cause:org.xml.sax.SAXException:
> Stopping after fatal error: The encoding "Cp1252" is not supported
>
> > and cocoon gave a new reason for not starting).
>
> And this is the reason for Cocoon not to start:
>
> org.apache.avalon.framework.configuration.ConfigurationException:
> AbstractMarkupLanguage: SAX2 driver class
org.apache.xerces.parsers.SAXParser
> not found
>
> They both look like Xerces related problems, yet the run script
> looks fine. Have you tried with any 1.3 JDK to see if it's a
> java problem?
>
> Ciao,
>
> --
> Gianugo Rabellino
>
> ---------------------------------------------------------------------
> 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]>