1 Reply Latest reply on Mar 7, 2006 3:01 AM by Jitesh Kalyani

    Error with Jstl while running JBoss 4.0.2 on Linux

    Archit Pandey Newbie

      hi,

      I am deploying petstore 1.3.2 on JBoss 4.0.2 with MySql as database. I made changes to the deployment descriptors and deployed the petstore ear on JBoss4.0.2 running on my windows machine. The application was running fine.
      Now I moved petstore ear on JBoss 4.0.2 running on my Linux machine. The deployment was successful but one of the jsp pages gave the following exception

      javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "items" with value "${catalog.categories.list}": An error occurred while getting property "categories" from an instance of class com.sun.j2ee.blueprints.catalog.client.CatalogHelper

      I tried searching on the forums but couldnt find any thing specific to this error. But what i was able to figure out, is that there is some problem with jstl on JBoss4.0.2.

      If somebody has encountered this problem please help.

      The full stack trace of the error is

      ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
      javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "items" with value "${catalog.categories.list}": An error occurred while getting property "categories" from an instance of class com.sun.j2ee.blueprints.catalog.client.CatalogHelper
      at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:140)
      at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:112)
      at org.apache.taglibs.standard.tag.el.core.ForEachTag.evaluateExpressions(ForEachTag.java:191)
      at org.apache.taglibs.standard.tag.el.core.ForEachTag.doStartTag(ForEachTag.java:102)
      at org.apache.jsp.sidebar_jsp._jspx_meth_c_forEach_0(org.apache.jsp.sidebar_jsp:234)
      at org.apache.jsp.sidebar_jsp._jspx_meth_waf_cache_0(org.apache.jsp.sidebar_jsp:146)
      at org.apache.jsp.sidebar_jsp._jspService(org.apache.jsp.sidebar_jsp:75)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      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 com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(Unknown Source)
      at org.apache.jsp.template_jsp._jspx_meth_template_insert_2(org.apache.jsp.template_jsp:225)
      at org.apache.jsp.template_jsp._jspService(org.apache.jsp.template_jsp:141)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      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.processRequest(ApplicationDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.insertTemplate(Unknown Source)
      at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.process(Unknown Source)
      at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.doGet(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Unknown Source)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(Unknown Source)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:534)
      INFO [STDOUT] InsertTag:doEndTag caught: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "items" with value "${catalog.categories.list}": An error occurred while getting property "categories" from an instance of class com.sun.j2ee.blueprints.catalog.client.CatalogHelper

        • 1. Re: Error with Jstl while running JBoss 4.0.2 on Linux
          Jitesh Kalyani Newbie

          Hellooooo,

          I am getting the similar error while migrating petstore1.3.2 to JBoss 4.0.2.
          I am using hypersonic db. Any one got answer for this? my stack trace is very much similar to posted earlier.

          JDK - 1.5.0_6
          JBoss - 4.0.3
          OS - WinXP

          Please reply.

          ------------------------------------------------------------------------------------
          2006-03-07 15:48:44,358 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/petstore].[jsp]] Servlet.service() for servlet jsp threw exception
          javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "items" with value "${catalog.categories.list}": An error occurred while getting property "categories" from an instance of class com.sun.j2ee.blueprints.catalog.client.CatalogHelper
          at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:140)
          at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:112)
          at org.apache.taglibs.standard.tag.el.core.ForEachTag.evaluateExpressions(ForEachTag.java:191)
          at org.apache.taglibs.standard.tag.el.core.ForEachTag.doStartTag(ForEachTag.java:102)
          at org.apache.jsp.sidebar_jsp._jspx_meth_c_forEach_0(org.apache.jsp.sidebar_jsp:234)
          at org.apache.jsp.sidebar_jsp._jspx_meth_waf_cache_0(org.apache.jsp.sidebar_jsp:146)
          at org.apache.jsp.sidebar_jsp._jspService(org.apache.jsp.sidebar_jsp:75)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
          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 com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(Unknown Source)
          at org.apache.jsp.template_jsp._jspx_meth_template_insert_2(org.apache.jsp.template_jsp:225)
          at org.apache.jsp.template_jsp._jspService(org.apache.jsp.template_jsp:141)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
          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.processRequest(ApplicationDispatcher.java:463)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
          at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.insertTemplate(Unknown Source)
          at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.process(Unknown Source)
          at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.doGet(Unknown Source)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Unknown Source)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(Unknown Source)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
          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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
          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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
          at java.lang.Thread.run(Thread.java:595)
          -------------------------------------------------------------------------------------