Re: AJP with HTTPD - Buffer Size on long URLs

2009-11-27 Thread Nilesh Bansal
Using ProxyIOBufferSize as 32192 totally worked even though the documentation suggests otherwise. I am using httpd 2.2.14 with Tomcat 6.0.16. Thank you for the tip, now I can again use my long urls. thanks, Nilesh On Fri, Nov 27, 2009 at 11:32 PM, Caldarale, Charles R < chuck.caldar...@unisys.com

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Caldarale, Charles R
> From: Rocco Scappatura [mailto:rocco.scappat...@infracom.it] > Subject: RE: Tomcat 5.17 crashes too often > > But once I have changed the path of jvm with the > new one, Tomcat has no more started. Might be time to try a newer version of Tomcat, since it appears you've broken the installation

RE: AJP with HTTPD - Buffer Size on long URLs

2009-11-27 Thread Caldarale, Charles R
> From: Nilesh Bansal [mailto:nileshban...@gmail.com] > Subject: Re: AJP with HTTPD - Buffer Size on long URLs > > I am using mod_proxy_ajp (and not mod_jk) There's the ProxyIOBufferSize parameter; the 2.2 doc says the max value is 8192, but the 2.3 doc says the minimum is 512 with no mention of

Re: AJP with HTTPD - Buffer Size on long URLs

2009-11-27 Thread Nilesh Bansal
I am using mod_proxy_ajp (and not mod_jk) and I was not able to find any suitable way of specifying the worker.properties file with this parameter on max_packet_size with mod_proxy. Any pointers will be most appreciated. I am still not sure where in httpd.conf to set the AJP specific parameters. t

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
On Sab, 28 Novembre 2009 4:34, Caldarale, Charles R wrote: >> From: Rocco Scappatura [mailto:rocco.scappat...@infracom.it] >> Subject: Re: Tomcat 5.17 crashes too often >> >> How I have to do to restore functionality of Tomcat5 service? > > Use the tomcat5w.exe program to update the registry settin

RE: AJP with HTTPD - Buffer Size on long URLs

2009-11-27 Thread Caldarale, Charles R
> From: Nilesh Bansal [mailto:nileshban...@gmail.com] > Subject: AJP with HTTPD - Buffer Size on long URLs > > Is there a way the buffer size can be increased? As usual, it's in the docs: http://tomcat.apache.org/connectors-doc/reference/workers.html#Advanced%20Worker%20Directives Look at the ma

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Caldarale, Charles R
> From: Rocco Scappatura [mailto:rocco.scappat...@infracom.it] > Subject: Re: Tomcat 5.17 crashes too often > > How I have to do to restore functionality of Tomcat5 service? Use the tomcat5w.exe program to update the registry settings for the service; do *not* use the services plugin, and do *no

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Hello, On Ven, 27 Novembre 2009 18:27, Pid wrote: > On 27/11/2009 17:22, Rocco Scappatura wrote: >> Sorry one trivial question.. >> >> I have set up JDK build 1.6.0_17-b04. >> >> I have set the JAVA_HOME env variable. Bu tomcat still uses old version >> of jvm installed on the server. How I have t

AJP with HTTPD - Buffer Size on long URLs

