axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Szarwas (JIRA)" <>
Subject [jira] Created: (AXIS2-2925) Axis doesn't use params from axis2.xml
Date Mon, 09 Jul 2007 13:29:04 GMT
Axis doesn't use params from axis2.xml

                 Key: AXIS2-2925
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.2
         Environment: System (uname):
Linux 2.6.17-11mdv #1 SMP, 
Java (java -version):
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)

            Reporter: Piotr Szarwas
            Priority: Minor
             Fix For: 1.2


I'm using axis in following way:

SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
SOAPConnection soapConnection = connectionFactory.createConnection();
response =, wmHostInfo.getUrl());

and I have following axis2.xml:

<transportSender name="" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
     <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
     <parameter name="SO_TIMEOUT" locked="false">12000</parameter>
     <parameter name="CONNECTION_TIMEOUT" locked="false">12000</parameter>

I found that axis never use my params (I also tried to put then in different parts of config
file). AIxis always use DEFAULT_TIMEOUT_MILLISECONDS from Options class.  I thing problem
apeare in HttpSender in line 285, here I always getting DEFAULT_TIMEOUT_MILLISECONDS, because
options doesn't has setup params from config file. 


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message