Announcement Announcement Module
Collapse
No announcement yet.
Acegi does not work with Tomcat 5.5 and JDK 5.0 Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Acegi does not work with Tomcat 5.5 and JDK 5.0

    Just tried to use an existing application with Tomcat 5.5 and JDK 5.0 (this app previously worked with JDK 1.4.2 and Tomcat 5.0.x).

    Maybe you should look at the errors for future compatibility (see below).

    Thanks,
    Lars

    ERROR - ApplicationDispatcher.invoke(728) | Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP

    Generated servlet error:
    The import net.sf.acegisecurity.ui.AbstractProcessingFilter is never used

    Generated servlet error:
    The import net.sf.acegisecurity.AuthenticationException is never used


    at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:84)
    at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:332)
    at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:354)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:280)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:259)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:247)
    at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:538)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:296)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:302)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:246)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:682)
    at org.apache.catalina.core.ApplicationDispatcher.doI nclude(ApplicationDispatcher.java:581)
    at org.apache.catalina.core.ApplicationDispatcher.inc lude(ApplicationDispatcher.java:501)
    at com.opensymphony.module.sitemesh.filter.PageFilter .applyDecorator(PageFilter.java:181)
    at com.opensymphony.module.sitemesh.filter.PageFilter .doFilter(PageFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157)
    at org.springframework.orm.hibernate.support.OpenSess ionInViewFilter.doFilterInternal(OpenSessionInView Filter.java:170)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:73)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:106)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:576)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    ERROR - StandardWrapperValve.invoke(269) | Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP

    Generated servlet error:
    The import net.sf.acegisecurity.ui.AbstractProcessingFilter is never used

    Generated servlet error:
    The import net.sf.acegisecurity.AuthenticationException is never used


    at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:84)
    at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:332)
    at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:354)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:280)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:259)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:247)
    at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:538)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:296)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:302)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:246)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:682)
    at org.apache.catalina.core.ApplicationDispatcher.doI nclude(ApplicationDispatcher.java:581)
    at org.apache.catalina.core.ApplicationDispatcher.inc lude(ApplicationDispatcher.java:501)
    at com.opensymphony.module.sitemesh.filter.PageFilter .applyDecorator(PageFilter.java:181)
    at com.opensymphony.module.sitemesh.filter.PageFilter .doFilter(PageFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157)
    at org.springframework.orm.hibernate.support.OpenSess ionInViewFilter.doFilterInternal(OpenSessionInView Filter.java:170)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:73)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:106)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:576)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

  • #2
    Forget it

    Just forget about the first post. I somewhere had a JSP which included the acegi taglibs that I don't use at the moment. Tomcat 5.5 seems to be very strict when compiling JSPs.

    Thanks,
    Lars

    Comment

    Working...
    X