cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spectron International, Inc." <spect...@coqui.net>
Subject Servlet generator problems with Cocoon 2.01 and Jetty 4
Date Mon, 04 Mar 2002 16:08:17 GMT
I have a site running Cocoon-2rc1 and Jetty 3, the site is running ok. I
have another server and I installed the latest versions (Cocoon 2.01,  Jetty
4.0) and the site also runs (demos) . The problem is that I had made some
ServletGenerator and these generators run ok on the old version, but after
recompiling to use the new ones it fails. Here is the stack trace:

ERROR (2002-03-04) 10:47.15:658 [core] (/cocoon/msim/MainMenu)
SocketListener-2/Handler: Error compiling sitemap
java.lang.NoClassDefFoundError:
org/apache/cocoon/generation/ServletGenerator
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:230)
at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:194)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.mortbay.http.ContextLoader.access$0(ContextLoader.java)
at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:221)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46)
at
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.jav
a:220)
at
org.apache.cocoon.www.msim.sitemap_xmap$Configurer.configGenerators(sitemap_
xmap.java:230)
at org.apache.cocoon.www.msim.sitemap_xmap.configure(sitemap_xmap.java:184)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:172)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:84)
at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
or(GeneratorSelector.java:135)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addComp
iledComponent(ProgramGeneratorImpl.java:356)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:334)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:282)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:196)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:228)
at java.lang.Thread.run(Thread.java:484)

ERROR (2002-03-04) 10:47.15:670 [core] (/cocoon/msim/MainMenu)
SocketListener-2/sitemap_xmap: Sitemap
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available. Please check logs for the exact error.
at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:246)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:122)
at org.apache.cocoon.www.sitemap_xmap.matchN102C3(sitemap_xmap.java:3617)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2601)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2438)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144)
at org.apache.cocoon.Cocoon.process(Cocoon.java:582)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
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.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:484)

ERROR (2002-03-04) 10:47.15:683 [access] (/cocoon/msim/MainMenu)
SocketListener-2/CocoonServlet: Problem with servlet
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available. Please check logs for the exact error.
at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:246)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:122)
at org.apache.cocoon.www.sitemap_xmap.matchN102C3(sitemap_xmap.java:3617)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2601)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2438)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144)
at org.apache.cocoon.Cocoon.process(Cocoon.java:582)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
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.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:484)




---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message