7 Replies Latest reply on Sep 13, 2004 5:02 PM by João Bier

    error deploy in jboss-3.2.5

    João Bier Newbie

      dears,
      i have application in jboss-3.2.3 using strust/tiles/ejb working without errors.
      if i try deployng in the jboss-3.2.5, the jsp's don't complile.
      in the jboss-3.2.5, i need change the default configuration???

      ps. sorry my english!!!!

      []'s

        • 1. Re: error deploy in jboss-3.2.5
          Darran Lofthouse Master

          More information is required, 3.2.5 works out of the box in the same way as 3.2.3 post your errors please.

          It might be worth installing a clean 3.2.3 and testing that, I see quite a few posts where people swear blind that they are using the default config of an old version only to find out that they made a change that they have forgotten about.

          • 2. Re: error deploy in jboss-3.2.5
            Timo Riikonen Newbie

            I would seem to have similar problems: when I run the JBoss it would not seem to try on deploying the WAR file in server\default\deploy directory.
            There is deployer.bat command, but it is missing deployer.jar file and does not work with run.jar file either.

            I would like to test this with 3.2.3, except I don't have it and it is not in the download directory.

            Timo Riikonen

            • 3. Re: error deploy in jboss-3.2.5
              Raja Master

               

              I would seem to have similar problems: when I run the JBoss it would not seem to try on deploying the WAR file in server\default\deploy directory.
              There is deployer.bat command, but it is missing deployer.jar file and does not work with run.jar file either.


              What error are you getting(if any)? Cant help u much wi th a "would not seem to deploy"

              Anyway, jboss-3.2.3 is available at
              http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=196677

              • 4. Re: error deploy in jboss-3.2.5
                João Bier Newbie

                I have deployed the packages without any errors in jboss-3.2.5.
                The error occurr when i attempt to access the aplicattion.
                The jsp pages simply don't compile, from the login page.
                Like they don't found the servlet.jar file.

                The same package's deployed in the jboss-3.2.3 work without errors.
                And I can use the aplicattion and it work's fine.

                the exceptions in jboss server.log

                
                
                10:21:18,398 ERROR [Compiler] Javac exception
                Compile failed; see the compiler error output for details.
                 at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
                 at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
                 at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
                 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
                 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
                 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
                 at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
                .java:511)
                 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
                .java:295)
                 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
                92)
                 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                icationFilterChain.java:237)
                
                
                other point of this exception..
                
                
                
                
                10:21:18,654 ERROR [Compiler] Error compiling file: /usr/local/jboss-3.2.5/serve
                r/default/work/jboss.web/localhost/CashCardWebClienteWeb//org/apache/jsp/paginas
                /cashcardweb_005fapelo_005fcorpo_jsp.java [javac] Compiling 1 source file
                
                /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClient
                eWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:134: _jspx_
                meth_bean_message_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContex
                t) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be appli
                ed to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                 if (_jspx_meth_bean_message_0(_jspx_th_html_form_0, _jspx_page_context
                ))
                 ^
                /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClient
                eWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:138: _jspx_
                meth_html_text_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
                in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied
                to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                 if (_jspx_meth_html_text_0(_jspx_th_html_form_0, _jspx_page_context))
                 ^
                /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClient
                eWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:148: _jspx_
                meth_bean_message_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContex
                t) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be appli
                ed to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                 if (_jspx_meth_bean_message_1(_jspx_th_html_form_0, _jspx_page_context
                ))
                 ^
                /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClient
                eWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:152: _jspx_
                meth_html_password_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageConte
                xt) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be appl
                ied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
                 if (_jspx_meth_html_password_0(_jspx_th_html_form_0, _jspx_page_contex
                t))
                 ^
                
                
                and another erros that apears in the browser
                
                
                
                [ServletException in:/paginas/cashcardweb_apelo_corpo.jsp] Unable to compile class for JSP An error occurred at line: 38 in the jsp file: /paginas/cashcardweb_apelo_corpo.jsp Generated servlet error: /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClienteWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:134: _jspx_meth_bean_message_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext) if (_jspx_meth_bean_message_0(_jspx_th_html_form_0, _jspx_page_context)) ^ An error occurred at line: 38 in the jsp file: /paginas/cashcardweb_apelo_corpo.jsp Generated servlet error: /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClienteWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:138: _jspx_meth_html_text_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext) if (_jspx_meth_html_text_0(_jspx_th_html_form_0, _jspx_page_context)) ^ An error occurred at line: 38 in the jsp file: /paginas/cashcardweb_apelo_corpo.jsp Generated servlet error: /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClienteWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:148: _jspx_meth_bean_message_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext) if (_jspx_meth_bean_message_1(_jspx_th_html_form_0, _jspx_page_context)) ^ An error occurred at line: 38 in the jsp file: /paginas/cashcardweb_apelo_corpo.jsp Generated servlet error: /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClienteWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:152: _jspx_meth_html_password_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext) if (_jspx_meth_html_password_0(_jspx_th_html_form_0, _jspx_page_context)) ^ An error occurred at line: 38 in the jsp file: /paginas/cashcardweb_apelo_corpo.jsp Generated servlet error: /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClienteWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:163: _jspx_meth_html_submit_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext) if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, _jspx_page_context)) ^ An error occurred at line: 69 in the jsp file: /paginas/cashcardweb_apelo_corpo.jsp Generated servlet error: /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClienteWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:190: _jspx_meth_bean_write_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied to (org.apache.struts.taglib.html.MessagesTag,javax.servlet.jsp.PageContext) if (_jspx_meth_bean_write_0(_jspx_th_html_messages_0, _jspx_page_context)) ^ An error occurred at line: 60 in the jsp file: /paginas/cashcardweb_apelo_corpo.jsp Generated servlet error: /usr/local/jboss-3.2.5/server/default/work/jboss.web/localhost/CashCardWebClienteWeb/org/apache/jsp/paginas/cashcardweb_005fapelo_005fcorpo_jsp.java:343: _jspx_meth_bean_message_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.paginas.cashcardweb_005fapelo_005fcorpo_jsp cannot be applied to (org.apache.struts.taglib.html.SubmitTag,javax.servlet.jsp.PageContext) if (_jspx_meth_bean_message_2(_jspx_th_html_submit_0, _jspx_page_context)) ^ 7 errors '
                
                
                


                Thanks for all...
                []'s

                João

                • 5. Re: error deploy in jboss-3.2.5
                  wangf feng Newbie

                  the packages must include more .jars in jboss-3.2.5. than in jboss-3.2.3 i think,there are some difference.

                  • 6. Re: error deploy in jboss-3.2.5
                    psv Newbie

                    Remove the servlet.jar from the packaged war.

                    • 7. Re: error deploy in jboss-3.2.5
                      João Bier Newbie

                       

                      "psv" wrote:
                      Remove the servlet.jar from the packaged war.


                      ok.
                      I wil try this at tonigth and tomorrow i post the result.

                      thanks for all.

                      []'s