[opencms-dev] Problem using webform made with module 1.4.1. in OpenCms 8

Yves Glodt yg at mind.lu
Wed Oct 26 09:37:31 CEST 2011


Hi,

any idea on how to correctly set up the template for the webform in OpenCms
8 ?



On 25 October 2011 10:05, Yves Glodt <yg at mind.lu> wrote:

> Hi,
>
> I have a webform  which I created with the formgenerator module version
> 1.4.1, on OpenCms 7.5.4, and which worked fine.
>
> The actual displaying of the form was done by including             *<cms:include
> file="/system/modules/com.alkacon.opencms.formgenerator/pages/form.jsp"
> editable="false" />*
>
> The property *template-elements* of the form is set to the actual jsp
> template of the site.
>
>
> Now I installed OpenCms 8.0.2, and installed the webform module version
> 2.0, imported the site.
>
> Everything seems to work, except the forms, with the following exception:
>
> Errorjavax.servlet.jsp.JspException: javax.servlet.ServletException: File
> "/system/modules/com.alkacon.opencms.formgenerator/pages/form.jsp" not found
> Reason: File
> "/system/modules/com.alkacon.opencms.formgenerator/pages/form.jsp" not found
>
>
> The mentioned jsp does really not exist anymore. So I tried using
> /system/modules/com.alkacon.opencms.formgenerator/elements/form.jsp, but
> then I get the exception shown at the end of the mail.
>
> I read the documentation but did not see what I need to change to get the
> form running on OpenCms 8 with the webform module 2.0.
>
> Does someone have a pointer ?
>
>
> best regards,
> Yves
>
>
>
>
>
> javax.servlet.ServletException: javax.servlet.jsp.JspException:
> org.opencms.main.CmsException: Error while reading element bean from request
>     at
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
>     at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
>     at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_mycompany_v3.templates.template_jsp._jspService(yougenio_jsp.java:1146)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
>     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>     at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
>     at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:612)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
>     at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:886)
>     at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:517)
>     at
> org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:224)
>     at
> org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:44)
>     at
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)
>     at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)
>     at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>     at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>     at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>     at
> org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
>     at
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
>     at
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>     at
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>     at
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>     at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>     at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>     at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>     at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>     at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
>     at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
>     at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
>     at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
>     at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>     at java.lang.Thread.run(Thread.java:662)
> Caused by: org.opencms.main.CmsException: Error while reading element bean
> from request
>     at
> org.opencms.ade.configuration.CmsADEManager.getCurrentElement(CmsADEManager.java:351)
>     at org.opencms.jsp.CmsJspTagFormatter.init(CmsJspTagFormatter.java:195)
>     at
> org.opencms.jsp.CmsJspTagFormatter.doStartTag(CmsJspTagFormatter.java:119)
>     at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_opencms_formgenerator.elements.form_jsp._jspService(form_jsp.java:244)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
>     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>     at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
>     at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:612)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
>     at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
>     at
> org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:356)
>     at
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:232)
>     at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:467)
>     at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_mycompany_v3.templates.template_jsp._jspx_meth_cms_005finclude_005f4(yougenio_jsp.java:2499)
>     at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_mycompany_v3.templates.template_jsp._jspService(yougenio_jsp.java:988)
>     ... 51 more
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111026/b837238b/attachment.htm>


More information about the opencms-dev mailing list