Hello,

I re-send the following message because I did not receive it from the list.

Thank you.

Antonio Fiol
--- Begin Message --- Dear Filip, and others of course,

Following the thread that started on saturday, we installed TC5 with your patch.

Behaviour seems somehow better. I am not sure whether it was the patch or the 5.0.12 -> 5.0.14+CVS skip. No more exceptions like the one I talked about seem to happen now.

Now we see something different, even more mystifying.

A session exists, but another tomcat (let's call it TC1) modifies it, and redirects the user to another servlet. The session replication starts.

TC2 (for which I present the log here) starts receiving the session. It says what is marked "1" on the log.

Meanwhile, TC2 receives the request for the "redirected" resource, and starts processing it. It is marked "2" on the log. As you will see, it perceives the session as nonexistent (or incomplete).

TC2 ends receiving the session. Marked "3" on the log.

Last, but not least, a session has been created for the user, and it is sent to the other tomcats (TC1, TC3). Marked "4" on the log.

Obviously, this should not happen: if TC1 sends a 302-redirect, when the request for the redirected resource arrives, session has to be already replicated OR at least, TC2 should have waited for the end of the session replication before returning a null/new session to the app.

Thank you very much.

Yours sincerely,


Antonio Fiol



--------------------------- 1 -----------------------------------
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: Received SessionMessage of type=SESSION-MODIFIED
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: Received SessionMessage sender=org.apache.catalina.cluster.mcast.McastMember[tcp://172.19.8.112:4001,172.19.8.112,4001]
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: readObject() loading session 656EB42322EF71737595FBE2864FFBEB
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'mensaje' with value ''
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'actorSession' with value 'es.red.esnic.negocio.vo.ActorVO{tipoActor=3, codActor=120068, nombreActor='usuario registrado 1', email=
'[EMAIL PROTECTED]', passwd='qwerty', nicHandle='UR1-ESNIC-F2'}'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'tamDominio' with value '0'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'login' with value 'UR1-ESNIC-F2'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'datos' with value '[Ljava.lang.Object;@1214626'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'cod_contacto' with value '120068'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'url' with value '/esnic/servlet/ListaDominiosController?nivelDom=2'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'contadorLista' with value '0'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'rol' with value '3'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'datosUsuario' with value '[EMAIL PROTECTED]'
-------------------- 2 -------------------------------
[2003-11-17 12:58:39,861] - DEBUG - auth.UserFinalAuthFilter.doFilter - There is no session, session has no login name attribute or role attribute is incorrect/nonexistent. Let's start authentication procedure.
-------------------- 3 -------------------------------
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'dominios' with value '[]'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: loading attribute 'dominio' with value 'midominio95959595.com.es'
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: Received replicated session=ReplicatedSession id=656EB42322EF71737595FBE2864FFBEB ref=StandardSession[656EB42322EF71737595FBE2864FFBEB]
name=actorSession; value=es.red.esnic.negocio.vo.ActorVO{tipoActor=3, codActor=120068, nombreActor='usuario registrado 1', email='[EMAIL PROTECTED]
ed.es', passwd='qwerty', nicHandle='UR1-ESNIC-F2'}
name=mensaje; value=
name=tamDominio; value=0
name=login; value=UR1-ESNIC-F2
name=datos; value=[Ljava.lang.Object;@1214626
name=cod_contacto; value=120068
name=contadorLista; value=0
name=url; value=/esnic/servlet/ListaDominiosController?nivelDom=2
name=datosUsuario; [EMAIL PROTECTED]
name=rol; value=3
name=dominios; value=[]
name=dominio; value=midominio95959595.com.es
LastAccess=1069070319683


-------------------- 4 --------------------
Nov 17, 2003 12:58:39 PM org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
INFO: writeObject() storing session 114D8CE3A8A93DACA946E3F1A1C6F4A1





--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to