Vadim,

sorry for the delay, I was out of office. I'm running Cocoon 2.0.2 from
JBoss3beta2 latest cvs snapshots (it uses Jetty as the bundled web
container). I thought of the different xalan/xerces libs between JBoss and
Cocoon as a possible problem source here - is that possible?

Anyway, I'm posting a full trace about the problem:

ERROR   (2002-03-28) 09:27.19:740   [core.manager] (/index) 
SocketListener-1/XMLResourceBundle: cannot obtain XPathProcessor
java.lang.ClassCastException: org.apache.cocoon.components.xpath.XPathProcessorImpl
        at org.apache.cocoon.i18n.XMLResourceBundle.compose(XMLResourceBundle.java:117)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory._loadBundle(XMLResourceBundleFactory.java:346)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory._select(XMLResourceBundleFactory.java:308)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory.selectParent(XMLResourceBundleFactory.java:238)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory.selectParent(XMLResourceBundleFactory.java:224)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory._loadBundle(XMLResourceBundleFactory.java:343)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory._select(XMLResourceBundleFactory.java:308)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory.selectParent(XMLResourceBundleFactory.java:238)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory.selectParent(XMLResourceBundleFactory.java:224)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory._loadBundle(XMLResourceBundleFactory.java:343)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory._select(XMLResourceBundleFactory.java:308)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory.select(XMLResourceBundleFactory.java:196)
        at 
org.apache.cocoon.i18n.XMLResourceBundleFactory.select(XMLResourceBundleFactory.java:181)
        at 
org.apache.cocoon.transformation.I18nTransformer.setup(I18nTransformer.java:773)
        at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:215)
        at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:279)
        at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:142)
        at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:320)
        at org.apache.cocoon.www.sitemap_xmap.matchN400231(sitemap_xmap.java:3510)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1192)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:681)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
        at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:326)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:570)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1352)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1306)
        at org.mortbay.http.HttpServer.service(HttpServer.java:743)
        at org.jboss.jetty.Jetty.service(Jetty.java:540)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:748)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:921)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:763)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:145)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
        at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
        at java.lang.Thread.run(Thread.java:498)

But as I've said, everything seems to work correctly, in spite of the trace
in error.log.

Regards,
Christopher

On Tue, Mar 26, 2002 at 08:00:35PM -0500, Vadim Gritsenko wrote:
> Try deleting work directory. Might help, I'm not sure what you have got
> (you cut the stacktrace too short)
> 
> Vadim
> 
> > From: Jozsa Kristof [mailto:[EMAIL PROTECTED]]
> > 
> > Hi,
> > 
> > I've downloaded Cocoon 2.0.2, compiled, replaced the libs in my
> project and
> > deployed successfully. It works, however, I keep getting spammed in
> the
> > error.log with messages like these:
> > 
> > ERROR   (2002-03-26) 14:13.28:463   [core.manager] (/list/mainlist)
> > SocketListener-0/XMLResourceBundle: cannot obtain XPathProcessor
> > java.lang.ClassCastException:
> > org.apache.cocoon.components.xpath.XPathProcessorImpl
> > 
> > followed by a full trace. What causes this, and how can I get rid of
> that?
> > 
> > thanks,
> > Christopher
> > --
> > .Digital.Yearning.for.Networked.Assassination.and.Xenocide
> > 
> 
> 
> ---------------------------------------------------------------------
> 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]>
> 

-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

---------------------------------------------------------------------
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]>

Reply via email to