• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Sessions
  • kkannaiy
  • Reporter: teck
  • October 10, 2007
  • 0
  • Watchers: 0
  • February 12, 2013
  • July 21, 2008

Description

Glassfish uses a forked version of tomcat as it’s servlet container. The tomcat specific portions of the DSO session code are not compatible with this fork. In particular the Valve interface and StandardPipeline implementations are different. These currently means we cannot do DSO sessions in tomcat. The changes in to interfaces in Glassfish present two problems:

1) Valves don’t call on the next valve, so there is not oppurtunity to wrap the request and response objects 2) There is no way to catch and exception in the valve pipeline

We rely on both of those characteristics at the moment – #1 so that we can intercept access to session, and #2 to perform an unlock() at the end of the request (no matter whether an exception is thrown)

Comments

Abhishek Singh 2008-07-21

Added support for dso sessions in glassfish v1 and v2.

Kalai Kannaiyan 2008-08-01

Tested with 2008-08-01 15:48:11,875 INFO - Terracotta 2.7.0-stable0, as of 20080728-210703 (Revision 9506 by cruise@WXPMO0 from 2.7), it is working as expected. For more details refer to INT-533