Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-30 Thread Richard Levy
Hi, first of all, thanks to everyone that's replied - this is definitely the #1 source for information and expertise! We went with Rainers advice and it's worked a treat, so thanks very much. This thread can be considered resolved. Thanks Rich On Tue, Mar 29, 2011 at 11:09 PM, Stefan Mayr

Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Richard Levy
Hi all, First of all, sorry for the long post, but the reasoning and architecture requires explanation to get the full understanding of the situation. We are currently migrating our website from Oracle 10g to Apache 2/Tomcat 6.0.29. The site itself is a set of pages where customers select what

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Rainer Jung
On 29.03.2011 12:07, Richard Levy wrote: Hi all, First of all, sorry for the long post, but the reasoning and architecture requires explanation to get the full understanding of the situation. We are currently migrating our website from Oracle 10g to Apache 2/Tomcat 6.0.29. The site itself is

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Rainer Jung
Additional remark: I still think you should try my first suggestion, because overall the config is much simpler But if for some reason you need the setup like you tried already, you can trick mod_jk to use the right worker: worker.tomcatSSL1.domain=tomcat1 worker.tomcatSSL2.domain=tomcat2

RE: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Jeffrey Janner
cluster with HTTP/HTTPS connectors instead of AJP? -- Jeff -Original Message- From: Richard Levy [mailto:rich@gmail.com] Sent: Tuesday, March 29, 2011 5:07 AM To: users@tomcat.apache.org Subject: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster Hi all, First of all

RE: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Jeffrey Janner
-Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Tuesday, March 29, 2011 9:17 AM To: 'Tomcat Users List' Subject: RE: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster OK, I'm sure some of you guys can weigh in better on this than me

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Stefan Mayr
Hi Am 29.03.2011 12:28, schrieb Rainer Jung: On 29.03.2011 12:07, Richard Levy wrote: ... The current setup involves two intelligent load-balancers that terminates SSL then hands over to Oracle 10g. The 10g stack has custom Oracle versions of Apache which have configuration options not found

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Stefan Mayr
Am 29.03.2011 16:19, schrieb Jeffrey Janner: OK, I'm sure some of you guys can weigh in better on this than me, but: If he already has two intelligent load-balancers terminating the SSL, couldn't he simplify the configuration a good bit by removing the Apache servers all together? That is,

Re: How to force session replication per request in a Tomcat 6 cluster - SOLVED

2010-05-04 Thread Kevin Jansz
object graph to implement Serializable - which is sometimes useful, e.g. if legacy projects shall get session failover. Cheers, Martin [1] code.google.com/p/kryo/ On Wed, 2010-04-28 at 22:34 +1000, Kevin Jansz wrote: In a Tomcat 6 cluster can you force session replication on every request

Re: How to force session replication per request in a Tomcat 6 cluster - SOLVED

2010-05-04 Thread Martin Grotzke
graph to implement Serializable - which is sometimes useful, e.g. if legacy projects shall get session failover. Cheers, Martin [1] code.google.com/p/kryo/ On Wed, 2010-04-28 at 22:34 +1000, Kevin Jansz wrote: In a Tomcat 6 cluster can you force session replication on every

Re: How to force session replication per request in a Tomcat 6 cluster

2010-05-01 Thread Martin Grotzke
Jansz wrote: In a Tomcat 6 cluster can you force session replication on every request? In Tomcat 5.0.x you had the ability to set useDirtyFlag=false on the manager (org.apache.catalina.cluster.session.SimpleTcpReplicationManager) - meaning a mutable object in the session would always be re

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-29 Thread Kevin Jansz
that's brilliant, thank you ... I have a bit more confidence in trying this out if the custom code is so minimal. It does look like all we require if it plugs into the default (delta?) manager from tomcat too that'd be great. I'll let you know how we get on ... I would be interested to know if

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-29 Thread Kevin Jansz
Out of curiosity I tried the SimpleTcpReplicationManager with the useDirtyFlag=false and it definitely does not work Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className=org.apache.catalina.ha.session.SimpleTcpReplicationManager

