axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baiju (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5691) Axis2 how to provide java system variable in axis2.xml to pass port number
Date Thu, 02 Apr 2015 03:39:52 GMT
Baiju created AXIS2-5691:
----------------------------

             Summary: 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: Task
          Components: transports
    Affects Versions: 1.6.1
         Environment: linux, jboss
            Reporter: Baiju


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


Mime
View raw message