tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jithu mada <jithu.m...@gmail.com>
Subject Re: Does tomcat log closed connection
Date Sun, 20 Sep 2009 00:26:37 GMT
Hi David,

these are the connector elements we have in our server.xml file

<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector port="8080"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="true" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="60000"
               disableUploadTimeout="true" />

    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <Connector port="8443"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="true" disableUploadTimeout="true"
               acceptCount="100" debug="99" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
keystoreFile="conf/keystore"
               algorithm="IbmX509" />

The client is a .NET client here is the sequence of communication before the
connection is closed

1) The client sends a request to our application to create a session.
2) Tomcat sees the client is not logged in and sends a login.html to login
in
3) Client sends a username and password. Client gets authenticated and is
redirected to original request
4) Tomcat is receiving this request and our application creates a session
for that user
5) After this client says the connection was closed unexpectedly.

There are no proxys in between.

I appreciate your help.

thanks

Jithu

On Sat, Sep 19, 2009 at 7:38 PM, David Smith <dns4@cornell.edu> wrote:

> jithu mada wrote:
> > Hi,
> >
> > I am using Tomcat 5.0.27 on AIX.
> >
> > Its abruptly closing a connection after processing a user request
> > successfully.
> >
> > Wanted to know does it log anywhere why is it closing the connection or
> do
> > we need to change any settings to make it log closed connections.
> >
> > Thanks
> >
> > Jithu
> >
> >
> We need details to be able to answer you.  What do you have configured
> for your Connectors in server.xml.  Please don't post the entire
> server.xml, comments and all -- just the active (uncommented) <Connector
> ... /> elements.  Also tell us a little about your client and how you
> are detecting this connection close.  Lastly, if you have Apache Httpd
> or some other proxy like service in between tomcat and your client, we
> will need to know that as well.
>
> --David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message