You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2004/04/01 23:06:50 UTC

cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session DeltaSession.java

fhanik      2004/04/01 13:06:50

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster/session
                        DeltaSession.java
  Log:
  bugfix for 28131, thanks to rainer.jung  -at- kippdata.de
  
  Revision  Changes    Path
  1.20      +3 -3      jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java
  
  Index: DeltaSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- DeltaSession.java	27 Feb 2004 14:58:56 -0000	1.19
  +++ DeltaSession.java	1 Apr 2004 21:06:50 -0000	1.20
  @@ -295,7 +295,7 @@
       /**
        * The access count for this session
        */
  -    protected transient int accessCount = 1;
  +    protected transient int accessCount = 0;
       
       // ----------------------------------------------------- Session Properties
   
  @@ -816,7 +816,7 @@
           id = null;
           lastAccessedTime = 0L;
           maxInactiveInterval = -1;
  -        accessCount = 1;
  +        accessCount = 0;
           notes.clear();
           setPrincipal(null);
           isNew = false;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session DeltaSession.java

Posted by "Filip Hanik (lists)" <de...@hanik.com>.
for the longest time the standard session wasn't extendable.
I would have loved to do that a long time ago, now it is just a matter of
time before I will do it.

5.0.22 would be good :)
thanks
Filip

-----Original Message-----
From: Remy Maucherat [mailto:remm@apache.org]
Sent: Friday, April 02, 2004 5:18 AM
To: Tomcat Developers List
Subject: Re: cvs commit:
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cl
uster/session DeltaSession.java


fhanik@apache.org wrote:
> fhanik      2004/04/01 13:06:50
>
>   Modified:
modules/cluster/src/share/org/apache/catalina/cluster/session
>                         DeltaSession.java
>   Log:
>   bugfix for 28131, thanks to rainer.jung  -at- kippdata.de

So I assume you're going to want a 5.0.22 ? :(

This is a consequence of not extending StandardSession. Is this really
not possible to do ?
In JBoss, it works fine, and it avoids that kind of maintenance issue.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session DeltaSession.java

Posted by Remy Maucherat <re...@apache.org>.
fhanik@apache.org wrote:
> fhanik      2004/04/01 13:06:50
> 
>   Modified:    modules/cluster/src/share/org/apache/catalina/cluster/session
>                         DeltaSession.java
>   Log:
>   bugfix for 28131, thanks to rainer.jung  -at- kippdata.de

So I assume you're going to want a 5.0.22 ? :(

This is a consequence of not extending StandardSession. Is this really 
not possible to do ?
In JBoss, it works fine, and it avoids that kind of maintenance issue.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org