I know the replication subject has been addressed somewhat for 5.x. I am
trying my first replication setup with two 5.5 servers on the same host.
Each Tomcat instance works just fine by itself.

I followed the configuration notes for Tomcat in the documentation for
in-memory replication, however I do not see any activity in the logs as
far as replication is concerned. The only thing I see logged is the
message:


Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager start
INFO: Starting clustering manager...:/servlets-examples
Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager start
INFO: Manager[/servlets-examples], skipping state transfer. No members active in 
cluster group.


The two instances are setup with unique tcpListenPort properties. The 
application has <distributable /> in web.xml on both instances. I tried the 
setup with both dirtyFlag enabled and disabled.

I even tried to put it behind Apache server proxy to get rid of localhost:port, 
but it has not changed anything. I still see no session replication activity. 
Each instance creates its own sessions and they are not propagated.

Can someone offer some ideas as to how to proceed?

Also, a couple of questions regarding the replication. What prevents a "hostile" tomcat
instance from joining the cluster when the cluster is configured on multiple hosts? Is 
there any documentation on replication using JDBC--I saw it mentioned, but no examples 
or
configuration options.


Thanks,

Ed


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

Reply via email to