TitleSpecial page feature shows errorpage
Date17-Aug-2006 02:05:06 EEST
Versionv2.4.36-cvs
SubmitterChristian Buchegger
Bug criticalityBadBug
Browser versionFirefox 1.5.0.6
Bug statusNotABug
PageProvider usedFileSystemProvider
Servlet ContainerTomcat 5.5.9
Operating SystemWindows XP
URLhttp://localhost:8086/SudokuWiki/Wiki.jsp?page=Special
Java version1.4.2_08

To reproduce follow the steps below:

  1. in jspwiki.properties set
    jspwiki.specialPage.Special = Special.jsp
  2. copy Wiki.jsp to Special.jsp
  3. create a link to [Special]]

in the logfile of Tomcat the following stack is shown:

17.08.2006 00:57:00 org.apache.catalina.core.ApplicationDispatcher invoke

SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception

javax.servlet.jsp.JspException: This template uses <wiki:Content/> in an unsupported context: 

        at com.ecyrd.jspwiki.tags.ContentTag.doEndTag(ContentTag.java:120)

        at org.apache.jsp.templates.sudoku.ViewTemplate_jsp._jspx_meth_wiki_Content_0(ViewTemplate_jsp.java:336)

        at org.apache.jsp.templates.sudoku.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:136)

        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)

        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

        at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)

        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)

        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)

        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)

        at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:604)

        at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:83)

        at org.apache.jsp.Wiki_jsp._jspService(Wiki_jsp.java:106)

        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)

        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

        at com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:105)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

        at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)

        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

        at java.lang.Thread.run(Thread.java:534)

This used to work with eralier versions (however I do not have the exact version when it stopped working)


I get a different exception, but yes, it seems to be broken.

-- JanneJalkanen


Ah. Now I read it more closely. No, you may not rename Wiki.jsp. That just simply won't work in 2.4.

We're looking into enabling this functionality again. It was changed in 2.4.25 (because we thought nobody is doing what you're doing)...

-- JanneJalkanen


I'm getting a similar problem when I try to create my own special pages, I'm not doing anything with Wiki.jsp. However, as a test case I try to copy NewGroup.jsp to XXXGroup.jsp and added a similar special page in jspwiki.properties and I'm getting the same message. I even copied templates/default/NewGroupContent.jsp to XXXGroupContent.jsp thinking it is something I missed.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-6) was last changed on 14-Sep-2006 01:27 by 192.18.43.249