cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Peterson" <jon.peter...@sdrc.com>
Subject Re: [C2b2] JSP Generator example fails with "Error creating the resource Exception JspGenerator.generate()"
Date Tue, 04 Sep 2001 03:14:30 GMT
Confirm that you have jasper.jar (or maybe jasper-runtime.jar) in
$TOMCAT_HOME/lib.  It's a bit confusing if it's not there, seeing that
you're using Tomcat...I had this problem using Resin and doing this solved
it.

Jon

----- Original Message -----
From: "Paul Spencer" <paul@mikon.com>
To: <cocoon-users@xml.apache.org>
Sent: Sunday, September 02, 2001 2:08 PM
Subject: [C2b2] JSP Generator example fails with "Error creating the
resource Exception JspGenerator.generate()"


> Using Cocoon 2.0-b2, Tomcat 4.0-b7, Java 1.3, Window NT4 SP5.
>
> I get the following error running the Jsp Generator example:
>
> Error Creating the resource
>    Exception JspGenerator.generate()
> from source org.apache.cocoon.ProcessingException
> description org.apache.cocoon.ProcessingException: Exception
> JspGenerator.generate():java.lang.ClassNotFoundException:
> org.apache.jasper.servlet.JspServlet
> extra info
>  java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
>
>  java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at
>
org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(JSPEngineImpl.java
:121)
> at
> org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:76)
> at
>
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:217)
> at
>
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:361)
> at
>
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN3B6(sitemap_xmap.java:5082)
> at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2357)
> at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2072)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:160)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:423)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:215)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2314)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1000)
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1093
)
> at java.lang.Thread.run(Thread.java:484)
>   org.apache.cocoon.ProcessingException: Exception
> JspGenerator.generate():java.lang.ClassNotFoundException:
> org.apache.jasper.servlet.JspServlet
>
>  org.apache.cocoon.ProcessingException: Exception
> JspGenerator.generate():java.lang.ClassNotFoundException:
> org.apache.jasper.servlet.JspServlet
> at
> org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:96)
> at
>
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:217)
> at
>
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:361)
> at
>
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN3B6(sitemap_xmap.java:5082)
> at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2357)
> at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2072)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:160)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:423)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:215)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2314)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1000)
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1093
)
> at java.lang.Thread.run(Thread.java:484)
> java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at
>
org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(JSPEngineImpl.java
:121)
> at
> org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:76)
> at
>
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:217)
> at
>
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:361)
> at
>
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN3B6(sitemap_xmap.java:5082)
> at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2357)
> at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2072)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:160)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:423)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:215)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2314)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1000)
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1093
)
> at java.lang.Thread.run(Thread.java:484)
>
> Thank you,
> Paul Spencer
>
>
> ---------------------------------------------------------------------
> 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>
>


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