it actually is already 2014-10-22 17:05 GMT+02:00 Charles Moulliard <[email protected]>:
> Good to know this hierarchy. Should be great to document it somewhere. > > On Wed, Oct 22, 2014 at 4:37 PM, Achim Nierbeck <[email protected]> > wrote: > >> Hi, >> >> no. what you are actually doing is adding another connector which by >> default serves all the content that the first one also got. >> If you want to switch from 8181 to 22222 you'll need to define it in the >> org.ops4j.pax.web.cfg file. >> There is a "hirarchy" in it. First the connector defined through the osgi >> properties is used, all other configurations additionally made by the >> jetty.xml is added. This is to fullfill the osgi-spec which says the >> configuration of the port of the http service should be configured by the >> osgi properties. >> >> >> regards, Achim >> >> >> 2014-10-22 16:31 GMT+02:00 Charles Moulliard <[email protected]>: >> >>> Hi, >>> >>> When we deploy OPS4J Pax Web features on Karaf 2.3.x, do we run 2 HTTP >>> servers (jetty instance, another) ? Why such a question: If I change the >>> port number of jetty.xml --> 22222 and deploy my war application, I can >>> access it using localhost:8181 or localhost:22222 >>> >>> java 22940 chmoulli 317u IPv6 0xefe90c3bfe4ec64d 0t0 >>> TCP *:22222 (LISTEN) >>> >>> java 22940 chmoulli 324u IPv6 0xefe90c3bfe4a730d 0t0 >>> TCP *:8181 (LISTEN) >>> >>> Regards, >>> -- >>> Charles Moulliard >>> Apache Committer / Architect @RedHat >>> Twitter : @cmoulliard | Blog : http://cmoulliard.github.io >>> >>> >> >> >> -- >> >> Apache Member >> Apache Karaf <http://karaf.apache.org/> Committer & PMC >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer >> & Project Lead >> blog <http://notizblog.nierbeck.de/> >> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >> >> Software Architect / Project Manager / Scrum Master >> >> > > > -- > Charles Moulliard > Apache Committer / Architect @RedHat > Twitter : @cmoulliard | Blog : http://cmoulliard.github.io > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
