You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@infoplanning.com> on 2000/06/07 19:38:41 UTC

Cocoon Server Error

With the current CVS version (including the Xerces-1.1.1 jar),
I get the following exception thrown everytime I access a valid
Cocoon resource:

java.lang.NoSuchMethodError: org.apache.xerces.framework.XMLParser:
method getSystemId()Ljava/lang/String; not found
        at
org.apache.xalan.xpath.xdom.XercesLiaison.parse(XercesLiaison.java:285)
        at
org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:255)
        at
org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:715)

        at
org.apache.cocoon.filters.XalanFilter.setup(XalanFilter.java:65)
        at
org.apache.cocoon.sitemap.GenericProcessor.process(GenericProcessor.java,
Compiled Code)
        at
org.apache.cocoon.sitemap.SitemapPartition.process(SitemapPartition.java,
Compiled Code)
        at org.apache.cocoon.sitemap.Sitemap.process(Sitemap.java,
Compiled Code)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:179)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
Compiled Code)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java:479)

Is this a result of the JAXP problem discussed earlier?
I snagged the CVS version of Xerces in order to compile it.
(did you know that the CVS version of Xerces is much
smaller than the one included in Cocoon/lib?)


Re: Cocoon Server Error

Posted by Berin Loritsch <bl...@infoplanning.com>.
Never mind.  Tomcat didn't restart correctly when I changed it to the
Xerces included in C2-CVS.  Works like a charm.

Berin Loritsch wrote:

> With the current CVS version (including the Xerces-1.1.1 jar),
> I get the following exception thrown everytime I access a valid
> Cocoon resource:
>
> java.lang.NoSuchMethodError: org.apache.xerces.framework.XMLParser:
> method getSystemId()Ljava/lang/String; not found
>         at
> org.apache.xalan.xpath.xdom.XercesLiaison.parse(XercesLiaison.java:285)
>         at
> org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:255)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:715)
>
>         at
> org.apache.cocoon.filters.XalanFilter.setup(XalanFilter.java:65)
>         at
> org.apache.cocoon.sitemap.GenericProcessor.process(GenericProcessor.java,
> Compiled Code)
>         at
> org.apache.cocoon.sitemap.SitemapPartition.process(SitemapPartition.java,
> Compiled Code)
>         at org.apache.cocoon.sitemap.Sitemap.process(Sitemap.java,
> Compiled Code)
>         at org.apache.cocoon.Cocoon.process(Cocoon.java:179)
>         at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:130)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
> Compiled Code)
>         at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
> Compiled Code)
>         at java.lang.Thread.run(Thread.java:479)
>
> Is this a result of the JAXP problem discussed earlier?
> I snagged the CVS version of Xerces in order to compile it.
> (did you know that the CVS version of Xerces is much
> smaller than the one included in Cocoon/lib?)


Re: Cocoon Server Error

Posted by Giacomo Pati <Gi...@pwr.ch>.
On Wed, Jun 07, 2000 at 03:30:40PM -0400, Berin Loritsch wrote:
> build.sh

Build it using "make" instead.

Giacomo

> 
> Giacomo Pati wrote:
> 
> > Berin Loritsch wrote:
> > >
> > > Is this a result of the JAXP problem discussed earlier?
> > > I snagged the CVS version of Xerces in order to compile it.
> > > (did you know that the CVS version of Xerces is much
> > > smaller than the one included in Cocoon/lib?)
> >
> > How did you build it? Using "make" or "build.sh"? AFAIK, Xerces still
> > uses a Makefile system.
> >
> > Giacomo
> >
> > --
> > PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
> > Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
> > Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
> > CH-8166 Niederweningen                    Web:   http://www.pwr.ch
> 

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch


Re: Cocoon Server Error

Posted by Giacomo Pati <Gi...@pwr.ch>.
Use pati_giacomo@yahoo.com

Giacomo

On Wed, Jun 07, 2000 at 03:42:27PM -0400, Berin Loritsch wrote:
> Either way, Cocoon compiled nicely, but even when I tried using the
> version of Xerces that came with C2 in CVS I got the exception.
> 
> BTW, in another thread you mentioned that you are the one to send
> updates to.  I had a very minor update I wanted to send in, but my
> mail server doesn't allow me to send to foreign domains (i.e., I can
> only send to .com, .org, and .net).  Is there any way I could get a
> method to send updates other than the email address you have now?
> 
> Berin Loritsch wrote:
> 
> > build.sh
> >
> > Giacomo Pati wrote:
> >
> > > Berin Loritsch wrote:
> > > >
> > > > Is this a result of the JAXP problem discussed earlier?
> > > > I snagged the CVS version of Xerces in order to compile it.
> > > > (did you know that the CVS version of Xerces is much
> > > > smaller than the one included in Cocoon/lib?)
> > >
> > > How did you build it? Using "make" or "build.sh"? AFAIK, Xerces still
> > > uses a Makefile system.
> > >
> > > Giacomo
> > >
> > > --
> > > PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
> > > Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
> > > Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
> > > CH-8166 Niederweningen                    Web:   http://www.pwr.ch
> 

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch


Re: Cocoon Server Error

Posted by Berin Loritsch <bl...@infoplanning.com>.
Either way, Cocoon compiled nicely, but even when I tried using the
version of Xerces that came with C2 in CVS I got the exception.

BTW, in another thread you mentioned that you are the one to send
updates to.  I had a very minor update I wanted to send in, but my
mail server doesn't allow me to send to foreign domains (i.e., I can
only send to .com, .org, and .net).  Is there any way I could get a
method to send updates other than the email address you have now?

Berin Loritsch wrote:

> build.sh
>
> Giacomo Pati wrote:
>
> > Berin Loritsch wrote:
> > >
> > > Is this a result of the JAXP problem discussed earlier?
> > > I snagged the CVS version of Xerces in order to compile it.
> > > (did you know that the CVS version of Xerces is much
> > > smaller than the one included in Cocoon/lib?)
> >
> > How did you build it? Using "make" or "build.sh"? AFAIK, Xerces still
> > uses a Makefile system.
> >
> > Giacomo
> >
> > --
> > PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
> > Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
> > Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
> > CH-8166 Niederweningen                    Web:   http://www.pwr.ch


Re: Cocoon Server Error

Posted by Berin Loritsch <bl...@infoplanning.com>.
build.sh

Giacomo Pati wrote:

> Berin Loritsch wrote:
> >
> > Is this a result of the JAXP problem discussed earlier?
> > I snagged the CVS version of Xerces in order to compile it.
> > (did you know that the CVS version of Xerces is much
> > smaller than the one included in Cocoon/lib?)
>
> How did you build it? Using "make" or "build.sh"? AFAIK, Xerces still
> uses a Makefile system.
>
> Giacomo
>
> --
> PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
> Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
> Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
> CH-8166 Niederweningen                    Web:   http://www.pwr.ch


Re: Cocoon Server Error

Posted by Giacomo Pati <Gi...@pwr.ch>.
Berin Loritsch wrote:
> 
> Is this a result of the JAXP problem discussed earlier?
> I snagged the CVS version of Xerces in order to compile it.
> (did you know that the CVS version of Xerces is much
> smaller than the one included in Cocoon/lib?)

How did you build it? Using "make" or "build.sh"? AFAIK, Xerces still
uses a Makefile system.

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch