Pax Web uses Jetty as the underlying web container. The OSGi Http Service specification defines a set of parameters for configuration of the Http Service. In addition to these standard configuration parameters, the Pax Web-specific parameters are configurable. On top of those configuration parameters, it's also possible to configure Jetty itself for further needs.
The configuration of the Http Service is done through the Configuration Admin service. During the installation of the Http Service, the configuration is also set for the service PID org.ops4j.pax.web
, as shown in the following code snippet:
javax.servlet.context.tempdir = ${karaf.data}/pax-web-jsp org.ops4j.pax.web.config.file = ${karaf.home}/etc/jetty.xml org.osgi.service.http.port = 8181