[jbosstools-issues] [JBoss JIRA] (JBIDE-24991) Improve server port offset detection by inspecting configured system properties

Vsevolod Golovanov (JIRA) issues at jboss.org
Wed Sep 6 05:45:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459394#comment-13459394 ] 

Vsevolod Golovanov commented on JBIDE-24991:
--------------------------------------------

I know this is a minor and specific thing, but I hope that this evaluating logic is already implemented in the server config parser, and just isn't used in case of port-offset. Then the improvement could be a trivial code change.

> Improve server port offset detection by inspecting configured system properties
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-24991
>                 URL: https://issues.jboss.org/browse/JBIDE-24991
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>    Affects Versions: 4.5.0.Final
>         Environment: JBDS11, WF10
>            Reporter: Vsevolod Golovanov
>
> The default Wildfly standalone.xml config has port offset configured like this: 
> {code}
> <socket-binding-group ... port-offset="${jboss.socket.binding.port-offset:0}">
> {code}
> With the way our configuration process is set up we don't change that. Instead we add a system property to the same config file:
> {code}
> <system-properties>
>     <property name="jboss.socket.binding.port-offset" value="10"/>
> </system-properties>
> {code}
> The problem is JBoss Tools doesn't detect this currently. It could be improved to inspect the port-offset attribute and find the corresponding system property value.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list