-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.1
-
None
-
%
-
In a newly-created fabric, in the default profile, the default value of
org.osgi.service.http.port
is
${port:8181,8281}
I take this to mean that fabric would assign a port in a range within those limits.
However, if I change this setting to a different range, and then create a child container, I don't get a port in my specified range – I get the next free port after 8181. It seems that the port range is simply ignored.
If I clone the default profile and assign the new profile to a child container, and then I change the port value to a static number, then the port I specify is used.
If I clone the default profile and assign the new profile to a child container, and then I change the port value to a range of the form ${port:x,y}, then my settings are not used. However, if I put stupid non-numeric values in for the port numbers, I get an exception in the log, suggesting that the string is at least being parsed.
In short, it seems that a port range is ignored when creating a child container, where a single static port is accepted.