2009-11-27 Thread Nilesh Bansal
Hi, I have recently configured the apache httpd to use AJP for connecting to backend Tomcat servers over AJP (ajp://tomcat.server/8009). When I try to query the frontend httpd server with a long url (over 8000 characters), the request fails. The following is printed in error_log of httpd [Fri No

Re: Deploy a .class file when tomcat is running

2009-11-27 Thread ramzi khlil
I suggest you to create a task that undeploy the and deploy it again. Or from your manager reload the application. On Fri, Nov 27, 2009 at 2:36 PM, Stefano Tranquillini < stefano.tranquill...@gmail.com> wrote: > Hi all. > i've a question for you. > > i made a web project and i deployed it into to

Re: Deploy a .class file when tomcat is running

2009-11-27 Thread André Warnier
Stefano Tranquillini wrote: Hi all. i've a question for you. i made a web project and i deployed it into tomcat. now, i've a ant script that compile and put the .class file into the WEB-INF of the project (the place where the .class must be). Did you try WEB-INF/classes/ ? How can i tell to

Deploy a .class file when tomcat is running

2009-11-27 Thread Stefano Tranquillini
Hi all. i've a question for you. i made a web project and i deployed it into tomcat. now, i've a ant script that compile and put the .class file into the WEB-INF of the project (the place where the .class must be). How can i tell to tomcat that i've upload new files? becasue somethimes the file th

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 16:14, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Tomcat 5.17 crashes too often Hopefully the request that caused the crash will be logged and you'll see which one it is. I don't think so - the AccessLogValve doesn't write anything out until the

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 17:22, Rocco Scappatura wrote: Sorry one trivial question.. I have set up JDK build 1.6.0_17-b04. I have set the JAVA_HOME env variable. Bu tomcat still uses old version of jvm installed on the server. How I have to do to address Tomcat to use the new version of JDK? It's in the

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Sorry one trivial question.. I have set up JDK build 1.6.0_17-b04. I have set the JAVA_HOME env variable. Bu tomcat still uses old version of jvm installed on the server. How I have to do to address Tomcat to use the new version of JDK? Thanks, Rocsca > -Original Message- > From: Rocco

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Peter, > -Original Message- > From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Sent: Friday, November 27, 2009 4:28 PM > To: Tomcat Users List > Subject: Re: Tomcat 5.17 crashes too often > > 2009/11/27 Rocco Scappatura : > > So

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Dan Bagley
In the failing environment I have the following env settings LANG=en_GB.UTF-8 the successful env is set to LANG=en_UK André Warnier wrote: Juha Laiho wrote: Dan Bagley wrote: The file is identical and static, I post the same file from my windows desktop into a locally running tomcat insta

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Dan Bagley
We are using spring so I may switch to this, but we are currently using the charset filters as specified in the Tomcat samples and they seem to work ok for XML so not sure whether changing the charsetFilter will help with the plain text stream problem. cheers anyway Pid wrote: On 27/11/2009

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
On 27/11/2009 16:12, Gatos wrote: It might solve your problems: charsetFilter org.springframework.web.filter.CharacterEncodingFilter encoding ISO-8859-1 charsetFilter /* ... it might, but only if you're using Spring. p On Fri, Nov 27, 2009 at 6:05 PM, André

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Tomcat 5.17 crashes too often > > Hopefully the request that caused the crash will be logged and you'll > see which one it is. I don't think so - the AccessLogValve doesn't write anything out until the response has been generated. Wireshark o

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Gatos
It might solve your problems: charsetFilter org.springframework.web.filter.CharacterEncodingFilter encoding ISO-8859-1 charsetFilter /* On Fri, Nov 27, 2009 at 6:05 PM, André Warnier wrote: > Continuing to top-post thus : > > If you have some systems working and others not,

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread André Warnier
Juha Laiho wrote: Dan Bagley wrote: The file is identical and static, I post the same file from my windows desktop into a locally running tomcat instance and it works and then post the same file into a tomcat 5.5 instance on Linux and it doesn't work. But then I post again onto Tomcat 6 insta

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread André Warnier
Continuing to top-post thus : If you have some systems working and others not, check if all Tomcat's (or rather, their JVMs) start under the same "locale" setting. This is not a "good" reason, but it is often a reason for such things. A bit more detail : in java, if you open a text input strea

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 15:41, Rocco Scappatura wrote: Peter, -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 27, 2009 4:17 PM To: Rocco Scappatura Subject: Re: Tomcat 5.17 crashes too often On 27/11/2009 15:00, Rocco Scappatura wrote: On 27/11/2009 14:00, Rocco

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 15:27, Peter Crowther wrote: 2009/11/27 Rocco Scappatura: So I think that I will update the jave VM soon.. Maybe an opinion of Chuck would be useful? I would try updating the VM anyway. You have one of three possible outcomes: 1) It fixes the bug, and we can all go home happy

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura : > So I think that I will update the jave VM soon.. Maybe an opinion of Chuck > would be useful? I would try updating the VM anyway. You have one of three possible outcomes: 1) It fixes the bug, and we can all go home happy on a Friday; 2) It changes the way the bu

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 15:17, Pid wrote: On 27/11/2009 15:00, Rocco Scappatura wrote: On 27/11/2009 14:00, Rocco Scappatura wrote: Thanks Peter, -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Friday, November

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Markus, Thanks to you too.. > -Original Message- > From: Markus Schönhaber [mailto:tomcat-us...@list-post.mks-mail.de] > Sent: Friday, November 27, 2009 3:20 PM > To: users@tomcat.apache.org > Subject: Re: Tomcat 5.17 crashes too often > > Am 27.11.2009 15:00, schrieb Rocco Scappatura: >

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Thanks, a very exaustive answer.. > -Original Message- > From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Sent: Friday, November 27, 2009 3:18 PM > To: Tomcat Users List > Subject: Re: Tomcat 5.17 crashes too often > > 2009/11/2

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
> On 27/11/2009 14:00, Rocco Scappatura wrote: > > Thanks Peter, > > > >> -Original Message- > >> From: peter.crowth...@googlemail.com > >> [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > >> Sent: Friday, November 27, 2009 2:29 PM > >> To: Tomcat Users List > >> Subje

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Dan Bagley
Tomcat 6 is on a different server, so it could be an environment issue, rather than a release issue. I'm just setting up Tomcat 5.5 on the Tomcat 6 server so I can rule that out. Homing in on the bug, I hope. Pid wrote: On 27/11/2009 12:30, Dan Bagley wrote: The file is identical and s

Re: mod_jk.log errors

2009-11-27 Thread Steve Neidinger
On Thu, Nov 26, 2009 at 5:47 PM, Rainer Jung wrote: > Hi, > > On 25.11.2009 17:56, Steve Neidinger wrote: >> Greetings, >> >> I'm setting up a new apache system using mod_jk to talk to 8 JBoss >> instances on a separate server and I'm seeing a lot of entries in the >> mod_jk.log that I find troubl

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Juha Laiho
Dan Bagley wrote: The file is identical and static, I post the same file from my windows desktop into a locally running tomcat instance and it works and then post the same file into a tomcat 5.5 instance on Linux and it doesn't work. But then I post again onto Tomcat 6 instance on Linux and it

Re: Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-27 Thread conrad-tomcat . users . 2009
Hi, Am Mittwoch, 18. November 2009 schrieb conrad-tomcat.users.2...@tivano.de: > > When a HTTP/1.0 client requests a dynamically generated page over SSL, > most of the response is returned immediately. Then, we see a 5-second > timeout (this is *not* Apache's KeepAliveTimeout), then the rest of th

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Markus Schönhaber
Am 27.11.2009 15:00, schrieb Rocco Scappatura: I have no idea if it's in any way related to the problem you're seeing, but... > vm_info: Java HotSpot(TM) Server VM (1.5.0_09-b01) for windows-x86, > built on Sep 7 2006 13:40:20 by "java_re" with MS VC++ 6.0 ...the first thing I'd check is whethe

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura : > The strange think is that in log file there is no sign of any problem. > But In $CATALINA_HOME I get the file "hs_err_pid.log". OK. The Java virtual machine itself is crashing, and you've attached the log file it writes from the crash. Thanks - that's exactly what

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 14:00, Rocco Scappatura wrote: Thanks Peter, -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Friday, November 27, 2009 2:29 PM To: Tomcat Users List Subject: Re: Tomcat 5.17 crashes too often

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Thanks Peter, > -Original Message- > From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Sent: Friday, November 27, 2009 2:29 PM > To: Tomcat Users List > Subject: Re: Tomcat 5.17 crashes too often > > 2009/11/27 Rocco Scappatura :

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura : > I think that I have forgotten to attach the core file above mentioned.. > :-( This mailing list removes attachments. Core files are often very large, and they also don't provide very much information to anyone on the list as we'd have to be able to reproduce your e

RE: Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Sorry, > It frequently happens that Tomcat crashes. Or better, it not responds. > Neverthless windows is able to restart the service, because while it > tries to stop it, it expires the maximum time provided to stop the > service. > > I have attached the 'core' file so that someone could to take

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
On 27/11/2009 12:30, Dan Bagley wrote: The file is identical and static, I post the same file from my windows desktop into a locally running tomcat instance and it works and then post the same file into a tomcat 5.5 instance on Linux and it doesn't work. But then I post again onto Tomcat 6 instan

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Dan Bagley
The file is identical and static, I post the same file from my windows desktop into a locally running tomcat instance and it works and then post the same file into a tomcat 5.5 instance on Linux and it doesn't work. But then I post again onto Tomcat 6 instance on Linux and it works. Pid wrote

Re: Tomcat Native with Apr not initializing on 8443 with SSL

2009-11-27 Thread Alex Mestiashvili
occup_hazard wrote: Nov 27 02:28:19 emr jsvc.exec[14439]: Nov 27, 2009 2:28:19 AM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Nov 27 03:27:07 emr jsvc.exec[14439]: Nov 27, 2009 3:27:07 AM org.apache.coyote.http11.Http11AprProtocol init INFO: Ini

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
On 27/11/2009 12:16, Dan Bagley wrote: Indeed that would be ironic, :-) I've just checked version 5.5.28, and unfortunately we have the have the same problem. I'm just checking the JVM as this version on the working machine is using Java 6 (1.6.0-b09) , that could be an issue. Let's eliminate

Re: Tomcat Native with Apr not initializing on 8443 with SSL

2009-11-27 Thread Pid
On 27/11/2009 11:15, occup_hazard wrote: Nov 27 02:28:19 emr jsvc.exec[14439]: Nov 27, 2009 2:28:19 AM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Nov 27 03:27:07 emr jsvc.exec[14439]: Nov 27, 2009 3:27:07 AM org.apache.coyote.http11.Http11AprP

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Dan Bagley
Indeed that would be ironic, :-) I've just checked version 5.5.28, and unfortunately we have the have the same problem. I'm just checking the JVM as this version on the working machine is using Java 6 (1.6.0-b09) , that could be an issue. Pid wrote: On 27/11/2009 11:16, Peter Crowther

Re: 404 error message

2009-11-27 Thread pieroxy
Let's consider one simple question: My car doesn't work the second time. What could be wrong with it? Try to answer that, you'll se why we can't answer you. 2009/11/27 Pid > On 27/11/2009 04:18, ennidhi wrote: > >> >> Hi, >>I am getting this 404 error on the second request to the same page.

Re: Newbie Question

2009-11-27 Thread Mark Thomas
Chinmoy Chakraborty wrote: > Hi All, > > I am trying to understand basic architecture of tomcat server and also > started to look into the code. What should me my starting point (also source > code wise) to understand basic workflow of tomcat server? Try the architecture section of the Tomcat doc

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
On 27/11/2009 11:16, Peter Crowther wrote: 2009/11/27 Dan Bagley: Server version: Apache Tomcat/5.5.20 That's 2.5 years old and has a number of known security vulnerabilities. Given that the issue is the client's security review process, have they reviewed later 5.5.x releases and verified th

Re: Tomcat Native with Apr not initializing on 8443 with SSL

2009-11-27 Thread occup_hazard
I actually downloaded the apache-tomcat5.5.tar.gz and tried running the startup.sh with the same server.xml copied over to it..I works fine..( with out jsvc ), but i am trying to run it as daemon, so i guess jsvc is the only option.. Further more with jsvc, If i remove the SSLEngine="on" form wi

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley : > Server version: Apache Tomcat/5.5.20 That's 2.5 years old and has a number of known security vulnerabilities. Given that the issue is the client's security review process, have they reviewed later 5.5.x releases and verified that the known issues aren't a problem for the

Re: Tomcat Native with Apr not initializing on 8443 with SSL

2009-11-27 Thread occup_hazard
Nov 27 02:28:19 emr jsvc.exec[14439]: Nov 27, 2009 2:28:19 AM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Nov 27 03:27:07 emr jsvc.exec[14439]: Nov 27, 2009 3:27:07 AM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Dan Bagley
Hi Peter, Thanks for the heads up, the server build we are having problem with is Server version: Apache Tomcat/5.5.20 Server built: May 8 2007 10:23:38 Server number: 5.5.20.0 OS Name:Linux OS Version: 2.6.9-78.0.13.ELsmp Architecture: amd64 JVM Version:1.5.0_16-b02 JVM Ven

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley : > now when processing the plain text stream the accented characters are being > corrupted even though the stream is being set to UTF-8.   This is only > happening on Linux and Tomcat 5.5 with plain text,  on windows it works and > Linux using Tomcat 6.0 it works. Dan, exact

Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Dan Bagley
Hi, I'm having real problem with character encoding, I have been successful using the charset filters on HTTP posts and XML streams without any problems. But recently we've extended the interface to accept plain text, now when processing the plain text stream the accented characters are bei

Re: Logging to one file

2009-11-27 Thread Thomas Zastrow
Pid schrieb: On 26/11/2009 13:26, Thomas Zastrow wrote: Hello, I'm new to this list and I have a simple question. I activated the Aapche-HTTPD-style logging in Tomcat 6 with the line in the server.xml. It works fine, but Tomcat creates every day a new log file. I was wondering, if there is

Re: 404 error message

2009-11-27 Thread Pid
On 27/11/2009 04:18, ennidhi wrote: Hi, I am getting this 404 error on the second request to the same page. First time its is working fine. hwta might be the reason? Thanks Hard to tell from the limited information you supplied. p -

Tomcat 5.17 crashes too often

2009-11-27 Thread Rocco Scappatura
Hello, It frequently happens that Tomcat crashes. Or better, it not responds. Neverthless windows is able to restart the service, because while it tries to stop it, it expires the maximum time provided to stop the service. I have attached the 'core' file so that someone could to take a look and g

Re: Tomcat Native with Apr not initializing on 8443 with SSL

2009-11-27 Thread Mladen Turk
On 11/27/2009 07:37 AM, occup_hazard wrote: Hi all, I am running Ubuntu (Hardy), have tomcat5.5 installed for hardy repo, Apr 1.2.11 ( libapr1-dev), OpenSSL 0.9.8g (libssl-dev), tcnative 1.1.13, jsvc 1.0.2, openjdk-6-jdk and openjdk-6-jre. Now without SSL set ( not listening on 8443) in server

Re: Newbie Question

2009-11-27 Thread Pid Ster
On 27 Nov 2009, at 06:55, Chinmoy Chakraborty wrote: > Hi All, > > I am trying to understand basic architecture of tomcat server and also > started to look into the code. What should me my starting point > (also source > code wise) to understand basic workflow of tomcat server? > > Chinmoy Have