CAS和LDAP的Tomcat j_security错误

时间:2012-08-21 06:27:32

标签: tomcat cas

我们在tomcats和j_security方面遇到了一些问题。没有任何更改,重新启动后,它们开始失败并出现以下错误:

[http-8180-Processor23] ERROR org.apache.catalina.core.ContainerBase。[Catalina]。[some.fake.address]。[/]。[default] - Servlet.service()for servlet默认抛出异常 显示java.lang.NullPointerException         在org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:120)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)         在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)         在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)         在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)         在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)         在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)         在org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:880)         at org.apache.coyote.http11.Http11BaseProtocol $ Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)         在org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)         在org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)         at org.apache.tomcat.util.threads.ThreadPool $ ControlRunnable.run(ThreadPool.java:689)         在java.lang.Thread.run(Thread.java:662)

他们针对CAS服务器对用户进行身份验证,从LDAP检索数据。使用CAS服务器的所有其他服务(moodle,php)都正常工作,第三个tomcat服务器(我们还没有重启)也正常工作。任何人都可以找出问题或如何开始调试它?感谢

1 个答案:

答案 0 :(得分:2)

此问题可能与自Tomcat 6.0.33之后的可能错误相同,该错误在此主题中进行了解释:Is it possible to disable jsessionid in tomcat servlet?