Re: problem with sessions

2008-06-30 Thread abhishek reddy
thanks for the quick reply... i didnot get u ? can u please elaborate it? On 6/27/08, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Hello Abhishek, > > if you open a new window in a browser (except internet explorer with > setting start new window in new process = on) your new window belongs > to

Tomcat 5.5.25 freezes

2008-06-30 Thread Anthony Chamas
Hello everyone, I am having quite a weird situation on a production server : tomcat seems to be stuck somewhere when handling http requests. The activity being slow (10 users), some requests take exactly 30 minutes to be processed. I have put aside the following : -it happens on any page (not lin

How to close an out Stream if a client aborts

2008-06-30 Thread Lyallex
Good Morning Java 1.5.0_15 Tomcat 5.5.26 I have a servlet that is used to serve up images from a database If the client aborts the connection I get the usual 'broken pipe' type exceptions The thing is that from my debug output it appears that the OutputStream to the client (instanceof ServletOu

RE: Tomcat 5.5.25 freezes

2008-06-30 Thread Peter Crowther
> From: Anthony Chamas [mailto:[EMAIL PROTECTED] > I am having quite a weird situation on a production server : tomcat > seems to be stuck somewhere when handling http requests. > The activity being slow (10 users), some requests take exactly 30 > minutes to be processed. > > I have put aside the f

RE: Tomcat 5.5.25 freezes

2008-06-30 Thread Surendrakumar Viswanathan -X (suviswan - HCL at Cisco)
Also make sure GC is not an issue. If the occurrence is random and there is no lock in threads / database , then GC is usually the cause. You can enable JMX and monitor it using Jconsole. Cheers Suren > -Original Message- > From: Peter Crowther [mailto:[EMAIL PROTECTED] > Sent: Monday,

Proxy_ajp VS. mod_jk - Performance comparation?

2008-06-30 Thread Milan Cvejic
Hello, i have simple question. What is faster? Proxy_ajp or mod_jk? I noticed weird cpu usage increase for tomcat process when i use proxy_ajp. Thanks. -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar AVNOJa 99, 11000 Beograd, Srbija tel +381 11 313 07 21 fax +381

Re: How to close an out Stream if a client aborts

2008-06-30 Thread Johnny Kewl
- Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, June 30, 2008 10:11 AM Subject: How to close an out Stream if a client aborts Good Morning Java 1.5.0_15 Tomcat 5.5.26 I have a servlet that is used to serve up images from a database I

Re: How to close an out Stream if a client aborts

2008-06-30 Thread Johnny Kewl
- Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, June 30, 2008 10:11 AM Subject: How to close an out Stream if a client aborts Good Morning Java 1.5.0_15 Tomcat 5.5.26 I have a servlet that is used to serve up images from a database I

JSP page directive

2008-06-30 Thread Sean Doyle
Hi.. If a jsp has a page directive of the following form <%@ page contentType="application/x-java-jnlp-file" %> then all request.getParameter() calls return null. Other calls to request (like request.getMethod() ) work correctly. Example URL: http://localhost:8090/DDL/app/ddl.jsp?DICOMRemoteAETit

Tomcat 6 CometProcessor interface

2008-06-30 Thread Ken Bowen
This is a follow up on using Tomcat 6 and the CometProcessor interface: A. From Kris Zyp's post on [http://cometdaily.com/2007/12/10/comet-gazing-scaling/ ], with the Tomcat CometProcessor, connections and threads are decoupled, so that the number of connections can can scale inde

Blocking threads in Tomcat

2008-06-30 Thread Fredrik Tolf
Hi list! I've had some issues with requests not being carried out in parallel by Tomcat. My problem is that I haven't been able to figure out when a worker thread blocks and when it does not. To try and pin down the behavior, I did a little experiment. I took a servlet that I had, that handles to

Re: Blocking threads in Tomcat

2008-06-30 Thread Leon Rosenberg
Hello Frederic, unless you are using the SingleThreaded Model (and you shouldn't) tomcat does no such thing. I assume the best way is to show us your servlet code, or to check for synchronized blocks in it. regards Leon On Tue, Jul 1, 2008 at 6:11 AM, Fredrik Tolf <[EMAIL PROTECTED]> wrote: > Hi