Hi Paul,
both are possible: it depends of the org.ops4j.pax.web.cfg file.
The org.osgi.service.http.port contains the port.
For instance, containing 8888.
In the jetty.xml, you have something like:
<Set name="port">
<Property name="jetty.port" default="8181"/>
</Set>
In that case, the 8181 port number is not used, instead it's the 8888
(as defined in the property).
Anyway, Cave server itself doesn't provision etc/jetty.xml (just a CXF
config file).
Can you check that this jetty.xml doesn't come from another feature (or
your provisioning) ?
Thanks,
Regards
JB
On 04/30/2015 11:35 PM, Paul Spencer wrote:
I noticed the TCP port opened by the Cave HTTP server is defined in
/etc/jetty.xml instead of a configured property.
Is this:
1 - Bug, because it should be configurable property
2 - Bug, because it should us the pax-web port ( pid = org.ops4j.pax.web
property = org.osgi.service.http.port)
3 - Documentation bug
4 - Enhancement with the expected behavior of ___ (1 or 2)
Paul Spencer
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com