akronenw commented on PR #5478: URL: https://github.com/apache/netbeans/pull/5478#issuecomment-1434905028
Hello @ehsavoie, thanks for checking this. > if the offset is set when starting WildFly using -Djboss.socket.binding.port-offset=100 then you are back on it since you would need to connect to the running server management API to get the effective value I don't understand that. Do you mean, starting Wildfly manually and passing the port-offset as parameter? If so, that would not make sense, as the whole point is that NetBeans starts the server and passes everything in. > I don't understand why you don't set the proper port value per server instance. Yes, I could do that. But the port offset in the `standalone.xml` applies to more ports than admin and HTTP. As NetBeans only allows to set admin and HTTP port, I'd have to remove the port offset in the config file and add it to the other ports by hand. That is inconvenient and makes the port offset variable pointless. Unfortunately I have to deal with several Widlfy instances of different versions and just setting the port offset in the config makes it easier to have them running in parallel. Probably the best is to scrap my commits and add a new field in the server wizard where one can specify the port offset, which is then passed to Wildfly via `-Djboss.socket.binding.port-offset=Y`. I am not keen on doing Swing stuff so I tried to fix the problem with the commits you checked. What do you think? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
