This content has been marked as final.
Show 3 replies
-
1. Re: Jetty.xml property override not working
ffang Feb 18, 2013 1:41 AM (in response to wayn23)Hi,
jetty.xml configuration will be override by pax-web configuration through configAdmin service, which means you should edit
etc/org.ops4j.pax.web.cfg,
add
org.osgi.service.http.port=any_port_you_want.
Freeman
-
2. Re: Jetty.xml property override not working
wayn23 Feb 20, 2013 10:55 AM (in response to ffang)That file already had that entry in it and it does not work. Here are the contents of the my etc/org.ops4j.pax.web.cfg
-
org.osgi.service.http.port=12345
org.ops4j.pax.web.config.file=etc/jetty.xml
-
-
3. Re: Jetty.xml property override not working
ffang Feb 20, 2013 9:42 PM (in response to wayn23)Hi,
You need remove
org.ops4j.pax.web.config.file=etc/jetty.xml
if you don't want the port get picked up from etc/jetty.xml
Freeman