RE: cluster didn't replicat sessions

2004-07-19 Thread Roland Mieslinger
Thanke you Matt,

looks better now.

Nice Day

Roland Mieslinger
Systemadministrator UNIX  

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 10:26 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: cluster didn't replicat sessions



Hi,

Have you set the distributable tag in your context's web.xml?

If so, please post the catalina.out of both so that I can see that the
tomcats have joined the cluster.

If not put distributable/ inside your webapp tags in the web.xml

Ta
Matt

-Original Message-
From: Roland Mieslinger [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 20:30
To: [EMAIL PROTECTED]
Subject: cluster didn't replicat sessions


Hi,

we are running tomcat 5.0.27 on two servers ( Solaris 8, JDK 1.4.2_02 ), 
with apache and AJP connector in a cluster configuration. Loadbalancing is
done by an external HW device.

My problem is, that sessions are not replicated between the nodes.

This is my cluster config ( most taken from sample )

Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
name=XYZ
 managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false useDirtyFlag=true debug=9
 
  Membership className=org.apache.catalina.cluster.mcast.McastService
  mcastAddr=239.255.255.1 mcastPort=45564
mcastFrequency=500 
  mcastDropTime=3000/
 
  Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener
tcpListenAddress=x.y.z.170 tcpListenPort=4001 
tcpSelectorTimeout=100 tcpThreadCount=6 debug=9/

  Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter

  replicationMode=pooled debug=9/
 
  Valve className=org.apache.catalina.cluster.tcp.ReplicationValve 
 filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/

/Cluster
(tcpListenAddress is x.y.z.171 on the other node)

Both nodes are sending multicast packets to 239.255.255.1 ( verfied with
snoop ). This packets contains the correct values for replication socket of
the sending host (e. g. tcp://x.y.z.171:4001). Telnet connections to port
4001 are accepted on both nodes.

There is not connection between both nodes on port 4001 ( Should I expect
one? ). I've set debug=9 ( what is the highest possible value? ) but
didn't see errors 
in neither catalina.out nor server.log.

The application works well if all requests are directed to the same node.

Any ideas how to troubleshoot this problem are welcome. 

Is it correct that setting useDirtyFlag=false forces replication in any 
case after the request has been processed? 

Thanx for your help.

Roland Mieslinger
Systemadministrator UNIX 



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



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



RE: cluster didn't replicat sessions

2004-07-17 Thread Filip Hanik \(lists\)
also the debug flag is obsolete, instead enable debug level using log4j or
the other logger

Filip

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 3:26 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: cluster didn't replicat sessions



Hi,

Have you set the distributable tag in your context's web.xml?

If so, please post the catalina.out of both so that I can see that the
tomcats have joined the cluster.

If not put distributable/ inside your webapp tags in the web.xml

Ta
Matt

-Original Message-
From: Roland Mieslinger [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 20:30
To: [EMAIL PROTECTED]
Subject: cluster didn't replicat sessions


Hi,

we are running tomcat 5.0.27 on two servers ( Solaris 8, JDK 1.4.2_02 ),
with apache and AJP connector in a cluster configuration. Loadbalancing
is done by an external HW device.

My problem is, that sessions are not replicated between the nodes.

This is my cluster config ( most taken from sample )

Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
name=XYZ
 managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false useDirtyFlag=true debug=9

  Membership className=org.apache.catalina.cluster.mcast.McastService
  mcastAddr=239.255.255.1 mcastPort=45564
mcastFrequency=500
  mcastDropTime=3000/

  Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener
tcpListenAddress=x.y.z.170 tcpListenPort=4001
tcpSelectorTimeout=100 tcpThreadCount=6 debug=9/

  Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter

  replicationMode=pooled debug=9/

  Valve className=org.apache.catalina.cluster.tcp.ReplicationValve
 filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/

/Cluster
(tcpListenAddress is x.y.z.171 on the other node)

Both nodes are sending multicast packets to 239.255.255.1 ( verfied with
snoop ).
This packets contains the correct values for replication socket of the
sending
host (e. g. tcp://x.y.z.171:4001). Telnet connections to port 4001 are
accepted
on both nodes.

There is not connection between both nodes on port 4001 ( Should I expect
one? ).
I've set debug=9 ( what is the highest possible value? ) but didn't see
errors
in neither catalina.out nor server.log.

The application works well if all requests are directed to the same node.

Any ideas how to troubleshoot this problem are welcome.

Is it correct that setting useDirtyFlag=false forces replication in any
case after the request has been processed?

Thanx for your help.

Roland Mieslinger
Systemadministrator UNIX



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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.721 / Virus Database: 477 - Release Date: 7/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.721 / Virus Database: 477 - Release Date: 7/16/2004


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



cluster didn't replicat sessions

2004-07-16 Thread Roland Mieslinger
Hi,

we are running tomcat 5.0.27 on two servers ( Solaris 8, JDK 1.4.2_02 ), 
with apache and AJP connector in a cluster configuration. Loadbalancing
is done by an external HW device.

My problem is, that sessions are not replicated between the nodes.

This is my cluster config ( most taken from sample )

Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
name=XYZ
 managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false useDirtyFlag=true debug=9
 
  Membership className=org.apache.catalina.cluster.mcast.McastService
  mcastAddr=239.255.255.1 mcastPort=45564
mcastFrequency=500 
  mcastDropTime=3000/
 
  Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener
tcpListenAddress=x.y.z.170 tcpListenPort=4001 
tcpSelectorTimeout=100 tcpThreadCount=6 debug=9/

  Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter

  replicationMode=pooled debug=9/
 
  Valve className=org.apache.catalina.cluster.tcp.ReplicationValve 
 filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/

/Cluster
(tcpListenAddress is x.y.z.171 on the other node)

Both nodes are sending multicast packets to 239.255.255.1 ( verfied with
snoop ).
This packets contains the correct values for replication socket of the
sending
host (e. g. tcp://x.y.z.171:4001). Telnet connections to port 4001 are
accepted
on both nodes.

There is not connection between both nodes on port 4001 ( Should I expect
one? ).
I've set debug=9 ( what is the highest possible value? ) but didn't see
errors 
in neither catalina.out nor server.log.

The application works well if all requests are directed to the same node.

Any ideas how to troubleshoot this problem are welcome. 

Is it correct that setting useDirtyFlag=false forces replication in any 
case after the request has been processed? 

Thanx for your help.

Roland Mieslinger
Systemadministrator UNIX 



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



RE: cluster didn't replicat sessions

2004-07-16 Thread Dale, Matt

Hi,

Have you set the distributable tag in your context's web.xml?

If so, please post the catalina.out of both so that I can see that the tomcats have 
joined the cluster.

If not put distributable/ inside your webapp tags in the web.xml

Ta
Matt

-Original Message-
From: Roland Mieslinger [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 20:30
To: [EMAIL PROTECTED]
Subject: cluster didn't replicat sessions


Hi,

we are running tomcat 5.0.27 on two servers ( Solaris 8, JDK 1.4.2_02 ), 
with apache and AJP connector in a cluster configuration. Loadbalancing
is done by an external HW device.

My problem is, that sessions are not replicated between the nodes.

This is my cluster config ( most taken from sample )

Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
name=XYZ
 managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false useDirtyFlag=true debug=9
 
  Membership className=org.apache.catalina.cluster.mcast.McastService
  mcastAddr=239.255.255.1 mcastPort=45564
mcastFrequency=500 
  mcastDropTime=3000/
 
  Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener
tcpListenAddress=x.y.z.170 tcpListenPort=4001 
tcpSelectorTimeout=100 tcpThreadCount=6 debug=9/

  Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter

  replicationMode=pooled debug=9/
 
  Valve className=org.apache.catalina.cluster.tcp.ReplicationValve 
 filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/

/Cluster
(tcpListenAddress is x.y.z.171 on the other node)

Both nodes are sending multicast packets to 239.255.255.1 ( verfied with
snoop ).
This packets contains the correct values for replication socket of the
sending
host (e. g. tcp://x.y.z.171:4001). Telnet connections to port 4001 are
accepted
on both nodes.

There is not connection between both nodes on port 4001 ( Should I expect
one? ).
I've set debug=9 ( what is the highest possible value? ) but didn't see
errors 
in neither catalina.out nor server.log.

The application works well if all requests are directed to the same node.

Any ideas how to troubleshoot this problem are welcome. 

Is it correct that setting useDirtyFlag=false forces replication in any 
case after the request has been processed? 

Thanx for your help.

Roland Mieslinger
Systemadministrator UNIX 



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

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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