Tomcat 6 clustering and engine's defaulthost

2009-08-12 Thread Ossi
hi! Looks like if configuring a Tomcat 6 cluster Engine's and host's default host must be localhost, ie. Engine name=Catalina defaultHost=localhost jvmRoute=private-tomcat1 Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false

RE: Tomcat 6 clustering and engine's defaulthost

2009-08-12 Thread Caldarale, Charles R
From: Ossi [mailto:los...@gmail.com] Subject: Tomcat 6 clustering and engine's defaulthost Looks like if configuring a Tomcat 6 cluster Engine's and host's default host must be localhost, ie. If having something else than localhost, an error is logged: 2009-04-03 12:48:15,492 WARN [pool

Tomcat clustering issue

2009-08-07 Thread Sergey Udaltsov
I have 2 clustered tomcat 5.5 instances running on Windows Server 2003 behind Apache load balancer (using AJP protocol) For some urls (I cannot get the pattern), I am getting the error on frontend. In Apache logs, I see the following: [Thu Aug 06 17:34:19 2009] [error] (OS 10061)No connection

Re: Tomcat 5 clustering

2009-08-03 Thread Steve Yates
+1, the documentation is great on clustering as Chuck mentioned. You will in due time have to make some important decisions regarding the type of cluster you wish to create (HA, HP), number of nodes and multicasting options etc It is worth reading carefuly. RGS Steven Yates | Consultant

Tomcat 5 clustering

2009-07-27 Thread Given Shirinda
Hi Guyz. I have linux server running,where I am running tomcat 5.I want to cluster tomcat 5 for load balancing.I got no idea where to start. Can you please provide me with the step by step on doing that,I will appreciate your kindness. Best Regards Given --

RE: Tomcat 5 clustering

2009-07-27 Thread Caldarale, Charles R
From: Given Shirinda [mailto:given.shiri...@sita.co.za] Subject: Tomcat 5 clustering I have linux server running,where I am running tomcat 5.I want to cluster tomcat 5 for load balancing.I got no idea where to start. The doc is always a good place: http://tomcat.apache.org/tomcat-5.5-doc

Re: Clustering help

2009-07-20 Thread Mitch Claborn
org.apache.catalina.ha.session.DeltaManager start INFO: Register manager /Struts1 to cluster element Engine with name Catalina Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager start INFO: Starting clustering manager at /Struts1 Jul 16, 2009 6:03:29 PM

Clustering with persistent sessions

2009-07-20 Thread Mitch Claborn
The web site we are developing will have at least two tomcat servers behind some kind of load balancer (looking at nginx so far). The requirement is that the session data be completely persistent, even if all of the members of the cluster fail. This will be an extremely rare condition, but it

Re: Clustering help

