You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anupam Beri <an...@gmail.com> on 2008/11/07 15:58:06 UTC

Re: Tomcat clustering

Hello All ,
                       I am a newbie to the Tomcat and Tomcat clustering
environment .I was just going through some posts on this forum for reference
.
I wish to deploy the classic JPetStore application which comes with the
Spring framework in the clustered environment involving 2 machines

For this, I installed Apache 2.2 , Tomcat 6.0.18 and mod_jk on each of these
machines . I configured mod_jk load balancer for sticky session and deployed
JPetStore on either of them .
But once I start tomcat and apache on either machine and try to do some
transactions , I cannot see any sessions being exchanged between the two
members of the cluster.

The JPetStore application also uses a database (hsqldb) and its necessary to
start one on either machine (it is not a shared one).

I was reading some documentation regarding if the session attributes are to
be implemented from serializable interface...but I see they already have
been in the source code .

I will be greateful if anyone could help me out and give a  good insight on
where I am going wrong ?
I have attached the server.xml , workers.properties and catalina.out for the
two nodes in the attached file.
Any help is deeply appreciated ! 

Best Regards !!
Anupam http://www.nabble.com/file/p20382167/clustering_files.rar
clustering_files.rar 

Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Enrique,
> 
> Enrique Arizón wrote:
> | | Mysql makes a great help since it use in memory
> | (RAM) storage for
> | | clustered tables
> |
> | What are you talking about? The closest thing to
> | "clustered tables" that
> | MySQL supports is the FEDERATED storage engine, and
> | there are no
> | guarantees about RAM usage for it.
> |
> |> Guess we are not speaking about the same thing. I
> |> refer to NDB Cluster engine:
> |
> |> http://dev.mysql.com/doc/refman/5.0/en/mysql-cluster.html
> |
> |>  I read time ago that Google improved such engine for
> |> its own purposes and the next Mysql will show improved
> |> clustering stuff. Also, since Mysql is now part of Sun
> |> I guess also it will get a boost from Solaris
> |> engineering (I mean, Dtrace).
> 
> Aah, yes... the NDB storage engine. This is great if you don't require
> durability of your data :) At least MySQL 5.1 has that nice "write it to
> the disk, too" feature.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkf6lecACgkQ9CaO5/Lv0PD8TgCgt5X0jagI6WH+Rh91wSW3CC+h
> agQAoIPoJJGJaJktjw6e/vQv3mLIT3vY
> =/g66
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Tomcat-clustering-tp16249049p20382167.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org