facebook

jboss 4.0.1 deployment problem

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #225183 Reply

    Ingwe
    Member

    hi,

    I want to use struts-examples.war for begin a struts development.
    But i can’t,
    if I change just the war file name to struts-examples_2.war, errors appeared on my explorer, when i try to connect at localhost:8080\struts-examples

    my log shown
    generated servlet errors
    Note : Recompile with -Xlint:unchecked for Details.

    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    ……

    Why struts-examples.war run, but no for the same package with a different name??????

    thanks by advance

    #225194 Reply

    Riyad Kalla
    Member

    Check your Tomcat logs to see what is going on (<tomcat dir>\logs) check the catalina.log file (if you are on unix) and/or the localhost logs.

    #225237 Reply

    Ingwe
    Member

    I saw my log, but in a first time i’m going to describe my configuration :

    I’ve JBOSS 4.0.0 (and no 4.0.1, sorry), JDK 1.5, struts 1.2.4, my OS is windows XP, I think that i describe all you need in my configuration.

    my log is following :

    10:07:59,436 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
    org.apache.jasper.JasperException: Impossible de compiler la classe pour la JSP

    Erreur de servlet générée:
    C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java:144: 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);
    ^

    Erreur de servlet générée:
    C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java:171: cannot find symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
    ^

    Erreur de servlet générée:
    C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java:203: cannot find symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
    ^

    Erreur de servlet générée:
    C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java:235: cannot find symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
    ^

    Erreur de servlet générée:
    C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java:267: cannot find symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
    ^

    Erreur de servlet générée:
    C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java:299: cannot find symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
    ^

    Erreur de servlet générée:
    C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java:331: cannot find symbol
    symbol : variable EVAL_BODY_AGAIN
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
    ^

    Erreur de servlet générée:
    Note: C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\struts-esamples\org\apache\jsp\welcome_jsp.java uses unchecked or unsafe operations.

    Erreur de servlet générée:
    Note: Recompile with -Xlint:unchecked for details.
    7 errors

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
    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:292)
    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(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
    at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)
    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
    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:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Unknown Source)

    about it i’m surprising because the package is identical at struts-examples.war .

    I just undeployed struts-examples.war which run well and i change one letter to struts-esamples.war, when i deploy it , it’s wrong with the log shown before.

    there are nothing in the package that identify the war file name so how Jboss can do a difference betwen other them ?

    thanks by advance

    #225327 Reply

    Ingwe
    Member

    ok it run

    it was a difference betwen my tomcat library (5.5) in eclipse and my tomcat library in jboss (4.1.28) . 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: jboss 4.0.1 deployment problem

You must be logged in to post in the forum log in