Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-08-14       - By David Delbecq

 Back

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 courtesy of browser to limit the number
of connection per server to a reasonable amount (4 or 8 generally). AJAX
request can't escape that limit :)

Since you are using firefox, i suggest you take a look at
about:config -> filter=network.http

You might find there useful configuration helps.


En l'instant pr?cis du 14/08/07 11:08, Riechert, Andree s'exprimait en
ces termes:
> 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 request to the same
> session blocks until one of the other requests return/finishes.
>  
> It seems to me that the tomcat (v 5.5) limits the number of threads per
> session to 3. I would like
> to increase this number to prevent blocking of further requests.
>  
> How can I adjust this setting ?
>  
> Greetings
> Andree
>
>
> __ ____ ____ ___
> Dresdner Bank AG
> Sitz/Registered Office: Frankfurt am Main, Handelsregister/Commercial
Register: Amtsgericht/Local Court, Frankfurt am Main, HRB 14000
> Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Michael
Diekmann
> Vorstand/Board of Managing Directors: Herbert Walter (Vorsitzender/Chairman),
Andreas Georgi, Franz Herrlein, Stefan Jentzsch, Wulf Meier, Andree Moschner,
Klaus Rosenfeld, Otto Steinmetz, Friedrich Woebking
>
> This e-mail is confidential and the information contained in it may be
privileged.  It should not be read, copied or used by anyone other than the
intended recipient.  If you have received it in error, please contact the
sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and
delete the e-mail and do not disclose its contents to any person.  We believe,
but do not warrant, that this e-mail and any attachments are virus free, but
you must take full responsibility for virus checking.  Please refer to http:/
/www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement
and monitoring policy.
> __ ____ ____ ___
>
>
>  


--
http://www.noooxml.org/


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.