How to force session replication per request in a Tomcat 6 cluster

2010-04-28 Thread Kevin Jansz
In a Tomcat 6 cluster can you force session replication on every request? In Tomcat 5.0.x you had the ability to set useDirtyFlag=false on the manager (org.apache.catalina.cluster.session.SimpleTcpReplicationManager) - meaning a mutable object in the session would always be re-replicated. Looking

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-28 Thread Jon Brisbin
, Inc. On Apr 28, 2010, at 7:34 AM, Kevin Jansz wrote: In a Tomcat 6 cluster can you force session replication on every request? In Tomcat 5.0.x you had the ability to set useDirtyFlag=false on the manager (org.apache.catalina.cluster.session.SimpleTcpReplicationManager) - meaning a mutable

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-28 Thread Kevin Jansz
Brisbin Portal Webmaster NPC International, Inc. On Apr 28, 2010, at 7:34 AM, Kevin Jansz wrote: In a Tomcat 6 cluster can you force session replication on every request? In Tomcat 5.0.x you had the ability to set useDirtyFlag=false on the manager

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-28 Thread Jon Brisbin
On Apr 28, 2010, at 9:57 AM, Kevin Jansz wrote: That is useful to know ... is the Valve in a state that it can be shared? Did you base any of the interaction with the manager/store on the SimpleTcpReplicationManager? I actually use my own, from-scratch session replication manager. It's

Re: Problem with Tomcat 6 cluster

2009-09-22 Thread Sumedh Sakdeo
Hi Jason, Copied the file content here: [Mon Sep 14 13:58:08 2009][2436:4032] [info] mod_jk.c (2825): mod_jk/1.2.26 initialized [Mon Sep 14 13:58:09 2009][2436:4032] [info] mod_jk.c (2825): mod_jk/1.2.26 initialized [Mon Sep 14 13:58:11 2009][3572:3316] [info] mod_jk.c (2825): mod_jk/1.2.26

Re: Problem with Tomcat 6 cluster

2009-09-17 Thread Jason Brittain
Sumedh: We don't see any attachments on your emails. You might want to try attaching it again, but if it didn't come through on the first or second try then the size of the attachment might have been too large. Thanks. -- Jason Brittain On Wed, Sep 16, 2009 at 10:40 AM, Sumedh Sakdeo

Re: Problem with Tomcat 6 cluster

2009-09-16 Thread Sumedh Sakdeo
Hi Filip, Did log files attached help? Thanks, Sumedh On Mon, Sep 14, 2009 at 2:38 PM, Sumedh Sakdeo sumedhsak...@gmail.comwrote: Hi Filip, Please find the logs in attached file. Thanks in advance, Sumedh On Wed, Sep 9, 2009 at 9:22 AM, Filip Hanik - Dev Lists devli...@hanik.com

Re: Problem with Tomcat 6 cluster

2009-09-14 Thread Sumedh Sakdeo
Hi Filip, Please find the logs in attached file. Thanks in advance, Sumedh On Wed, Sep 9, 2009 at 9:22 AM, Filip Hanik - Dev Lists devli...@hanik.comwrote: what do your logs tell you? Filip On 09/08/2009 02:33 AM, Sumedh Sakdeo wrote: Hello All, I have a setup with two

Problem with Tomcat 6 cluster

2009-09-08 Thread Sumedh Sakdeo
Hello All, I have a setup with two tomcat instances(AB). I have configured an apache web server 2.2 for load balancing and fail over. Setup looks fine as per the configurations suggested. Let tomcat A be handling some request at sometime. When tomcat instance(A) goes down, the session

Tomcat 6 Cluster/Load Balancing

2009-09-08 Thread P S
Hello I am looking for some Tomcat load balancing/cluster architecture that I can use in my project. We have about 25 web apps. An arch diagram would be great. Any documentation/pointers would be helpful. Thanks -P _ Get back