2009-07-17 Thread Filip Hanik - Dev Lists
Catalina Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager start INFO: Starting clustering manager at /Struts1 Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager getAllClusterSessions INFO: Manager [localhost#/Struts1]: skipping state transfer. No members active

Re: Clustering help

2009-07-17 Thread Mitch Claborn
org.apache.catalina.ha.session.DeltaManager start INFO: Register manager /Struts1 to cluster element Engine with name Catalina Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager start INFO: Starting clustering manager at /Struts1 Jul 16, 2009 6:03:29 PM

Re: Clustering help

2009-07-17 Thread Filip Hanik - Dev Lists
, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager start INFO: Starting clustering manager at /Struts1 Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager getAllClusterSessions INFO: Manager [localhost#/Struts1]: skipping state transfer. No members active in cluster group

Re: Clustering help

2009-07-17 Thread Mitch Claborn
PM org.apache.catalina.ha.session.DeltaManager start INFO: Starting clustering manager at /Struts1 Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager getAllClusterSessions INFO: Manager [localhost#/Struts1]: skipping state transfer. No members active in cluster group. Mitch

Clustering help

2009-07-16 Thread Mitch Claborn
:29 PM org.apache.catalina.ha.session.DeltaManager start INFO: Register manager /Struts1 to cluster element Engine with name Catalina Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager start INFO: Starting clustering manager at /Struts1 Jul 16, 2009 6:03:29 PM

Clustering questions

2009-06-30 Thread Mitch Claborn
sessions through the database, eliminating the need for the clustering stuff? I've read some posts that indicate that the PersistentManager writes sessions to the database at its discretion, not immediately. 4. Has anyone used nginx as a load balancer for tomcat? Any feedback on the wisdom

Re: Clustering questions

2009-06-30 Thread Filip Hanik - Dev Lists
. Is it possible to use a PersisentManager and a shared database to replicate sessions through the database, eliminating the need for the clustering stuff? I've read some posts that indicate that the PersistentManager writes sessions to the database at its discretion, not immediately. It happens

Application Clustering

2009-06-08 Thread Darren Kukulka
Hi Everyone, I've got a general query around application clustering in Tomcat. We've got several clusters of Tomcat 6.0.18, each consisting of 2-3 nodes per cluster. The setup is fairly straightforward and we're using the 'based on load' balance method at the web server layer for the ajp

Re: Application Clustering

2009-06-08 Thread Rainer Jung
On 08.06.2009 13:22, Darren Kukulka wrote: Hi Everyone, I've got a general query around application clustering in Tomcat. We've got several clusters of Tomcat 6.0.18, each consisting of 2-3 nodes per cluster. The setup is fairly straightforward and we're using the 'based

RE: Axis2/Java Clustering. Ho-to-do ?

2009-05-24 Thread Martin Gainty
you'll want to configure TC Clustering ..i would understanding high-level goals of TC clustering tutorial located at http://www.mbaworld.com/docs/cluster-howto.html if you are front-ending with Apache you'll want to look at implementing mod_proxy Loadbalancing at http://www.mbaworld.com/docs

RE: clustering error

2009-04-13 Thread Jorge Medina
Yes, you can test clustering using two tomcats on the same machine. -Original Message- From: supareno [mailto:reno.rkc...@free.fr] Sent: Saturday, April 11, 2009 7:12 AM To: Tomcat Users List Subject: clustering error hello, we 're trying to do some tomcat clustering but i think

clustering error

2009-04-11 Thread supareno
hello, we 're trying to do some tomcat clustering but i think that our implementation is not really good we have 2 tomcats on the same machine and we configured the clustering (same multicast port and ip and differents tcplistenport) the problem is that we have a lots of errors in each tomcat

Session listeners and clustering problem

2009-03-19 Thread David Rees
Hi, I'm trying to implement a session listener so that I can check the status of a session. Essentially, I need to maintain a Map of all the sessions. I would add sessions to this map based on business logic. The problem I have is that the behavior of the listeners is different when clustering

Re: Tomcat Clustering trouble when starting up under high load

2009-03-11 Thread Mikel Ibiricu
Hi Rainer, thanks for your response. I tried the config you suggested. It suppose the way of configuring those parameters is as you said, but skipping manager. from the begining, as when I tried as you said, I got this in the catalina. log: 10-mar-2009 15:58:19

Regarding Tomcat 5.5 clustering

2009-03-11 Thread welcome.partha
Hi Everyone, Now i am trying to creating the clustering in tomcat5.5.17. I have downloaded tomcat 5.5.17.In server.xml i made some changes.Herewith I have uploaded the server.xml.Then I have downloaded another tomcat 5.5.17.In that server.xml i made some changes.I have uploaded

Re: Tomcat Clustering trouble when starting up under high load

2009-03-11 Thread Filip Hanik - Dev Lists
hi Mikel, when setting a property on the Manager you omit the manager. prefix, just as you stated. To do thread dumps with JDK 1.5 under windows, you can use the tanuki service wrapper http://people.apache.org/~fhanik/wrapper.html The tomcat team might have added that feature to the Tomcat

Re: Regarding Tomcat 5.5 clustering

2009-03-11 Thread Filip Hanik - Dev Lists
to test failover setup a simple load balancer, like 'pen' or more advanced like the apache web server 'httpd' and hit the load balancer with requests Filip welcome.partha wrote: Hi Everyone, Now i am trying to creating the clustering in tomcat5.5.17. I have downloaded

Re: Tomcat Clustering trouble when starting up under high load

2009-03-09 Thread Mikel Ibiricu
the clustering fix pack from https://issues.apache.org/bugzilla/show_bug.cgi?id=34389 . Finally, we took the decission to upgrade to last Tomcat 6 available, version 6.0.18, to see if the announced refactoring of cluster subsystem could solve our trouble. After all this prety long intro, I'll tell

Re: Tomcat Clustering trouble when starting up under high load

2009-03-09 Thread Rainer Jung
On 09.03.2009 09:24, Mikel Ibiricu wrote: So, It works OK but when starting up one of the nodes with over 500 sessions alive in the other, it doesn't replicate anything. We assume that it would not be able to replicate everything... but why it does either replicate everything or nothing? If it's

Re: Clustering probleme

2009-02-20 Thread Stephane DUCAS
should set jvmRoute to support load-balancing via AJP ie : Engine name=Catalina defaultHost=localhost jvmRoute=jvm1 -- Engine name=Catalina defaultHost=localhost jvmRoute=node2 !--For clustering, please take a look at documentation at: /docs/cluster-howto.html (simple

Re: Clustering probleme

2009-02-20 Thread Stephane DUCAS
). Documentation at /docs/config/engine.html -- !-- You should set jvmRoute to support load-balancing via AJP ie : Engine name=Catalina defaultHost=localhost jvmRoute=jvm1 -- Engine name=Catalina defaultHost=localhost jvmRoute=node2 !--For clustering, please take a look

Tomcat clustering problems

2009-02-20 Thread Stanimir Komitov
Hi, I`m having 2 clustered tomcats with jk configuration like this: worker.list=bloader worker.node1.port=12345 worker.node1.host=1.1.1.1 worker.node1.type=ajp13 worker.node1.lbfactor=1 worker.node1.fail_on_status=500, 503 worker.node2.port=12346 worker.node2.host=1.1.1.1 worker.node2.type=ajp13

Clustering probleme

2009-02-19 Thread Stephane DUCAS
=node2 !--For clustering, please take a look at documentation at: /docs/cluster-howto.html (simple how to) /docs/config/cluster.html (reference documentation) -- ! Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=6 Manager className

Re: Clustering probleme

2009-02-19 Thread Filip Hanik - Dev Lists
). Documentation at /docs/config/engine.html -- !-- You should set jvmRoute to support load-balancing via AJP ie : Engine name=Catalina defaultHost=localhost jvmRoute=jvm1 -- Engine name=Catalina defaultHost=localhost jvmRoute=node2 !--For clustering, please take a look

Clustering: Session replication

2009-02-10 Thread Jorge Medina
Hi, I am trying to configure session replication using the Cluster object. The documentation says: The IP broadcasted is java.net.InetAddress.getLocalHost().getHostAddress() (make sure you don't broadcast 127.0.0.1, this is a common error) I just wrote a small

FW: Clustering: Session replication

2009-02-10 Thread Jorge Medina
According to the Javadoc, InetAddress.getLocalHost() returns the loopback address. So...how do I control the broadcasting address ? -Original Message- From: Jorge Medina Sent: Tuesday, February 10, 2009 3:38 PM To: 'users@tomcat.apache.org' Subject: Clustering: Session replication

RE: Clustering: Session replication

2009-02-10 Thread Caldarale, Charles R
From: Jorge Medina [mailto:jmed...@e-dialog.com] Subject: FW: Clustering: Session replication According to the Javadoc, InetAddress.getLocalHost() returns the loopback address. No, it doesn't; the sentence in question reads: If the operation is not allowed, an InetAddress representing

RE: Clustering: Session replication

2009-02-10 Thread Jorge Medina
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, February 10, 2009 4:34 PM To: Tomcat Users List Subject: RE: Clustering: Session replication From: Jorge Medina [mailto:jmed...@e-dialog.com] Subject: FW: Clustering: Session replication

Re: Clustering: Session replication

2009-02-10 Thread Filip Hanik - Dev Lists
For each Tomcat set Receiver address=your-ip-goes-here ... / http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-receiver.html that way you broad cast your-ip-goes-here instead. alternatively, setup your hostname properly, and make sure the hostname resolves to the IP address, and not

Re: Tomcat Clustering trouble when starting up under high load

2009-01-30 Thread Filip Hanik - Dev Lists
are using in production, finding some trouble, even after aplying the clustering fix pack from https://issues.apache.org/bugzilla/show_bug.cgi?id=34389 . Finally, we took the decission to upgrade to last Tomcat 6 available, version 6.0.18, to see if the announced refactoring of cluster subsystem could

Tomcat Clustering trouble when starting up under high load

2009-01-29 Thread Mikel Ibiricu
the clustering fix pack from https://issues.apache.org/bugzilla/show_bug.cgi?id=34389 . Finally, we took the decission to upgrade to last Tomcat 6 available, version 6.0.18, to see if the announced refactoring of cluster subsystem could solve our trouble. After all this prety long intro, I'll tell you

Clustering Dies with error.

2009-01-13 Thread Nick Ascione
Filip, I am having the exact issue that is referred to in the link below. I have tried the recommended workarounds but I am still seeing the problem. Could you please let me know if this is a bug that has been resolved in new versions? We are running tomcat 6.0.14. The posting has no further

Re: Clustering Dies with error.

2009-01-13 Thread Filip Hanik - Dev Lists
hi Nick, the issue in the email was caused by a dead lock in 6.0.14 and was later resolved. Upgrading to 6.0.18 should take care of the problem Filip Nick Ascione wrote: Filip, I am having the exact issue that is referred to in the link below. I have tried the recommended workarounds but I

Re: Clustering Dies with error.

2009-01-13 Thread Nick Ascione
Thanks Filip. On Tue, Jan 13, 2009 at 2:50 PM, Filip Hanik - Dev Lists devli...@hanik.com wrote: hi Nick, the issue in the email was caused by a dead lock in 6.0.14 and was later resolved. Upgrading to 6.0.18 should take care of the problem Filip Nick Ascione wrote: Filip, I am

A few clustering related doubts

2008-12-15 Thread Pieter Temmerman
Hi I got a Tomcat cluster set up, which is working for most applications. However, since I am experiencing some problems (See another thread of mine Deltamanager + Session beans: Do they like eachother?), I reread the Tomcat clustering documentation. The following are a few things

Re: A few clustering related doubts

2008-12-15 Thread Filip Hanik - Dev Lists
Pieter Temmerman wrote: Hi I got a Tomcat cluster set up, which is working for most applications. However, since I am experiencing some problems (See another thread of mine Deltamanager + Session beans: Do they like eachother?), I reread the Tomcat clustering documentation. The following

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-12-10 Thread Filip Hanik - Dev Lists
Filip rohit aman wrote: Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how to document. I created a sample application to test out my cluster. This application has a cart where u can add

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-25 Thread rohit aman
] wrote: post a sample app, and we can test it out Filip rohit aman wrote: Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how to document. I created a sample application to test out my cluster. This application has a cart where u can

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-25 Thread Filip Hanik - Dev Lists
, Filip Hanik - Dev Lists [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: post a sample app, and we can test it out Filip rohit aman wrote: Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-25 Thread rohit aman
the instructions from tomcat 6 clustering how to document. I created a sample application to test out my cluster. This application has a cart where u can add items. now, the problem is, not all session variables are getting replicated. below

tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-24 Thread rohit aman
Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how to document. I created a sample application to test out my cluster. This application has a cart where u can add items. now, the problem is, not all session variables are getting replicated

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-24 Thread Filip Hanik - Dev Lists
post a sample app, and we can test it out Filip rohit aman wrote: Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how to document. I created a sample application to test out my cluster. This application has a cart where u can add items

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-24 Thread Bhooshan Pandit
: Tue, 25 Nov 2008 6:57 am Subject: tomcat 6.0.18 clustering.. session getting replicated partially Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how to document. I created a sample application to test out my cluster. This application

Re: tomcat 6 clustering issue

2008-11-21 Thread rohit aman
Ya... I got that message when I stopped the tomcat ( it shuts down with a warning ) 4th step in below is the scenario is where I got that warning 1) Start tomcat 1 2) Start tomcat 2 3) create atleast once session on tomcat 1 and tomcat 2 by accessing the web application 4) kill any

tomcat 6.0.18 clustering issue

2008-11-21 Thread rohit aman
established, start level:8 2008-11-21 14:38:51.092 [main] [INFO] org.apache.catalina.ha.session.DeltaManager - Register manager /wa to cluster element Engine with name Catalina 2008-11-21 14:38:51.092 [main] [INFO] org.apache.catalina.ha.session.DeltaManager - Starting clustering manager at /wa 2008

tomcat 6 clustering issue

2008-11-20 Thread rohit aman
Hi, I have a tomcat cluster ( with tomcat 1 and tomcat 2 ) with a hardware load balancer infront. Session replication only works in some scenario and does not in others. Here is the scenario where it works... 1) Start tomcat 1 2) access the web application ( session gets created in

Re: tomcat 6 clustering issue

2008-11-20 Thread Filip Hanik - Dev Lists
this message 2008-11-20 17:08:29.999 [main] [INFO] org.apache.coyote.http11.Http11Protocol - Stopping Coyote HTTP/1.1 on http-8080 tells us that you stopped the tomcat instance Filip rohit aman wrote: Hi, I have a tomcat cluster ( with tomcat 1 and tomcat 2 ) with a hardware load

Re: tomcat 5.5 clustering with JAAS

2008-11-19 Thread lmk
I add anything to support clustering, dont know if there is a special configuration for JAAS, you mean jaas.conf? JaasConf { package.MyLoginModule required; }; thanks Gustavo Araujo wrote: Can you send us the logs and the conf. files? Thanks 2008/11/14 lmk [EMAIL PROTECTED

Re: tomcat 5.5 clustering with JAAS

2008-11-18 Thread lmk
no ideas..? lmk wrote: Hello, I use tomcat clustering with session replication, and JAAS module authentication; when tomcat instance loose session, the other cannot authenticate the user. how I keep the user authenticated on all the tomcat instance? thanks! -- View

Re: tomcat 5.5 clustering with JAAS

2008-11-18 Thread Gustavo Araujo
Can you send us the logs and the conf. files? Thanks 2008/11/14 lmk [EMAIL PROTECTED] Hello, I use tomcat clustering with session replication, and JAAS module authentication; when tomcat instance loose session, the other cannot authenticate the user. how I keep the user authenticated

Re: Tomcat 6 clustering problem...rltd to context path

2008-11-17 Thread rohit aman
] org.apache.catalina.ha.session.DeltaManager - Register manager /examples to cluster element Engine with name Catalina 2008-11-14 16:15:41.582 [main] [INFO] org.apache.catalina.ha.session.DeltaManager - Starting clustering manager at /examples 2008-11-14 16:15:41.582 [main] [INFO] org.apache.catalina.ha.session.DeltaManager

tomcat 5.5 clustering with JAAS

2008-11-14 Thread lmk
Hello, I use tomcat clustering with session replication, and JAAS module authentication; when tomcat instance loose session, the other cannot authenticate the user. how I keep the user authenticated on all the tomcat instance? thanks! -- View this message in context: http

Tomcat 6 clustering problem...rltd to context path

2008-11-14 Thread rohit aman
with name Catalina 2008-11-14 16:15:41.582 [main] [INFO] org.apache.catalina.ha.session.DeltaManager - Register manager /examples to cluster element Engine with name Catalina 2008-11-14 16:15:41.582 [main] [INFO] org.apache.catalina.ha.session.DeltaManager - Starting clustering manager at /examples 2008-11

Re: Tomcat 6 clustering problem...rltd to context path

2008-11-14 Thread Filip Hanik - Dev Lists
:41.582 [main] [INFO] org.apache.catalina.ha.session.DeltaManager - Starting clustering manager at /examples 2008-11-14 16:15:41.582 [main] [INFO] org.apache.catalina.ha.session.DeltaManager - Starting clustering manager at /examples 2008-11-14 16:15:41.582 [main] [WARN

Re: clustering

2008-11-12 Thread Alberto Jesus La Rosa Agramonte
recoveryEnabled=true recoverySleepTime=5000/ http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html John Coleman wrote: Hi, I am trying to set up load balancing and clustering, but whenever I put in a request

Re: clustering

2008-11-11 Thread Filip Hanik - Dev Lists
recoveryEnabled=true recoverySleepTime=5000/ http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html John Coleman wrote: Hi, I am trying to set up load balancing and clustering, but whenever I put in a request to the lb server I get

Re: Clustering in tomcat

2008-11-10 Thread kashif_tomcat
this screen crashes) also i am unable to understand following point that i got in clustering basics information The IP broadcasted is java.net.InetAddress.getLocalHost().getHostAddress() (make sure you don't broadcast 127.0.0.1, this is a common error) also there is another issue that when one tomcat

Re: Tomcat clustering

2008-11-07 Thread Anupam Beri
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

clustering

2008-11-07 Thread John Coleman
Hi, I am trying to set up load balancing and clustering, but whenever I put in a request to the lb server I get: java.lang.IllegalArgumentException: Required property mcastClusterDomain is missing. at org.apache.catalina.cluster.mcast.McastService.hasProperty(McastService. java:253

Re: clustering

2008-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Coleman wrote: I am trying to set up load balancing and clustering, but whenever I put in a request to the lb server I get: java.lang.IllegalArgumentException: Required property mcastClusterDomain is missing. Seems pretty

Re: Tomcat 6.0.18 clustering

2008-10-31 Thread Filip Hanik - Dev Lists
for session storage with JDBC, you don't use the Cluster element, you use the Manager element only to configure the PersistenceManager, the doc still marks this codebase as experimental Filip firefinger wrote: Hello, I would like to create a Tomcat 6.0.18. cluster with session replication

Re: Clustering in tomcat

2008-10-30 Thread kashif_tomcat
Thanks Filip... i have got out of that problem... after adding clustering port in iptable. now i am getting another exception and following is detail. when i add distributable/ tag in web.xml of my applicatoin and start tomcat. then after login my application crashs and i get following

Re: Clustering in tomcat

2008-10-30 Thread Filip Hanik - Dev Lists
http://tomcat.apache.org/tomcat-6.0-doc/ look for Cluster Basics Filip kashif_tomcat wrote: Thanks Filip... i have got out of that problem... after adding clustering port in iptable. now i am getting another exception and following is detail. when i add distributable/ tag in web.xml

Tomcat 6.0.18 clustering

2008-10-30 Thread firefinger
Hello, I would like to create a Tomcat 6.0.18. cluster with session replication based on JDBC store, and with WAR auto-deployment on tomcat instances. The would be like this: Load Balancer / \ Cluster1 Cluster2 / \/ \ Tomcat1 Tomcat2

Re: Clustering in tomcat

2008-10-30 Thread Sanjeev Verma
clustering port in iptable. now i am getting another exception and following is detail. when i add distributable/ tag in web.xml of my applicatoin and start tomcat. then after login my application crashs and i get following exception in logs. 2008-10-30 21:19:43,812 INFO

Re: Tomcat clustering

2008-10-29 Thread Dwayne
Andrew, Sharing state between web apps in Tomcat is possible with solutions like Terracotta or a customized messaging system. D. On Mon, Oct 27, 2008 at 2:49 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: but you are saying they are different applications, so what data could they

Tomcat clustering

2008-10-27 Thread Andrew Hole
Hi Guys! What means the following error? What I'm doing wrong? FINE: Assuming clocks are synched: Replication for GET-ALL- took=47 ms. 27/Out/2008 17:12:10 org.apache.catalina.cluster.session.ClusterSessionListener messageReceived SEVERE: Context manager doesn't exist: Thanks a lot

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
It means that the application that it is trying to request data from is not deployed on the server. for example, if you have applicate /test installed on server A, then it will have to be installed on server B as well, if it isn't, you'll get a message like the one below Filip Andrew Hole

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
I would like to cluster two different applications in same machine (each in different Tomcat instance). Is it possible? On Mon, Oct 27, 2008 at 5:39 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: It means that the application that it is trying to request data from is not deployed

RE: Tomcat clustering

2008-10-27 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat clustering I would like to cluster two different applications in same machine (each in different Tomcat instance). That's not clustering - it's just two separate Tomcat installations. Clustering is defined as the *same

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
not sure I understand Is this your layout then? Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 since ApplicationA1 and ApplicationB1 are different, there is nothing to cluster, there is no state to share Filip Andrew Hole wrote: I would like to cluster two different

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
Yes. Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 But both applications have been developed by me and I want to share an object between applications. If the object have been created in application A, I would like to replicate information to application B. Thanks On Mon, Oct 27,

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
nothing like that is built in, you'd have to write that code for the object sharing yourself you could use the tomcat internals to achieve what you want, but you'd have to do a bit of legwork. Filip Andrew Hole wrote: Yes. Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 But both

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
Well, I would like in the future to have application A and B in different machines, and for that i need to use some way to share session data. Thanks On Mon, Oct 27, 2008 at 8:19 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: nothing like that is built in, you'd have to write that code

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
but you are saying they are different applications, so what data could they possible share? ie, if you have appA.war and appB.war, and they are totally different apps, then they shouldn't be sharing session data only appA.war on one tomcat instance can share session data with appA.war on

Re: Clustering in tomcat

2008-10-22 Thread kashif_tomcat
with tomcat. and added jvmRoute in server.xml in following tag. Engine name=Catalina defaultHost=localhost jvmRoute=tomcat1 and uncommented following tag Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster/ tell me please if anything more is required to do this clustering in tomcat. thanks

Re: Clustering in tomcat

2008-10-22 Thread Filip Hanik - Dev Lists
this clustering in tomcat. thanks Filip Hanik - Dev Lists wrote: if you paste in the whole error, we can tell you. we are missing the root cause of the error, the IO exception that happened during startup Filip kashif_tomcat wrote: can anyone help me for clustering in tomcat. here

Clustering in tomcat

2008-10-21 Thread kashif_tomcat
can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different ports with apache installed on front side as web server and using mode proxy ajp for integration with tomcat. now i uncommented following tag in server.xml of tomcat conf

Clustering in tomcat

2008-10-21 Thread kashif_tomcat
can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different ports with apache installed on front side as web server and using mode proxy ajp for integration with tomcat. now i uncommented following tag in server.xml of tomcat conf

RE: Clustering in tomcat

2008-10-21 Thread Mamta, Jain
Pls check the tomcat documentation to enable Clustering. You need to have enabled multicasting on your server first. Best Regards, Mamta -Original Message- From: kashif_tomcat [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 3:16 PM To: users@tomcat.apache.org Subject

Re: Clustering in tomcat

2008-10-21 Thread Filip Hanik - Dev Lists
if you paste in the whole error, we can tell you. we are missing the root cause of the error, the IO exception that happened during startup Filip kashif_tomcat wrote: can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different

clustering on different machines

2008-09-26 Thread János Löbb
Hi, I posted it earlier, but received no answers, so I try again. I have apache2 2.2.9, mod_jk 1.2.26, and Tomcat 6.0.18 running on my Mac with OSX 10.5.6. Its domain name is bml0087.yalepath.org. On my Windows 2000 machines I have tomcat 6.0.16 and its domain name is

Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Landry Stephane Zeng Eyindanga
a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see all MBeans that I should see, but the Cluster MBean (|type=Cluster,host=${HOST}|). I'm

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Mark Thomas
Landry Stephane Zeng Eyindanga wrote: Hi all, I am trying to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see all MBeans that I

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread André Warnier
to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see all MBeans that I should see, but the Cluster MBean (|type=Cluster,host=${HOST}|). I'm

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Landry Stephane Zeng Eyindanga
Mark Thomas a écrit : Landry Stephane Zeng Eyindanga wrote: Hi all, I am trying to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see

Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Landry Stephane Zeng Eyindanga
Hi all, I am trying to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see all MBeans that I should see, but the Cluster MBean (|type

Tomcat Clustering (Synchronous configuration)

2008-08-26 Thread Nuno Manuel Martins
Hello, I was reading the Cluster HOWTO at http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html and I have already implemented it and working. I would just like one piece of information on this paragraph: Synchronous vs asynchronous is configured using the channelSendOptions flag and is

Re: Tomcat Clustering (Synchronous configuration)

2008-08-26 Thread Filip Hanik - Dev Lists
hi Nuno, that would be value 0 (or 2 if you want acks involved) take a look at the channelSendOptions description in http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html Filip Nuno Manuel Martins wrote: Hello, I was reading the Cluster HOWTO at

RE: Clustering failing over with Tomcat 6.0.16

2008-08-15 Thread Gupta, Sharad
[mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 12:30 PM To: Tomcat Users List Subject: Re: Clustering failing over with Tomcat 6.0.16 It resyncs upon startup. can you provide a simple test case for us, the more you provide, the faster we can get you an answer Filip Gupta, Sharad wrote

RE: Clustering failing over with Tomcat 6.0.16

2008-08-13 Thread Angus Mezick
: Clustering failing over with Tomcat 6.0.16 nope, it should work both ways Gupta, Sharad wrote: Hi, I have a cluster of Tomcat 6.0.16 using DeltaManager. Session replication works fine, failover works fine for the first time. That is, the first time I failover from, lets say, nodeA to nodeB

RE: Clustering failing over with Tomcat 6.0.16

2008-08-13 Thread Gupta, Sharad
I have tried different time periods, it still is reproducible ... -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 8:49 AM To: Tomcat Users List Subject: RE: Clustering failing over with Tomcat 6.0.16 Does it take time for nodeA

<    1   2   3   4   5   6   7   8   >