Re: how mod_jk load balancer auto recover node?

2009-04-09 Thread Rainer Jung
On 09.04.2009 04:02, WenDong Zhang wrote: Hi all, I'm using httpd 2.2 mod_jk as the load balancer server. There 2 tomcat nodes under the cluster. After run a long time, the tomcat node need to restart (because I found that the system resource's usage is too high, the cpu usage is almost

Running hypersonic db in server mode from tomcat

2009-04-09 Thread Graham Towse
Hi All, I have a query about running a hypersonic database (http://hsqldb.org/web/hsqlDocsFrame.html) with tomcat. I understand that in JBoss one can define a dataSource that kicks off a hypersonic database in server mode (server mode enables tcp connections outside the JVM), the instructions

Re: apache/tomcat communication issues (502 response)

2009-04-09 Thread feedly team
Thanks for all the tips. Today I tried the AJP connector and we had no problems. After watching a very informative presentation on tomcat performance tuning by Filip Hanik and reading the docs, I am guessing this was more of a function of the higher default max thread count of the ajp connector.

Re: how mod_jk load balancer auto recover node?

2009-04-09 Thread WenDong Zhang
oh, I am not familiar with mod_jk. I configured the load balancer server as the two guides: 1. workers.properties configuration http://tomcat.apache.org/connectors-doc/reference/workers.html#Advanced%20Worker%20Directives 2. apache how to

Re: Cannot read httpservlet's inputstream

2009-04-09 Thread Andrey Razumovsky
Hi friends, Problem still exists... Unforntunately I do not have a public URL. Could you share you HTTP POST request code. Lines with Content-Type, Content-Length etc are commented out because I tried them but they didn't help. Event if I set them, server receives GET with content-length=-1.

Re: Cannot read httpservlet's inputstream

2009-04-09 Thread Andrey Razumovsky
Same evil happens when I try to send Multipart request: HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(address); MultipartEntity entity = new MultipartEntity(); entity.addPart(file, new FileBody(pack)); post.setEntity(entity);

Re: Cannot read httpservlet's inputstream

2009-04-09 Thread Andrey Razumovsky
Finally I did it! What was to be done is to change servlet mapping url-pattern//url-pattern to url-pattern/DoveServlet/url-pattern so somewhy POST to servlet mapped to all urls does not work. Now I need URL like /Dove/DoveServlet instead-of /Dove, but I'll survive this :) 2009/4/9 Andrey

Re: Cannot read httpservlet's inputstream

2009-04-09 Thread Mark Thomas
Andrey Razumovsky wrote: Finally I did it! What was to be done is to change servlet mapping url-pattern//url-pattern to url-pattern/DoveServlet/url-pattern Did you try: url-pattern/*/url-pattern ? Mark - To unsubscribe,

Re: Cannot read httpservlet's inputstream

2009-04-09 Thread Andrey Razumovsky
/* works! Thanks! 2009/4/9 Mark Thomas ma...@apache.org Andrey Razumovsky wrote: Finally I did it! What was to be done is to change servlet mapping url-pattern//url-pattern to url-pattern/DoveServlet/url-pattern Did you try: url-pattern/*/url-pattern ? Mark

RE: apache/tomcat communication issues (502 response)

2009-04-09 Thread Caldarale, Charles R
From: feedly team [mailto:feedly...@gmail.com] Subject: Re: apache/tomcat communication issues (502 response) I have generated stack dumps throughout the day and practically all running threads are doing socket i/o. almost none are performing application logic. When you catch threads

Re: apache/tomcat communication issues (502 response)

2009-04-09 Thread André Warnier
Caldarale, Charles R wrote: [...] When you catch threads doing socket I/O, they are almost always waiting for input from the client. If you're using keep-alives (highly likely), that's the normal state of a thread. This likely means you don't have enough requests coming in to keep the

Re: CLOSE_WAIT and what to do about it

2009-04-09 Thread Taylan Develioglu
Skimmed quickly through your post there while working, so forgive me if this is irrelevant. CLOSE_WAIT is a state where the connection has been closed on the tcp/ip level, but the application (in this case java) has not closed the socket descriptor yet. As a coincidence we just fixed this very

RE: apache/tomcat communication issues (502 response)

2009-04-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: apache/tomcat communication issues (502 response) That is because a KeepAlive connection will keep a server child (or thread) tied to that particular client connection, until the KeepAlive expires, probably doing nothing most of the

Re: Installing Tomcat

2009-04-09 Thread Jonathan Mast
ok, here is the plain vanilla, immaculate server.xml, straight from a fresh untarring of the tomcat 6 dist that i just re-installed, its still not working. thanks On Wed, Apr 8, 2009 at 6:28 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

new installation uid / pwd problem

2009-04-09 Thread Ronald G. Belcher
I'm a newbie who just installed Tomcat 5.5. Installation messages told me the userid was tomcat55. When I attempted to view Status, Tomcat Administration, or Tomcat Manager from my browser, I was asked for a userid and pw. Of course, not knowing the password, I was treated to a message that

Re: new installation uid / pwd problem

2009-04-09 Thread Mark Thomas
Ronald G. Belcher wrote: I'm a newbie who just installed Tomcat 5.5. Installation messages told me the userid was tomcat55. When I attempted to view Status, Tomcat Administration, or Tomcat Manager from my browser, I was asked for a userid and pw. Of course, not knowing the password, I was

RE: new installation uid / pwd problem

2009-04-09 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: new installation uid / pwd problem Take a look at tomcat-users.xml in your conf diretcory Also read the doc: http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Configuring%20Manager%20Application%20Access - Chuck THIS

Re: apache/tomcat communication issues (502 response)

2009-04-09 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: apache/tomcat communication issues (502 response) That is because a KeepAlive connection will keep a server child (or thread) tied to that particular client connection, until the KeepAlive expires, probably

Re: tomcat, mod_jk, and apache

2009-04-09 Thread Jordan Michaels
Rainer Jung wrote: But: why do you plan to use different Hosts in Tomcat at all? Unless you need to set Host based settings for different webapps to different values or you want to deploy different webapps under the same name, you can put all webapps into the default Host. Or do you use

RE: apache/tomcat communication issues (502 response)

2009-04-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: apache/tomcat communication issues (502 response) You seem to imply that idle threads use less resources in the 64-bit world than (presumably) in a lesser-number-of-bit world. In a 64-bit environment, each thread uses *relatively*

Re: new installation uid / pwd problem

2009-04-09 Thread Alan Chaney
Hi Ron Ronald G. Belcher wrote: I'm a newbie who just installed Tomcat 5.5. Installation messages told me the userid was tomcat55. When I attempted to view Status, Tomcat Administration, or Tomcat Manager from my browser, I was asked for a userid and pw. Of course, not knowing the

Gzip compression take 2

2009-04-09 Thread Michael
Hi folks, I recently had a discussion with Chuck about, in my opion, the faultly gzip compression filter in the Connector. Unfortunately, the discussion ended without a solution for the problem. Basically, Tomcat fails to compress anything else but JSPs regardless whether I set

Problem with ISAPI Redirector

2009-04-09 Thread George Sexton
I'm having a problem using the ISAPI redirector. I making the request, and I get back a 400 Bad Request response. I've gone through the troubleshooting doc, and the howto for the redirector and come up blank. I've also searched the net for the issue. I'm using version 1.2.27 of the ISAPI

Re: Gzip compression take 2

2009-04-09 Thread George Sexton
This is working for me with 5.5.27 : Connector port=80 redirectPort=443 debug=0 connectionTimeout=2 compressableMimeType=text/css,text/javascript maxPostSize=10485760 /Connector Michael wrote: Hi folks, I recently had a

Re: Gzip compression take 2

2009-04-09 Thread sgfan
This is working for me with 5.5.27 : Connector port=80 redirectPort=443 debug=0 connectionTimeout=2 compressableMimeType=text/css,text/javascript maxPostSize=10485760 /Connector there is no compression=on, did I

Re: Gzip compression take 2

2009-04-09 Thread George Sexton
sg...@gmx.net wrote: This is working for me with 5.5.27 : Connector port=80 redirectPort=443 debug=0 connectionTimeout=2 compressableMimeType=text/css,text/javascript maxPostSize=10485760 /Connector there is no

Re: Gzip compression take 2

2009-04-09 Thread George Sexton
George Sexton wrote: sg...@gmx.net wrote: This is working for me with 5.5.27 : Connector port=80 redirectPort=443 debug=0 connectionTimeout=2 compressableMimeType=text/css,text/javascript maxPostSize=10485760 /Connector

Re: Gzip compression take 2

2009-04-09 Thread sgfan
sg...@gmx.net wrote: This is working for me with 5.5.27 : Connector port=80 redirectPort=443 debug=0 connectionTimeout=2 compressableMimeType=text/css,text/javascript maxPostSize=10485760 /Connector there is

RE: Gzip compression take 2

2009-04-09 Thread Martin Gainty
for chunked encoding specify a connector that supports HTTP 1.1 protocol .. an example from $CATALINA_HOME/conf/server.xml would be: Connector port=8082 debug=5 useSendfile=true useExecutor=true acceptorThreadCount=1 pollerThreadCount=1

Can anyone explain why a jar file can't be removed during a updeployment process?

2009-04-09 Thread rainbow photo
Hi, I run into this situation twice in two days. I run a undeployment process through the TC web application manager (TC 6). All of files of the application are removed except one tiles-core.jar file. I had two different versions of the jar file. None of them are removed through the

RE: Gzip compression take 2

2009-04-09 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Gzip compression take 2 for chunked encoding specify a connector that supports HTTP 1.1 protocol .. All Tomcat HTTP connectors support the 1.1 protocol. tut diese Hilfe? Nein. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: new installation uid / pwd problem

2009-04-09 Thread Ronald G. Belcher
Thank you Alan, Mark and Charles, for the responses and the pointers. I am working on it - reading the fine manual, that is. I'll get it and let you know. Ron - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Gzip compression take 2

2009-04-09 Thread Bill Barker
By any chance are you using the APR connector? If so, it will use sendfile (unless explicitly disabled) for large static files which bypasses the connector compression logic. Michael sg...@gmx.net wrote in message news:49de445c.3050...@gmx.net... Hi folks, I recently had a discussion with

Apache compile problem

2009-04-09 Thread Nishaliny Thurairatnam
I have a compile problem with apache2.2.11. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

I'm sorry, I'm in the wrong mailing list

2009-04-09 Thread Nishaliny Thurairatnam
Please ignore my previous post, I'm in the wrong mailing list! Sorry again! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org