Re: Tomcat 6 Cluster/Load Balancing

2009-09-08 Thread Given Shirinda
http://www.tutorialspoint.com/white-papers/load-balancing-and-scalability-via-tomcat-clusters.htm - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Problem with Tomcat 6 cluster

2009-09-08 Thread Filip Hanik - Dev Lists
what do your logs tell you? Filip On 09/08/2009 02:33 AM, Sumedh Sakdeo wrote: Hello All, I have a setup with two tomcat instances(AB). I have configured an apache web server 2.2 for load balancing and fail over. Setup looks fine as per the configurations suggested. Let tomcat A be

Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread nohacks
this is the problem in my logs? Is the issue something else? Thanks Phil -- View this message in context: http://www.nabble.com/Tomcat-6-Cluster-with-Apache-2.2.9-issues-tp22957994p22957994.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread nohacks
then all work is redirected to peer #worker. worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=tomcat1,tomcat2,tomcat3 # # END workers.properties # -- View this message in context: http://www.nabble.com/Tomcat-6-Cluster-with-Apache-2.2.9-issues-tp22957994p22958289.html Sent

RE: Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread Jorge Medina
: nohacks [mailto:philipfwil...@gmail.com] Sent: Wednesday, April 08, 2009 4:11 PM To: users@tomcat.apache.org Subject: Re: Tomcat 6 Cluster with Apache 2.2.9 issues This is my workers.properties file too. Thanks Phil # workers.properties ps=/ # list the workers by name worker.list=tomcat1,tomcat2

RE: Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread nohacks
. ~ -- View this message in context: http://www.nabble.com/Tomcat-6-Cluster-with-Apache-2.2.9-issues-tp22957994p22959874.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread Rainer Jung
On 08.04.2009 23:23, nohacks wrote: thanks for the reply. I updated my workers.properties file to worker.list=loadbalancer still get this in my mod_jk.log. [Wed Apr 08 17:21:46.840 2009] [29811:3075569408] [warn] jk_map_validate_property::jk_map.c (410): The attribute

Re: Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread nohacks
about timeouts you should use in the configuration. === Thanks great links. I will check them out now. Phil -- View this message in context: http://www.nabble.com/Tomcat-6-Cluster-with-Apache-2.2.9-issues-tp22957994p22960190.html Sent from the Tomcat - User mailing list archive at Nabble.com

tomcat 6 cluster deploy

2009-01-28 Thread Joe Rosiak
According to the apache site the tomcat Cluster Deployer object does not work in version 6. Is this accurate? If so has anyone heard of a fix for this in the near future?

Tomcat 6 Cluster Setup- Server1 simply hangs sometimes - won't start...

2008-12-12 Thread jsandhu2204
TCP10.88.8.27:425510.88.8.30:4003ESTABLISHED http://www.nabble.com/file/p20985367/server.xml server.xml -- View this message in context: http://www.nabble.com/Tomcat-6-Cluster-Setup--Server1-simply-hangs-sometimes---won%27t-start...-tp20985367p20985367.html Sent from the Tomcat

Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Manu_SF
=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host /Engine /Service /Server -- View this message in context: http://www.nabble.com/Tomcat-6

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Filip Hanik - Dev Lists
inline: Manu_SF wrote: Hi, After some digging through and still not able to get it work, I thought of posting it here... Here's what I am trying to accomplish: * Have Apache as a Loadbalancer for 2 Tomcat 6 instances - All running on the same Linux box * Implement the session persistence

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Manu_SF
() -- View this message in context: http://www.nabble.com/Tomcat-6-cluster-with-Session-Persistence-not-working-%3A%28-tp20550490p20554158.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Filip Hanik - Dev Lists
Manu_SF wrote: Thanks a ton, Filip. Here are the details about the 3 questions you asked. Please tell me what am I missing here? 1. distributable tag: There's no Context attribute in either web.xml or server.xml, but however context.xml in the same conf directory had Context tag, for which I

