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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2015/06/07 02:41:00 UTC

[jira] [Updated] (AXIS2-5691) Axis2 how to provide java system variable in axis2.xml to pass port number

     [ https://issues.apache.org/jira/browse/AXIS2-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe updated AXIS2-5691:
-------------------------------------

Current version of Axis2 does not support this. You can send a patch to take the value from some other means. 

If you are using two axis2.xml, you can have the value there.

> Axis2 how to provide java system variable in axis2.xml to pass port number
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-5691
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5691
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.6.1
>         Environment: linux, jboss
>            Reporter: Baiju
>            Priority: Critical
>
> I have 2 jboss instances running on the same server both containing axis2. I am getting port conflict since the https port set is 8443 in axis2.xml for both since the webservice is built one time and passed to two ears and deployed on two jboss instances.
> Here I want to pass the port value from system variable and but it is not taking, it seems the axis2.xml parser is not accepting any variable. Please help.
> 1. -Dsystem_variable_port=8443
> 2. <transportReceiver name="https"
>                class="org.apache.axis2.transport.http.AxisServletListener">
>                <parameter name="port">${system_variable_port}</parameter>
>            </transportReceiver>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org