let me get a fix out this week, and we shall see if we get a difference :) Filip ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 11:25 AM Subject: Re: Error in clustering in tomcat 5
thanks for the quick reply Filip. as a side note i seem to consistly get this message running on slackware 9.1 distro. not sure if that may help. thanks aging, Daniel Schulken ----- Original Message ----- From: "Filip Hanik" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 2:00 PM Subject: Re: Error in clustering in tomcat 5 > no, you are experiencing a bug, one of you sessions is invalidated, and when > the system tries to copy it over, it fails. > I will add in the check to not copy over invalid sessions. > > Filip > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Monday, December 22, 2003 10:51 AM > Subject: Error in clustering in tomcat 5 > > > configuration > > tomcat1 and tomcat 2 load balanced with mod_jk with apache > > in the tomcat server.xml file i have clustering enabled and i have the > following for 10 different hosts. The web.xml file for each host has the > > <distributable/> > > <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" > name="etrakCluster1" > debug="100" > serviceclass="org.apache.catalina.cluster.mcast.McastService" > mcastAddr="224.0.0.1" > mcastPort="45564" > mcastFrequency="500" > mcastDropTime="3000" > tcpThreadCount="2" > tcpListenAddress="auto" > tcpListenPort="10001" > tcpSelectorTimeout="100" > printToScreen="true" > expireSessionsOnShutdown="false" > useDirtyFlag="false" > replicationMode="synchronous" > /> > <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve" > filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/> > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="logs" prefix="etrakCluster1_access_log." suffix=".txt" > pattern="common" resolveHosts="false"/> > > > i am reciving the fowling when i kill one of the 2 tomcat instances and also > recive a html error message as follows > > Internal Server Error > The server encountered an internal error or misconfiguration and was unable > to complete your request. Please contact the server administrator, > [EMAIL PROTECTED] and inform them of the time the error occurred, and > anything you might have done that may have caused the error. More > information about this error may be available in the server error log. > Apache/1.3.29 Server at www.etrak-plus.com Port 80 > and i get this in the log. > Dec 22, 2003 2:08:21 PM > org.apache.catalina.cluster.session.SimpleTcpReplicationManager log > SEVERE: Unable to receive message through TCP channel > java.lang.IllegalStateException: getAttributeNames: Session already > invalidated > at > org.apache.catalina.session.StandardSession.getAttributeNames(StandardSessio > n.java:1005) > at > org.apache.catalina.cluster.session.ReplicatedSession.toString(ReplicatedSes > sion.java:272) > at java.lang.String.valueOf(String.java:2131) > at java.lang.StringBuffer.append(StringBuffer.java:370) > at > org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageRecei > ved(SimpleTcpReplicationManager.java:620) > at > org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageDataR > eceived(SimpleTcpReplicationManager.java:653) > at > org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT > cpCluster.java:678) > at org.apache.catalina.cluster.io.ObjectReader.append(ObjectReader.java:110) > at > org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica > tionThread.java:167) > at > org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea > d.java:113) > at > org.apache.catalina.cluster.session.ReplicatedSession.toString(ReplicatedSes > sion.java:272) > at java.lang.String.valueOf(String.java:2131) > at java.lang.StringBuffer.append(StringBuffer.java:370) > at > org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageRecei > ved(SimpleTcpReplicationManager.java:620) > at > org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageDataR > eceived(SimpleTcpReplicationManager.java:653) > at > org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT > cpCluster.java:678) > at org.apache.catalina.cluster.io.ObjectReader.append(ObjectReader.java:110) > at > org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica > tionThread.java:167) > at > org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea > d.java:113) > Dec 22, 2003 2:08:21 PM > org.apache.catalina.cluster.session.SimpleTcpReplicationManager log > > > does any one have anyidea why this would be happing? > > is it a configuration that i missed? > > > > Thanks, > > Daniel Schulken > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.554 / Virus Database: 346 - Release Date: 12/20/2003 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.554 / Virus Database: 346 - Release Date: 12/20/2003 --------------------------------------------------------------------- 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]