Re: Tomcat 6 Cluster Woes

2008-08-12 Thread Filip Hanik - Dev Lists
That error is ok, since you're shutting down, we closing the socket forcefully. It's a mistake of me to print the error message Filip Zachariah Zachariah wrote: Thanks Filip. I found that changing the Host name to localhost from the actual node names made it to work properly. So in my case

Re: Tomcat 6 Cluster Woes

2008-08-07 Thread Zachariah Zachariah
Thanks Filip. I found that changing the Host name to localhost from the actual node names made it to work properly. So in my case z2 and z3 were the actual node names that the OS (Solaris) knew them to be. I changed Engine and Host elements of the server.xml in these nodes to point to

Re: Tomcat 6 Cluster Woes

2008-08-05 Thread Filip Hanik - Dev Lists
have you by any chance deployed your apps in Host elements with a different name? Filip Zachariah Zachariah wrote: Hi, I am trying to set up a cluster of tomcat servers to serve up my dynamic content with session replication. Although failover seems to be working with each node aware of

Tomcat 6 Cluster Woes

2008-08-04 Thread Zachariah Zachariah
Hi, I am trying to set up a cluster of tomcat servers to serve up my dynamic content with session replication. Although failover seems to be working with each node aware of the other, Session replication does not work quite as expected. I get the error WARNING: Context manager doesn't exist

RE: Tomcat 6 - Cluster error.

