Re: memory leaks (Tomcat 5.5.20 and JDK 1.6)

2007-08-14 Thread Ronald Klop
Do you monitor the memory usage over time? Is it steadily increasing? Or does it peak at one moment? Ronald. On Fri Aug 10 20:36:44 CEST 2007 Tomcat Users List users@tomcat.apache.org wrote: Hello Tomcat Users , Our web application uses Tomcat 5.5.20 with Java 1.6. The application's front end

Concurrent threads per session (limit = 3 ?)

2007-08-14 Thread Riechert, Andree
Hi, if I am using the firefox browser to send requests to a tomcat servlet all new browser tabs belonging to the same session. I am running AJAX requests which block the servlet request thread 60 seconds waiting for a certain event. This leads to the uncomfortable behavior that the fourth

Re: Concurrent threads per session (limit = 3 ?)

2007-08-14 Thread David Delbecq
I doubt tomcat limits the number of Threads per session. To get the session id, tomcat need to parse the request, but this parsing occurs in the Http-Thread that handle that network connection. Having that HTTP-thread wait would be, for tomcat, wasting a Thread. On the other hand, it's common

Frequent SEVERE: Unable to receive message through TCP channel messages

2007-08-14 Thread nageshsrao
Hi, In our prod environment we have two tomcat's [ 5.0.27] running on two linux boxes [ RHAS 3.0 update8 ] and using mod_jk2.0 thru apache for accessing the information. very frequently we see the following messages in the catalina.out and there are about 2 instances where tomcat stopped

Re: Frequent SEVERE: Unable to receive message through TCP channel messages

2007-08-14 Thread Rainer Jung
You configured a 3 seconds timeout for your heartbeat. If a node doesn't receive a heartbeat packet for 3 seconds, it assumes the other node is dead and closes the incoming replication connection. If the other node is not really dead, it will try to use this replication connection which will

flush cache manually

2007-08-14 Thread Arian Abrahantes Quintana
Hi there: Can anyone please let me know how I can flush the cache of my tomcat installation, if possible how to do it manually. I am using Tomcat 4.1. best regards and TIA, arian - To start a new topic, e-mail:

ClientAbortException / Broken Pipe?!

2007-08-14 Thread Kristian Rink
Folks; still messing around with an error like this: In our system, we offer customers a service to download files using a servlet. Some weeks ago (more or less when I considered switching to tomcat 6.0), the following error frequently started to show up in my log files: ...

undesirable session timeout behaviour

