"JH" == Joerg Heinicke <[EMAIL PROTECTED]> writes:
JH> On 08.11.2003 10:20, Robert Andersson wrote:
thanks for your input, though a new release of resin, version 3.0.4, fixed the problem. so in short -- resin 3.0.4 and cocoon 2.1.2 seems to work well together... so far anyway, i suppose the jsp block functionality within cocoon will break, resin not useing org.apache.jasper.servlet.JspServlet but i hope to fix that soon :)
JH> This is to be configured in the cocoon.xconf.
i tried a couple of things but cocoon spits back errors like
org.apache.cocoon.ProcessingException: ServletException in JspGenerator.generate(): java.lang.NullPointerException
or
org.apache.cocoon.ProcessingException: ServletException in JSPReader.generate(): java.lang.NullPointerException
I have
Original Exception: java.lang.NullPointerException
at com.caucho.jsp.BufferedJspWriter.flushBuffer(BufferedJspWriter.java:424)
at com.caucho.jsp.BufferedJspWriter.privateClose(BufferedJspWriter.java:372)
at com.caucho.jsp.PageContextImpl.release(PageContextImpl.java:1014)
at com.caucho.jsp.QJspFactory.freePageContext(QJspFactory.java:115)
at _samples._jsp._welcome__jsp._jspService(_welcome__jsp.java:37)
at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at com.caucho.jsp.QServlet.service(QServlet.java:164)
at org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(JSPEngineImpl.java:122)
at org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:114)
with Resin 3.0.4, so I can confirm it. But I don't know the reason.
when i am trying the jsp block samples. here is my cocoon.xconf entry for the jsp part.
<jsp-engine logger="core.jsp-engine"> <parameter name="servlet-class" value="com.caucho.jsp.JspServlet"/> <parameter name="servlet-name" value="*.jsp"/> </jsp-engine>
Same here. It's ok.
anyone got any clue? can it be the 4934 bug again that i read about? maybe i should compile and try cocoon 2.1.3 though i did not read anything about jsp fixes in that release... could not find anything written on this issue in the past on this mailing list either.
No, I don't think so. I don't remember the old effect when not having the patch provided at that bug, but with the recent code (no changes from 2.1.2 to 2.1.3, so no need to test it for you) the Caucho JSP stuff is starting. "Only" a NPE is thrown - why ever.
Joerg
-- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
