Re: Catalina.stop: java.net.ConnectException: Connection refused

2006-12-27 Thread Ben Stringer
On Thu, 2006-12-28 at 11:57 +0530, Vijay Hatewar wrote: > Would you please tell me why I am getting this exception? Tomcat listens on a port for shutdown requests. You may have this port blocked with a firewall. Look in the server.xml file for the port in question, and confirm that the port can b

Re: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread anjan bacchu
On 12/27/06, Rainer Jung <[EMAIL PROTECTED]> wrote: Hi, Li Ma schrieb: > 1. I was told Tomcat can only run max 3 nodes in cluster smoothly. What's > your milage? Cluster in the sense of horizontal scaling (load-balancing): no limitations. Cluster with state replication of sessions (assuming T

Catalina.stop: java.net.ConnectException: Connection refused

2006-12-27 Thread Vijay Hatewar
Would you please tell me why I am getting this exception? Regards Vijay DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addr

RE: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Peak load of Tomcat-powered server(s)? > > BTW I have made none of the other correlations that you suggest Really? To quote from your posting of 2006-12-25 15:43:59: -

Re: SO_TIMEOUT with Tomcat 5.5?

2006-12-27 Thread Aditya Prasad
I take it back. I didn't turn off Nagling (TCP_NODELAY) on the client, so the whole request was sent in one packet. Everything works now. Sorry! On 12/27/06, Aditya Prasad <[EMAIL PROTECTED]> wrote: Hi all, I'm having a hard time setting the SO_TIMEOUT value for the socket on my server (5.5)

Re: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread Martin Gainty
It does answer the question as the number of simultaneous connection threads to the connector is fixed from the doc maxThreads is defined as maximum number of simultaneous requests that can be handled so if you had set maxThreads=200 and you started 201 connections you would get 200 live thread

Re: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread David Smith
Martin -- That doesn't answer the question. Where is there a connection between the maxThreads and the number of users defined in tomcat-user.xml? As far as I can tell, the only way number of users in tomcat-users.xml can influence anything is 1) the amount of memory needed to hold the memo

RE: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread Caldarale, Charles R
> From: Li Ma [mailto:[EMAIL PROTECTED] > Subject: Re: Peak load of Tomcat-powered server(s)? > > For the concept No 2, I dont understand why the user defined in > tomcat-users.xml will matter to number of connection or maxThreads? He can't, because there is no relationship between the two. Wha

SO_TIMEOUT with Tomcat 5.5?

2006-12-27 Thread Aditya Prasad
Hi all, I'm having a hard time setting the SO_TIMEOUT value for the socket on my server (5.5). I want to prevent DOS attacks where a user sends one byte at a time, separated by a second or so. I can set the overall timeout, but I want finer-level control. I'm doing this: But it doesn't seem

Re: Virtual Hosts

2006-12-27 Thread Víctor Fragoso
Hey, thanks for the help, I made it! Cheers! On 12/27/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 12/27/06, Víctor Fragoso <[EMAIL PROTECTED]> wrote: > ... but when I try it, just a blank page shows up And there are no errors in the logs? Look there first. Also, perhaps this will hel

Re: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread Martin Gainty
maxThreads is a hard gate (immutable) attribute specifying the max number of threaded connections to the implemented connector (where there is no distinction between same user connected maxThread times or maxThread users running concurrently) HTH Martin -- --

how i can disabled servlets built of sun one web server

2006-12-27 Thread alvaro tovar
hello, thanks for your time, i follow all the steps of the tomcat connecto for sun one web server but i can't understand how i do this If the built in servlet support is working disable it. thanks

Re: Virtual Hosts

2006-12-27 Thread Hassan Schroeder
On 12/27/06, Víctor Fragoso <[EMAIL PROTECTED]> wrote: ... but when I try it, just a blank page shows up And there are no errors in the logs? Look there first. Also, perhaps this will help: If not, post the relevant parts of your ser

Virtual Hosts

2006-12-27 Thread Víctor Fragoso
Hello everyone, I've been reading that it is possible to have different hosts in the apache tomcat, and each host could have a different appBase attribute. I've configured my server.xml in order to have 2 different hosts. Well my question is, Do I have to configure anything else? because, I want e

RE: Generating Autoindex in Tomcat

2006-12-27 Thread Caldarale, Charles R
> From: Assaf Flatto [mailto:[EMAIL PROTECTED] > Subject: Generating Autoindex in Tomcat > > basically what i want is like this , in directory foo i have 3 > applications , i want the tomcat to present a page listing the > "applications" ( file names) and when i add or remove an > application

Re: Troubleshooting load problems with on linux tomcat servers

2006-12-27 Thread Leon Rosenberg
Could you provide some more details on your environment like tomcat or java version? Another question: have you performed a thread dump on the machines with high load, to see if a thread is caught in a infinite loop or something? What does vmstat say? Do you have constant user time ? questions que

Re: Setup of Tomcat

2006-12-27 Thread Gregor Schneider
either download the executable which *is* a setup-file or download the zip-archive and unzip it into your preferred directory. reading the docs sometimes helps, too greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http:/

Setup of Tomcat

2006-12-27 Thread Dinesh Kumar
Just downloaded tomcat 6.0.2 for windows. How can Install it? There is apparently no setup file. Regards Dinesh

Re: Troubleshooting load problems with on linux tomcat servers

2006-12-27 Thread Assaf Flatto
This error seems to indicate that you XML is faulty and not closed properly on all parameters . If you are running it on Linux - use the xmllint to check the validation of the xml . Assaf Ragnar Moller (MA/EAF) wrote: We have a big Tomcat application with a number of servers. Some of the se

Re: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread Rainer Jung
Hi, Li Ma schrieb: > 1. I was told Tomcat can only run max 3 nodes in cluster smoothly. What's > your milage? Cluster in the sense of horizontal scaling (load-balancing): no limitations. Cluster with state replication of sessions (assuming TC 5.5): you break down your cluster into groups of 2 to

Troubleshooting load problems with on linux tomcat servers

2006-12-27 Thread Ragnar Moller \(MA/EAF\)
We have a big Tomcat application with a number of servers. Some of the server have higher than expected loads on some of them. Load average on identical servers is either 5, 2 or 0.05. On the servers which have a hig value it remains high. No of running processes is identical on all servers. On

Generating Autoindex in Tomcat

2006-12-27 Thread Assaf Flatto
Hello I am running tomcat 5.5.17 and i want to generate an auto index for the applications located on my server so i can pick which one i want to work with. basically what i want is like this , in directory foo i have 3 applications , i want the tomcat to present a page listing the "applica

Re: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread Leon Rosenberg
Now comes other questions I want to ask: 1. I was told Tomcat can only run max 3 nodes in cluster smoothly. What's your milage? If you mean balanced tomcats with session sharing and everything, dunno, maybe, you should ask people who use it. Otherwise: sky (or probably other application resource