You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Piotr Szarwas (JIRA)" <ji...@apache.org> on 2007/07/09 15:29:04 UTC
[jira] Created: (AXIS2-2925) Axis doesn't use params from axis2.xml
Axis doesn't use params from axis2.xml
--------------------------------------
Key: AXIS2-2925
URL: https://issues.apache.org/jira/browse/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
Hi,
I'm using axis in following way:
SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
SOAPConnection soapConnection = connectionFactory.createConnection();
response = soapConnection.call(message, wmHostInfo.getUrl());
soapConnection.close();
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>
</transportSender>
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.
Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-2925) Axis doesn't use params from
axis2.xml
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-2925.
-------------------------------------
Resolution: Fixed
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/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
> Assignee: sumedha rubasinghe
> Priority: Minor
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> 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>
> </transportSender>
> 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.
> Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2925) Axis doesn't use params from
axis2.xml
Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517727 ]
sumedha rubasinghe commented on AXIS2-2925:
-------------------------------------------
Hi Piotr,
I extracted the bellow section from your posting above.
<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>
</transportSender>
If above is what you have in your axis2.xml, your missing Transport Sender Name.
You need to have something like following there.
<transportSender name="http" (In the place of <transportSender name="")
/sumedha
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/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
> Assignee: sumedha rubasinghe
> Priority: Minor
> Fix For: 1.2
>
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> 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>
> </transportSender>
> 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.
> Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-2925) Axis doesn't use params from axis2.xml
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-2925:
------------------------------------
Assignee: sumedha rubasinghe
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/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
> Assignee: sumedha rubasinghe
> Priority: Minor
> Fix For: 1.2
>
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> 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>
> </transportSender>
> 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.
> Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-2925) Axis doesn't use params from axis2.xml
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-2925:
------------------------------------
Fix Version/s: (was: 1.2)
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/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
> Assignee: sumedha rubasinghe
> Priority: Minor
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> 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>
> </transportSender>
> 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.
> Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2925) Axis doesn't use params from
axis2.xml
Posted by "Piotr Szarwas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517533 ]
Piotr Szarwas commented on AXIS2-2925:
--------------------------------------
Hi,
I used -Daxis2.xml=<replace-with-path-to-your-axis2.xml> and it was working
ok, because other parameters were taken from my config file.
Piotr.
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/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
> Assignee: sumedha rubasinghe
> Priority: Minor
> Fix For: 1.2
>
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> 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>
> </transportSender>
> 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.
> Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2925) Axis doesn't use params from
axis2.xml
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578120#action_12578120 ]
Davanum Srinivas commented on AXIS2-2925:
-----------------------------------------
please follow sumedha's recommendation
-- dims
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/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
> Assignee: sumedha rubasinghe
> Priority: Minor
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> 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>
> </transportSender>
> 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.
> Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2925) Axis doesn't use params from
axis2.xml
Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517526 ]
sumedha rubasinghe commented on AXIS2-2925:
-------------------------------------------
Hi Piotr,
How did you provide the location of axis2.xml to SAAJ client? By default Axis2 uses values from axis2_default.xml (which is located @ axis2-kernel/src/org/apache/axis2/deployment/axis2_default.xml)
If you want Axis2 to use your axis2.xml, add following JVM argument before running your client.
-Daxis2.xml=<replace-with-path-to-your-axis2.xml>
Thanks,
/sumedha
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/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
> Assignee: sumedha rubasinghe
> Priority: Minor
> Fix For: 1.2
>
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> 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>
> </transportSender>
> 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.
> Piotr
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org