cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushil Bhattarai" <sush...@hotmail.com>
Subject Re: JSP Server Page
Date Tue, 10 Sep 2002 19:00:44 GMT
<html><div style='background-color:'><DIV>
<P>Ok, I got Cocoon 2.0.3 but I cannot get it to work. As far as documentation is concerned,
with Tomcat 4.0.1 there aren't any configuration required. Like it said, I dropped cocoon.war
in webapps directory. I'm getting sitemap compilation&nbsp;error when trying to access
Cocoon. I'm using jdk1.3.1. Does that make any difference ?? Also which is the best place
to check Cocoon log. Neither cocoon/web-inf/log nor Catalina/log seem very helpful</P>
<P>Sushil</P></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: Lajos Moczar <LMOCZ@GALATEA.COM>
<DIV></DIV>&gt;Reply-To: cocoon-users@xml.apache.org 
<DIV></DIV>&gt;To: cocoon-users@xml.apache.org 
<DIV></DIV>&gt;Subject: Re: JSP Server Page 
<DIV></DIV>&gt;Date: Tue, 10 Sep 2002 11:58:25 -0600 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Again, that's because you are using 2.0.2. JSPGenerator &amp;
JSPReader 
<DIV></DIV>&gt;are BROKEN in 2.0.2. Upgrade to 2.0.3 or search the mail archives

<DIV></DIV>&gt;for the patches I posted for these files in 2.0.2 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Lajos 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Sushil Bhattarai wrote: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&gt;Hi 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;Like you suggested I put jasper-compiler.jar in WEB-INF/lib.
The 
<DIV></DIV>&gt;&gt;source already starts with "/" in the sitemap. Still
I'm not able 
<DIV></DIV>&gt;&gt;to run the sample link properly. The JSP Reader sample

<DIV></DIV>&gt;&gt;(welcome.htm) returns a blank page without any error
and the JSP 
<DIV></DIV>&gt;&gt;Generator sample (hello.jsp) throws out error 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;java.lang.IllegalStateException 
<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.connector.HttpResponseFacade.sendError(HttpResponseFacade.java:159)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1003)

<DIV></DIV>&gt;&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)

<DIV></DIV>&gt;&gt; at 
<DIV></DIV>&gt;&gt;org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)

<DIV></DIV>&gt;&gt; at java.lang.Thread.run(Thread.java:484) 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;Any suggestions ??? 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;Sushil 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;From: Piroumian Konstantin 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Reply-To: cocoon-users@xml.apache.org 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;To: "'cocoon-users@xml.apache.org'" 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Subject: RE: JSP Server Page 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Date: Tue, 10 Sep 2002 11:21:36 +0400 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;You need jasper-compiler.jar (jasper.jar won't
help). And you 
<DIV></DIV>&gt;&gt;should use 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;paths starting with '/' as source for the
JSPGenerator and 
<DIV></DIV>&gt;&gt;JSPReader, e.g.: 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;-- 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Konstantin Piroumian 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;-----Original Message----- 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;From: Sushil Bhattarai [mailto:sushilb@hotmail.com]

<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Sent: Tuesday, September 10, 2002 12:24 AM

<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;To: cocoon-users@xml.apache.org 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Subject: JSP Server Page 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Hi 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;I have been unable to run the JSP demo that
comes with 
<DIV></DIV>&gt;&gt;Cocoon2.0.2. I saw in 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;the discussion list that jasper.jar needs
to be in WEB-INF/lib 
<DIV></DIV>&gt;&gt;but that's 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;not helping either. I'm running Cocoon on
Catalina (Tomcat 
<DIV></DIV>&gt;&gt;4.0.1). 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Sushil 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; _____ 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;Join the world's largest e-mail service with
MSN Hotmail. Click 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; Here 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;---------------------------------------------------------------------

<DIV></DIV>&gt;&gt;Please 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;check that your question has not already been
answered in the 
<DIV></DIV>&gt;&gt;FAQ before 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt;posting. To unsubscribe, e-mail: For additional
commands, 
<DIV></DIV>&gt;&gt;e-mail: 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; &gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;------------------------------------------------------------------------

<DIV></DIV>&gt;&gt;Chat with friends online, try MSN Messenger: Click
Here 
<DIV></DIV>&gt;&gt;<HTTP: c144??PS="47575" 1HM1ENUS g.msn.com> 
<DIV></DIV>&gt;&gt;---------------------------------------------------------------------

<DIV></DIV>&gt;&gt;Please check that your question has not already been
answered in 
<DIV></DIV>&gt;&gt;the FAQ before posting. To unsubscribe, e-mail: For
additional 
<DIV></DIV>&gt;&gt;commands, e-mail: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;-- 
<DIV></DIV>&gt;galatea.com 
<DIV></DIV>&gt;Cocoon training, consulting &amp; support 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;---------------------------------------------------------------------

<DIV></DIV>&gt;Please check that your question has not already been answered
in 
<DIV></DIV>&gt;the 
<DIV></DIV>&gt;FAQ before posting. 
<DIV></DIV>&gt;<HTTP: index.html faq cocoon xml.apache.org> 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;To unsubscribe, e-mail: 
<DIV></DIV>&gt;<COCOON-USERS-UNSUBSCRIBE@XML.APACHE.ORG> 
<DIV></DIV>&gt;For additional commands, e-mail: 
<DIV></DIV>&gt;<COCOON-USERS-HELP@XML.APACHE.ORG> 
<DIV></DIV></div><br clear=all><hr>Chat with friends online,
try MSN Messenger: <a href='http://g.msn.com/1HM1ENUS/c144??PS=47575'>Click Here</a><br></html>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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