0 Replies Latest reply on Jan 26, 2005 6:35 PM by haripriya

    running struts on JBoss

    haripriya Newbie

      Hello,

      I am unable to get a single strut application working on JBoss but they run perfectly on tomcat. Is there any specific configuration required for JBoss ? Its very frustating that nothing even struts-examples is not working. Please help !
      There are the kind of exceptions that JBoss throws -

      org.apache.jasper.JasperException: Unable to compile class for JSP
      
      Generated servlet error:
      C:\jboss-4.0.1\server\default\work\jboss.web\localhost\myapp\org\apache\jsp\startForm_jsp.java:109: _jspx_meth_html_submit_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.startForm_jsp cannot be applied to (org.apache.strutsel.taglib.html.ELFormTag,javax.servlet.jsp.PageContext)
       if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, _jspx_page_context))
       ^
      
      
      Generated servlet error:
      C:\jboss-4.0.1\server\default\work\jboss.web\localhost\myapp\org\apache\jsp\startForm_jsp.java:113: _jspx_meth_html_submit_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.startForm_jsp cannot be applied to (org.apache.strutsel.taglib.html.ELFormTag,javax.servlet.jsp.PageContext)
       if (_jspx_meth_html_submit_1(_jspx_th_html_form_0, _jspx_page_context))
       ^
      
      
      Generated servlet error:
      C:\jboss-4.0.1\server\default\work\jboss.web\localhost\myapp\org\apache\jsp\startForm_jsp.java:145: _jspx_meth_bean_message_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.startForm_jsp cannot be applied to (org.apache.strutsel.taglib.html.ELSubmitTag,javax.servlet.jsp.PageContext)
       if (_jspx_meth_bean_message_0(_jspx_th_html_submit_0, _jspx_page_context))
       ^
      
      Generated servlet error:
      C:\jboss-4.0.1\server\default\work\jboss.web\localhost\myapp\org\apache\jsp\startForm_jsp.java:193: _jspx_meth_bean_message_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.startForm_jsp cannot be applied to (org.apache.strutsel.taglib.html.ELSubmitTag,javax.servlet.jsp.PageContext)
       if (_jspx_meth_bean_message_1(_jspx_th_html_submit_1, _jspx_page_context))
       ^
      
      
      Generated servlet error:
      Note: C:\jboss-4.0.1\server\default\work\jboss.web\localhost\myapp\org\apache\jsp\startForm_jsp.java uses unchecked or unsafe operations.
      
      
      Generated servlet error:
      Note: Recompile with -Xlint:unchecked for details.
      4 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:1056)
       org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)
       org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)
       org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
       org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
       org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)