JBOSS deplyment problem

Discussions

Web tier: servlets, JSP, Web frameworks: JBOSS deplyment problem

  1. JBOSS deplyment problem (2 messages)

    Hi All,
           I got a problem when i am trying to access a Login.jsp page after successfully deplying my application in the JBoss 3.2.5 I am getting the blow exception.I am putting the struts.jar file in the default/lib directory and i removed it from the my WEB-INF/lib directory still i am getting the same exception i am clueless please help me

    thanks,
    Ashok.
    org.apache.jasper.JasperException: Unable to compile class for JSP

    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:389: _jspx_meth_html_img_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_0(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:393: _jspx_meth_html_rewrite_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_rewrite_0(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:397: _jspx_meth_html_img_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_1(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:401: _jspx_meth_html_img_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_2(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:415: _jspx_meth_html_img_3(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_3(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:422: _jspx_meth_html_img_4(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_4(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:430: _jspx_meth_html_img_5(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_5(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:453: _jspx_meth_html_img_6(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_6(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:466: _jspx_meth_html_img_7(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_7(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:471: _jspx_meth_html_img_8(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_8(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:488: _jspx_meth_html_img_9(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_9(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:492: _jspx_meth_html_rewrite_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_rewrite_1(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:496: _jspx_meth_html_img_10(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_10(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:506: _jspx_meth_html_img_11(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_11(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:511: _jspx_meth_html_rewrite_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_rewrite_2(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:516: _jspx_meth_html_img_12(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_12(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:521: _jspx_meth_html_rewrite_3(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_rewrite_3(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:528: _jspx_meth_html_rewrite_4(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_rewrite_4(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:532: _jspx_meth_bean_write_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_bean_write_0(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:538: _jspx_meth_html_rewrite_5(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_rewrite_5(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:542: _jspx_meth_html_img_13(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_13(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:549: _jspx_meth_html_img_14(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_14(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:554: _jspx_meth_html_img_15(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_15(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:559: _jspx_meth_html_img_16(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_16(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:564: _jspx_meth_html_img_17(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.JSP.MainMenu_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                  if (_jspx_meth_html_img_17(_jspx_th_html_form_0, _jspx_page_context))
                      ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:1143: cannot resolve symbol
    symbol : method doAfterBody ()
    location: class org.apache.struts.taglib.html.FormTag
                  int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
                                                            ^


    An error occurred at line: 251 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:1144: cannot resolve symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                         ^


    An error occurred at line: 5 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:1153: cannot resolve symbol
    symbol : method doAfterBody ()
    location: class org.apache.struts.taglib.html.HtmlTag
              int evalDoAfterBody = _jspx_th_html_html_0.doAfterBody();
                                                        ^


    An error occurred at line: 5 in the jsp file: /JSP/MainMenu.jsp
    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:1154: cannot resolve symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                                                                     ^


    Generated servlet error:
    E:\jboss-3.2.5\server\default\work\jboss.web\localhost\wis\org\apache\jsp\JSP\MainMenu_jsp.java:1166: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
            if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
                                                              ^
    30 errors



    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    com.ge.cat.gewis.core.filters.LoginFilter.doFilter(LoginFilter.java:179)

    Threaded Messages (2)

  2. JBOSS Problem[ Go to top ]

    I am facing a similar problem. Did you find the solution. If so could you pls post it?? Any one with a solution to such problem?? TIA Gus. A
  3. Solution.[ Go to top ]

    In bugzilla from apache.org there is also a description of this issue. The comments under the description are specially interesting. https://issues.apache.org/bugzilla/show_bug.cgi?id=30482