• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Sessions
  • teck
  • Reporter: teck
  • January 31, 2007
  • 0
  • Watchers: 0
  • July 27, 2012
  • February 26, 2007

Attachments

Description

Attached is a sample application that will blow. One could also use the tomcat “admin” application which is available as a separate download from tomcat (http://tomcat.apache.org/download-55.cgi)

java.lang.UnsupportedOperationException at org.apache.catalina.connector.SessionRequest55.getSessionInternal(SessionRequest55.java:94) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:393) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at com.tc.tomcat55.session.SessionValve55.tcInvoke(SessionValve55.java:58) at com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:45) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source)

Comments

Tim Eck 2007-01-31

initial support for this has been added in revision 978. The fix is for tomcat 5.5.x only (ie. not 5.0.x). The Principal bound to the session must be a portable type (ie. it must be a DSO instrumented class). Addtionally, the tomcat internal type GenericPrincipal can be used without instrumentation (but isn’t great from a performance perspective)