This content has been marked as final.
Show 3 replies
-
1. Re: Determining WebService port at runtime
nickarls Apr 17, 2013 1:38 AM (in response to jewellgm)It is probably best pulled out from the management model https://docs.jboss.org/author/display/AS7/Management+Clients
-
2. Re: Determining WebService port at runtime
jewellgm Apr 17, 2013 9:17 AM (in response to nickarls)Thank you for the suggestion, Nicklas. Our deployment environments vary, though, and the management "accessor" ports may change. This is true for the http ports as well, and is why there is code to dynamically determine the port at runtime. I suppose I could parse the standalone.xml to get the information, but this seems fragile. Is there no other API to acquire this information?
-
3. Re: Determining WebService port at runtime
nickarls Apr 17, 2013 3:08 PM (in response to jewellgm)It's possible to do an "internal connect" that doesn't require port usage. Can't find the article I recall seeing right now :-/