A note for people using JBOSS.<br><br><br>JBoss is using JSTL 1.2.<br>Opencms 7.0.5 is using JSTL 1.1.2<br><br>When you install opencms on jboss you will have a confligting jar.<br><br>What I done to solve the problem?<br>
<br>cd  to .... deploy/opencms.war/WEB-INF/lib<br>mv jstl-* ..<br>cp ....deploy/jboss-web.deploy/jstl.jar ....deploy/opencms.war/WEB-INF/lib<br><br><br>Now opencms is working well!<br><br>ivan<br><br><div class="gmail_quote">
2009/1/17 Ivan Codarin <span dir="ltr"><<a href="mailto:ivan.codarin@gmail.com">ivan.codarin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dears,<br>I've a Linux operating system running Jboss 4.2.3 (JDK 1.6) and Opencms 7.0.5.<br><br>When I'm logged in and I click to see/edit "Opencms Demo" on the default website I had this kind of error:<br>

<br><pre><pre>javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: Unable to compile class for JSP: <br><br>An error occurred at line: 28 in the jsp file: /WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templatetwo/elements/boxes/textbox.jsp<br>

The method setItems(String) in the type ForTokensTag is not applicable for the arguments (Object)<br>25:                                          <c:set var="uriParams" value="" /><br>26:                                               <cms:include file=""><br>

27:                                                     <cms:param name="box.uri" value="" /><br>28:                                                    <c:forTokens items="" delims="&" var="uriParam"><br>29:                                                           <cms:param name="" value="" /><br>

30:                                                     </c:forTokens><br>31:                                               </cms:include><br><br><br>Stacktrace:<br> at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)<br>  at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)<br>

        at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo_demo.pages.article_jsp._jspService(article_jsp.java:291)<br>    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)<br>    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)<br>

        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)<br>      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)<br>

        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)<br>     at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)<br>       at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)<br>

        at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)<br>      at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)<br>

        at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1227)<br>        at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1171)<br>       at org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:232)<br>

        at org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:52)<br>   at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)<br>    at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)<br>

        at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)<br>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)<br>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)<br>        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)<br>

        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)<br>   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)<br>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)<br>      at org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:638)<br>

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)<br>        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)<br>

        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)<br>     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)<br>   at java.lang.Thread.run(Thread.java:619)<br>

Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP: <br><br>An error occurred at line: 28 in the jsp file: /WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templatetwo/elements/boxes/textbox.jsp<br>

The method setItems(String) in the type ForTokensTag is not applicable for the arguments (Object)<br>25:                                          <c:set var="uriParams" value="" /><br>26:                                               <cms:include file=""><br>

27:                                                     <cms:param name="box.uri" value="" /><br>28:                                                    <c:forTokens items="" delims="&" var="uriParam"><br>29:                                                           <cms:param name="" value="" /><br>

30:                                                     </c:forTokens><br>31:                                               </cms:include><br><br><br>Stacktrace:<br> at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)<br>     at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)<br>

        at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)<br> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)<br>     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)<br>

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)<br>     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)<br>    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)<br>

        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)<br>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)<br>

        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)<br>   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)<br>     at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)<br>

        at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)<br>       at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)<br>

        at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)<br>       at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:364)<br> at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241)<br>

        at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:472)<br>       at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.elements.boxes_jsp._jspx_meth_cms_005finclude_005f0(boxes_jsp.java:540)<br>

        at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.elements.boxes_jsp._jspx_meth_c_005fwhen_005f1(boxes_jsp.java:485)<br>  at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.elements.boxes_jsp._jspx_meth_c_005fchoose_005f1(boxes_jsp.java:435)<br>

        at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.elements.boxes_jsp._jspx_meth_c_005fif_005f0(boxes_jsp.java:381)<br>    at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.elements.boxes_jsp._jspx_meth_c_005fforEach_005f0(boxes_jsp.java:338)<br>

        at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.elements.boxes_jsp._jspService(boxes_jsp.java:102)<br>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>

        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)<br>    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)<br>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br>

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)<br>      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)<br>   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)<br>

        at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)<br>       at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)<br>       at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193)<br>

        at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)<br>      at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)<br>       at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:364)<br>

        at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241)<br>       at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:472)<br>       at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.templates.main_jsp._jspx_meth_cms_005finclude_005f4(main_jsp.java:1054)<br>

        at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.templates.main_jsp._jspx_meth_c_005fif_005f3(main_jsp.java:950)<br>     at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.templates.main_jsp._jspx_meth_cms_005ftemplate_005f0(main_jsp.java:276)<br>

        at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo.templates.main_jsp._jspService(main_jsp.java:135)<br>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>

        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)<br>    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)<br>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br>

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)<br>      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)<br>   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)<br>

        at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)<br>       at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)<br>       at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193)<br>

        at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)<br>      at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)<br>       at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:364)<br>

        at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241)<br>       at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:472)<br>       at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo_demo.pages.article_jsp._jspx_meth_cms_005finclude_005f0(article_jsp.java:311)<br>

        at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templatetwo_demo.pages.article_jsp._jspService(article_jsp.java:111)<br>    ... 44 more<br></pre></pre> Any help is appreciated.<br>Many thanks<br>

<br>
</blockquote></div><br>