Problem to run resume 0.8

Help
Anonymous
2003-09-20
2003-09-22
  • Anonymous - 2003-09-20

    Hi:
    I followed the README file included in the resume 0.8, to set up and run it with mysql.  When accessed the application, I just got a "Yikes" blank page.  I check the log and see the below exception.  BTW, I got exactly the same exception with appfuse 0.9.1
    My environment:
    - Win2K
    - Jdk 1.3.1_02
    - Tomcat 4.1.27
    - Mysql 4.0.14
    Thanks for any help.

    2003-09-20 18:42:56 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    javax.servlet.ServletException: Filter execution threw an exception
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
        at java.lang.Thread.run(Thread.java:484)
    ----- Root Cause -----
    java.lang.NoSuchMethodError
        at org.appfuse.webapp.filter.BreadCrumbFilter.doFilter(BreadCrumbFilter.java:104)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
        at java.lang.Thread.run(Thread.java:484)

    2003-09-20 18:42:56 StandardContext[/struts-resume]: Mapping contextPath='/struts-resume' with requestURI='/struts-resume/error.jsp' and relativeURI='/error.jsp'
    2003-09-20 18:42:56 StandardContext[/struts-resume]:   Trying exact match
    2003-09-20 18:42:56 StandardContext[/struts-resume]:   Trying prefix match

     
    • Anonymous - 2003-09-21

      I found the problem.  Looks like appfuse only supports jdk 1.4.x.  It does not support 1.3.1_x.
      I think we should support 1.3.1, as they are still quite popular out there.  Unless you have a technical issues only resolved by jdk 1.4.x
      -- Hai

       
      • Matt Raible

        Matt Raible - 2003-09-22

        I'll look into compiling and building with 1.3.1.

        Thanks,

        Matt

         
      • Matt Raible

        Matt Raible - 2003-09-22

        I tried compiling with JDK 1.4 and found a number of errors (listed below).  I like the ability to get nested exceptions and some of the other stuff - so I don't think I will make it backwards compatible with 1.3.1. 

            [javac] Compiling 31 source files to D:\Source\appfuse\build\web\classes
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\action\ActionExceptionHandler.java:71: cann
        ot resolve symbol
            [javac] symbol  : method getCause  ()
            [javac] location: class java.lang.Exception
            [javac]             ex = (Exception) ex.getCause();
            [javac]                                ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\action\RegistrationServlet.java:199: cannot
        resolve symbol
            [javac] symbol  : method getCause  ()
            [javac] location: class java.lang.Exception
            [javac]                 e = (Exception) e.getCause();
            [javac]                                  ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\action\UserAction.java:252: cannot resolve
        symbol
            [javac] symbol  : method getCause  ()
            [javac] location: class java.lang.Exception
            [javac]                 e = (Exception) e.getCause();
            [javac]                                  ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\filter\ActionFilter.java:159: cannot resolv
        e symbol
            [javac] symbol  : method getCause  ()
            [javac] location: class java.lang.Exception
            [javac]             if (e.getCause() == null) {
            [javac]                  ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\filter\ActionFilter.java:162: cannot resolv
        e symbol
            [javac] symbol  : method getCause  ()
            [javac] location: class java.lang.Exception
            [javac]                 while (e.getCause() != null) {
            [javac]                         ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\filter\ActionFilter.java:165: cannot resolv
        e symbol
            [javac] symbol  : method getCause  ()
            [javac] location: class java.lang.Exception
            [javac]                     e = (Exception) e.getCause();
            [javac]                                      ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\filter\BreadCrumbFilter.java:99: decode(jav
        a.lang.String) in java.net.URLDecoder cannot be applied to (java.lang.String,java.lang.String)
            [javac]                 ? URLDecoder.decode(passCookie.getValue(), "UTF-8") : null;
            [javac]                             ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\filter\BreadCrumbFilter.java:111: cannot re
        solve symbol
            [javac] symbol  : method indexOf  (java.lang.String)
            [javac] location: class java.lang.StringBuffer
            [javac]                     (request.getRequestURL().indexOf("logout") != -1)) &&
            [javac]                                           ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\filter\BreadCrumbFilter.java:127: cannot re
        solve symbol
            [javac] symbol  : method indexOf  (java.lang.String)
            [javac] location: class java.lang.StringBuffer
            [javac]             if ((request.getRequestURL().indexOf("login") != -1)) {
            [javac]                                       ^
            [javac] D:\Source\appfuse\src\web\org\appfuse\webapp\filter\BreadCrumbFilter.java:133: decode(ja
        va.lang.String) in java.net.URLDecoder cannot be applied to (java.lang.String,java.lang.String)
            [javac]                     ? URLDecoder.decode(userCookie.getValue(), "UTF-8") : null;
            [javac]                                 ^
            [javac] 10 errors

        BUILD FAILED
        file:D:/Source/appfuse/build.xml:642: Compile failed; see the compiler error output for details.

         

Log in to post a comment.