2008-03-19 Thread Raúl García
Hi again, After some weeks, Mr. Hanik help us solving the problem. And he found it! The problem was the sticky sessions, and our balancer: pen. Pen, (http://siag.nu/pen/) it's a simple load balancer, and it doesn't care about sessions between nodes. That provokes dead locks at tomcat. The

Tomcat 6 Cluster multicast problem

2008-02-28 Thread Martin Kristensen
Hi, I am trying to upgrade two Tomcat 5.5 servers to version 6.0.16, but I´m having a problem with the cluster settings. The two current servers are using clustering now, and it is working fine, but when trying to port this to version 6, I get the following error: Feb 28, 2008 2:12:43 PM

Re: Tomcat 6 Cluster multicast problem

2008-02-28 Thread Filip Hanik - Dev Lists
you probably have a 5.5 instance running on the same multicast address somewhere, and so your 6.0.16 instance is getting packages from a node you don't know about give you TC6 instances a new multicast address or port Filip Martin Kristensen wrote: Hi, I am trying to upgrade two Tomcat 5.5

RE: Tomcat 6 - Cluster error.

2008-01-31 Thread Raúl García
original- De: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Enviado el: jueves, 17 de enero de 2008 19:01 Para: Tomcat Users List Asunto: Re: Tomcat 6 - Cluster error. already replied to your old thread ok, it looks like you might have ended up with a rogue socket, and what happens

Re: Tomcat 6 - Cluster error.

2008-01-31 Thread Filip Hanik - Dev Lists
[mailto:[EMAIL PROTECTED] Enviado el: lunes, 28 de enero de 2008 1:45 Para: Tomcat Users List Asunto: Re: Tomcat 6 - Cluster error. I'd set keepAliveTime to 10 as well, Filip Raúl García wrote: Hi Again, once again thanks for your time, but we still have problems, We applied

Re: Tomcat 6 - Cluster error.

2008-01-27 Thread Filip Hanik - Dev Lists
=== -Mensaje original- De: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Enviado el: jueves, 17 de enero de 2008 19:01 Para: Tomcat Users List Asunto: Re: Tomcat 6 - Cluster error. already replied to your old thread ok, it looks like you might have ended up with a rogue socket, and what

RE: Tomcat 6 - Cluster error.

2008-01-25 Thread Raúl García
:[EMAIL PROTECTED] Enviado el: jueves, 17 de enero de 2008 19:01 Para: Tomcat Users List Asunto: Re: Tomcat 6 - Cluster error. already replied to your old thread ok, it looks like you might have ended up with a rogue socket, and what happens is that any message sent to that socket just gets lost

RE: Tomcat 6 - Cluster error.

2008-01-22 Thread Raúl García
: viernes, 18 de enero de 2008 11:23 Para: 'Tomcat Users List' Asunto: RE: Tomcat 6 - Cluster error. Hi Filip, Thank you for that suggestion. We are going to try it now. On the other side, if You want to reproduce the error: We have used a server here configured with the same config.xml files

Re: Tomcat 6 - Cluster error.

2008-01-22 Thread Filip Hanik - Dev Lists
PROTECTED] Enviado el: viernes, 18 de enero de 2008 11:23 Para: 'Tomcat Users List' Asunto: RE: Tomcat 6 - Cluster error. Hi Filip, Thank you for that suggestion. We are going to try it now. On the other side, if You want to reproduce the error: We have used a server here configured with the same

RE: Tomcat 6 - Cluster error.

2008-01-18 Thread Raúl García
more you need. Thank you for the response. We will see the real results in 13 days, I'll update. Best Regards Raúl. -Mensaje original- De: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Enviado el: jueves, 17 de enero de 2008 19:01 Para: Tomcat Users List Asunto: Re: Tomcat 6

RE: Tomcat 6 cluster

2008-01-17 Thread Hehl, Thomas
Holy smokes! I didn't even see that. Thanks for better at reading than me. :( -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 4:53 PM To: Tomcat Users List Subject: Re: Tomcat 6 cluster it would be very strange to how

Tomcat 6 - Cluster error.

2008-01-17 Thread Raúl García
Hi, I repost the problem with a better subject: We had a tomcat 5.0.28 server configured with 2 clustered instances(working perfectly), and we decided to migrate to java6 and the new tomcat 6.0.14. We modified the configuration files to match the new tomcat 6.0.14 structure. But now we have

Re: Tomcat 6 - Cluster error.

2008-01-17 Thread Filip Hanik - Dev Lists
already replied to your old thread ok, it looks like you might have ended up with a rogue socket, and what happens is that any message sent to that socket just gets lost in the ether, since it doesn't have any interest ops. There is a workaround for this, turn off keep alives all together, or

Tomcat 6 cluster

2008-01-16 Thread Hehl, Thomas
I've built tomcat 5 and 5.5 single servers a lot, but now I'm trying to build a tomcat 6 cluster for testing. The docs seem pretty straightforward (just uncomment the Cluster line) and I've followed it, but I'm getting errors. The error looks like

Re: Tomcat 6 cluster

2008-01-16 Thread Filip Hanik - Dev Lists
for the jdbc connection and try again Filip Hehl, Thomas wrote: I've built tomcat 5 and 5.5 single servers a lot, but now I'm trying to build a tomcat 6 cluster for testing. The docs seem pretty straightforward (just uncomment the Cluster line) and I've followed it, but I'm getting errors

RE: Tomcat 6 cluster management

2007-08-13 Thread Mark Faircloth
Filip, Thanks for that. We'll be patient and wait for the new version. Regards Mark -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 21:41 To: Tomcat Users List Subject: Re: Tomcat 6 cluster management Mark Faircloth wrote: The Tomcat

Tomcat 6 cluster management

2007-08-08 Thread Mark Faircloth
The Tomcat 6 documentation says that the MBean values 'type=Cluster' and 'type=Cluster,host=${HOST}' should be available like they were in Tomcat 5.5. However, they are not visible via jmx using jconsole or Probe. Does anyone know how to view Cluster information in Tomcat 6? Thanks Mark

Re: Tomcat 6 cluster management

2007-08-08 Thread Filip Hanik - Dev Lists
Mark Faircloth wrote: The Tomcat 6 documentation says that the MBean values 'type=Cluster' and 'type=Cluster,host=${HOST}' should be available like they were in Tomcat 5.5. However, they are not visible via jmx using jconsole or Probe. Does anyone know how to view Cluster information in