2007-08-14 Thread paul womack
For reasons all my own, I want the timeout period to be quite short - essentially if a (human) user sits around doing nothing for more than 5 minutes, I want to timeout the session. I have configured tomcat to do this, and it works fine. Except. If the user initiates an activity (ok - I'll

RE: Concurrent threads per session (limit = 3 ?)

2007-08-14 Thread Caldarale, Charles R
From: Riechert, Andree [mailto:[EMAIL PROTECTED] Subject: Concurrent threads per session (limit = 3 ?) It seems to me that the tomcat (v 5.5) limits the number of threads per session to 3. As David pointed out, it's not Tomcat imposing a limit - it's Firefox complying with the

RE: character encodingg problem

2007-08-14 Thread Russo, Joe
It does! The following query converts the data correctly to it normal form. I am going to see if Oracle has any suggestions for a conversion at the DB level. This will make life much easier. Thanks, Joe select convert(abstract,'WE8ISO8859P1') from aacr20_dba.ms_supplimentary_details where ms_no

Can be mod_webapp used with Tomcat 5.5 (and above)?

2007-08-14 Thread Petr Sumbera
Hi All, I just need to know answer to question in subject. I did some investigation and it seems that mod_webapp doesn't run with Tomcat 5.5 (it only runs with 4.0). I come to this conclusion according to: http://tomcat.apache.org/tomcat-5.5-doc/connectors.html

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Frank W. Zammetti
Have you noticed if this affects IE users and Firefox users equally? I ask because there's a known issue (that I've never seen an actual answer to) where IE causes these exceptions frequently with no ill effect to anything (other than the overhead of handling the exception in the VM on the

Proxy Server

2007-08-14 Thread Dooing
Hi, I am using a Tomcat 5.5.9 server (only for development) on my local pc, within a company network that is using a proxy server. Problem: My application does http requests to a server were a proxy is required, as well as requests to an IP adress were no proxy is required / allowed. I added

Re: Can be mod_webapp used with Tomcat 5.5 (and above)?

2007-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Petr, Petr Sumbera wrote: I just need to know answer to question in subject. I did some investigation and it seems that mod_webapp doesn't run with Tomcat 5.5 (it only runs with 4.0). I come to this conclusion according to: mod_webapp is s

Re: CVE-2007-3382: Handling of cookies containing a ' character

2007-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: CVE-2007-3382: Handling of cookies containing a ' character Versions Affected: 5.5.0 to 5.5.24 Since 5.5.24 isn't yet released, will an upcoming 5.5.24 release include a fix for this problem given: Mitigation:

Re: Prefix Paths on Servlets

2007-08-14 Thread Ryan Shelley
My apologies, I replied to the wrong thread... So I've been able to deploy the servlet and access it with the /it prefix, however, I noticed that when I redeploy my war, my custom it#idm.war context file is also removed. Is there a way to keep that transient between deployments? Or

Re: CVE-2007-3382: Handling of cookies containing a ' character

2007-08-14 Thread Rainer Jung
Hi Christopher, Christopher Schultz wrote: Versions Affected: 5.5.0 to 5.5.24 Since 5.5.24 isn't yet released, will an upcoming 5.5.24 release include a fix for this problem given: Filip asked about interest in a 5.5.25. The plan at this point in time is to tag a new release at the end of

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Rainer Jung
Do I get the box, if I can write a servlet and describe a procedure by which a Firefox user can produce the exception when calling my servlet? Frank W. Zammetti wrote: Have you noticed if this affects IE users and Firefox users equally? I ask because there's a known issue (that I've never

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Frank W. Zammetti
When I used the phrase I'd bet a box of donuts, what I should have written was ...and if I'm wrong, it won't be the first time :) Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of

RE: Prefix Paths on Servlets

2007-08-14 Thread Caldarale, Charles R
From: Ryan Shelley [mailto:[EMAIL PROTECTED] Subject: Re: Prefix Paths on Servlets So I've been able to deploy the servlet and access it with the /it prefix, however, I noticed that when I redeploy my war, my custom it#idm.war context file is also removed. You can't use the manager

NoSuchMethod shutdown error

2007-08-14 Thread Dan Armbrust
I just upgraded from 5.5.9 to 5.5.23, and now, when I shut down tomcat, I get these errors. Any idea whats going on? Looks like I have an out of date jar file on the classpath - but as far as I know, these are tomcat only jar files... Thanks INFO: Server startup in 8284 ms Aug 14, 2007

smtp server

2007-08-14 Thread Mike Peremsky
I am trying to create a simple registration application right now that should send an email to the user after registration. Are there free smtp servers or any that are recommended over others for running on a windows box? I am using Tomcat 5.0 and javamail. TIA - Mike

Re: NoSuchMethod shutdown error

2007-08-14 Thread Dan Armbrust
When I was upgrading tomcat, I had a jar file hang around in source control that shouldn't have been there. I had both commons-modeler.jar and commons-modeler-2.0.jar in my server lib folder. All better now, Thanks, Dan On 8/14/07, Martin Gainty [EMAIL PROTECTED] wrote: Dan- did you check

Re: smtp server

2007-08-14 Thread David kerber
We use Gordano's NTMail. It's not free, but has worked well for us and isn't very expensive for a small number of mailboxes. Mike Peremsky wrote: I am trying to create a simple registration application right now that should send an email to the user after registration. Are there free smtp

Re: CVE-2007-3382: Handling of cookies containing a ' character

2007-08-14 Thread jkew
Rainer Jung wrote: Until now I didn't notice a commited fix for the cookie problem, but Mark or Filip might comment whether there are plans to include a fix in 5.5.25. For CVE 3382, the fix appears to be in 5.5.x HEAD (rev 559280 and rev 557468) and 6.0.x HEAD (rev 557467) -- These checkins

Re: Proxy Server

2007-08-14 Thread Martin Gainty
The stock answer is to setup mod_proxy under Apache and use Apache to front-end load all your requests (details located here) http://tomcat.apache.org/tomcat-5.5-doc/proxy-howto.html Note that If you have any appreciable amount of static content (watch your jmeter perf nosedive) then you will

Re: Unsubscribe me please

2007-08-14 Thread taylan kuecuek
please unsubscribe - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

multiple comet requests

2007-08-14 Thread Peter Warren
How do you send multiple requests to the same comet servlet? Sending multiple chunks of a single request is fine. My problem occurs after the client ends the chunked transaction by sending 0CRLFCRLF to the server. The comet servlet correctly registers the END event. But then the client

Removing the port identifier

2007-08-14 Thread Stephen Caine
Is there a way to remove the port number from a https request where the original url looks something like this: https://host_name:8443/ The approach to change the server.xml file (where the connector port is changed from 8443 to 443) is not practical for us. When this is done, Tomcat

Re: Removing the port identifier

2007-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Caine wrote: Is there a way to remove the port number from a https request where the original url looks something like this: https://host_name:8443/ If the URL does not contain the port number, then the web browser will fail to

Re: Removing the port identifier

2007-08-14 Thread Hassan Schroeder
On 8/14/07, Stephen Caine [EMAIL PROTECTED] wrote: Is there a way to remove the port number from a https request where the original url looks something like this: https://host_name:8443/ The approach to change the server.xml file (where the connector port is changed from 8443 to 443) is not

Re: multiple comet requests

2007-08-14 Thread Filip Hanik - Dev Lists
hi Peter, thanks for the example, I am able to reproduce this error, let me take a look and see why it is happening, Filip Peter Warren wrote: How do you send multiple requests to the same comet servlet? Sending multiple chunks of a single request is fine. My problem occurs after the

Re: multiple comet requests

2007-08-14 Thread Filip Hanik - Dev Lists
turns out that if the request is comet, the recycling of the input/output filter is not happening. I have fixed this, you can try the tomcat-coyote.jar from http://people.apache.org/~fhanik/tomcat/tomcat-coyote.jar Filip Filip Hanik - Dev Lists wrote: hi Peter, thanks for the example, I am

utf-8 encoding problem

2007-08-14 Thread Joseph S
My problem is this: One of my pages with an apostrophe was not displaying properly, so I added to my jsp: %@ page contentType=text/html; charset=UTF-8% When I did that my content displayed correctly, but on form submission it got corrupted. You can view the problem here:

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Bill Barker
Rainer Jung [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Do I get the box, if I can write a servlet and describe a procedure by which a Firefox user can produce the exception when calling my servlet? I think that something like (haven't actually tried it myself, mostly because

Re: NoSuchMethod shutdown error

2007-08-14 Thread Matthew Kerle
also, I noticed that you have some Failed Shutdown of Apache Portable Runtime errors, if you want to make that message go away grab the APR native library for your platform and drop it into %JAVA_HOME%/bin symptoms: on startup something like the following gets printed out: INFO: The Apache

Re: multiple comet requests

2007-08-14 Thread Peter Warren
Filip, thank you for your very prompt response! I replaced the tomcat-coyote.jar with yours and now get the following exception on startup. Is there another jar that I need to update? Thanks, Peter Aug 14, 2007 9:02:29 PM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin

Re: Removing the port identifier

2007-08-14 Thread Matthew Kerle
the only way to get rid of the port number is to have something listening on :443 (that's the way browsers are, sorry), and then hand requests over to tomcat, so to get what you want something will have to bind to :443 at some point, requiring root privs. What you want is something that will

Re: Removing the port identifier

2007-08-14 Thread Matthew Kerle
oops, sorry I meant mod_proxy, not mod_rewrite... -- * Matthew Kerle ** IT Consultant* ** * Canberra, Australia* Mobile: +61404 096 863 Email: mailto:[EMAIL PROTECTED] Matthew Kerle mailto:[EMAIL PROTECTED] Web: Matthew Kerle http://threebrightlights.blogspot.com/ Matthew Kerle

RE: Removing the port identifier

2007-08-14 Thread Caldarale, Charles R
From: Matthew Kerle [mailto:[EMAIL PROTECTED] Subject: Re: Removing the port identifier the Apache web server is excellent for this kind of thing. There are much better ways to run Tomcat on low ports than adding the path length of another web server; several messages have already pointed

Re: Removing the port identifier

2007-08-14 Thread Matthew Kerle
well spotted, I apologise! the correct connector is mod_jk (1.2). As for running tomcat on low ports, it depends on deployment. if your app needs to sit within a larger site then it makes sense, but if it's standalone then using another method to run on a low port would be a better solution.

RE: Removing the port identifier

2007-08-14 Thread Caldarale, Charles R
From: Matthew Kerle [mailto:[EMAIL PROTECTED] Subject: Re: Removing the port identifier If the application has a lot of static content then it makes good performance sense to put something in front of it, either apache or squid. but that's probably not an issue in this case...;-p !

tomcat performance on static content over SSL/non-SSL

2007-08-14 Thread Matthew Kerle
Caldarale, Charles R wrote: From: Matthew Kerle [mailto:[EMAIL PROTECTED] Subject: Re: Removing the port identifier Actually, that's not really true anymore. The current Tomcat without APR is almost as fast as httpd for delivering non-SSL static content, and with APR it's pretty much the