You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "SUNDARESH, Shankar" <sh...@orange.co.uk> on 2006/08/07 18:09:09 UTC

Keep Alive Issue

Hi,
     I am a newbie to Axis and this is my first message to the group. Please
excuse me if there are any mistakes in my post. My problem is this :

We were using JOnAS 4.6.6 as the application server for one of the projects
here. This version of JOnAS has Axis 1.2.1 bundled with it. Our client
applications use HTTP 1.1 and as such expect the connection to be persistent
unless otherwise specified. But, it so happens that the connection is being
closed from the Axis end and hence all our responses are being rejected by
the clients. I thought that a newer version of Axis might have solved this
problem. Accordingly, we started using JOnAS 4.7.5 ( which has Axis 1.4
bundled with it ). Unfortunately, the problem persists even with this version
of Axis.

I tried a search on the user mailing lists but could not find any note which
mentions that this issue has been solved. I also tried downloading the source
and found the following code snippet in the HttpSender class :

        if (!http10) {
            //Force close for now.
            //TODO HTTP/1.1
            httpConnection = HTTPConstants.HEADER_CONNECTION_CLOSE;
        }


My question is : Has this issue been solved in any later releases of Axis 1.x
? If not, how can I configure the existing Axis installation to make use of
the Keep Alive feature ? I tried using the CommonsHttpSender transport
instead of the default HttpSender in the "client-config.wsdd" file but it did
not help matters much.

Any help or pointers would be much useful to me. Thanks in advance for all
the help.

Regards,
Shankar
**************************************************************************************

This e-mail (including any attachments) is intended for the above-named  person(s). It is confidential and may contain legally privileged information.  Any opinions expressed are not necessarily those of the company. If you  receive it in error please delete it, inform the sender and do not copy,  distribute or take any action in reliance upon it. 

We may monitor all incoming and outgoing emails in line with current  legislation. We have taken steps to ensure that this email and  attachments are free from any virus, but it remains your responsibility to  ensure that viruses do not adversely affect you. 

Orange Personal Communications Services Limited is an English company  (registered no. 2178917) with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. 
Orange Retail Limited is an English company (registered no. 2439104)  with its address as above. 
Orange Home UK plc is an English company (registered no. 3014367)  with its address at Verulam Point, Station Way, St Albans, Hertfordshire  AL1 5HE.
 
**************************************************************************************

***********************************************************************

This e-mail (including any attachments) is intended  for the above-named person(s). It is confidential and may contain legally privileged information. Any  opinions expressed are not necessarily those of the  company. If you receive it in error please delete it, inform the sender and do not copy, distribute or take any action in reliance upon it. 

We may monitor all incoming and outgoing emails in  line with current legislation. We have taken steps to ensure that this email and attachments are free from  any virus, but it remains your responsibility to  ensure that viruses do not adversely affect you. 

Orange Personal Communications Services Limited is an English company (registered no. 2178917) with its  address at St James Court, Great Park Road,  Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. 
Orange Retail Limited is an English company  (registered no. 2439104) with its address as above. 
Orange Home UK plc is an English company (registered no. 3014367) with its address at Verulam Point, Station Way, St Albans, Hertfordshire AL1 5HE. 

***********************************************************************