Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

Pax Web is an implementation of OSGi R4 Http Service using Jetty 6.

System Requirements

  1. Java5 virtual machine running on a supported operating system.
  2. An OSGi framework compliant with the R4 Core specification.
  3. Pax Logging Service.
  4. (Optional) A Config Admin Service that is R4 compliant. (see configuration section for details)

Installation

Manual installation

Pax Runner installation

  • Add the following dependency to your pax runner pom:
    <dependency>
      <groupId>org.ops4j.pax.web.bundles</groupId>
      <artifactId>service</artifactId>
      <version>0.2.0</version>
    </dependency>
    
  • Ensure that you have the following repository:
    <repository>
      <id>ops4j-repository</id>
      <url>http://repository.ops4j.org/maven2</url>
    </repository>
    
  • Start pax runner
  • ! you must have a logging framework installed

Pax Construct

  • Create a project using pax-create-project (if you do not already have one)
  • Ensure that you have the following repository:
    <repository>
      <id>ops4j-repository</id>
      <url>http://repository.ops4j.org/maven2</url>
    </repository>
    
  • Import pax web bundle using pax-import-bundle -g org.ops4j.pax.web.bundles -a service -v 0.2.0
  • Start pax-provision
  • ! you must have a logging framework installed

Building

The source code can be build using Maven 2 ( >= 2.0.6, not tested for maven < 2.0.6 )

Building the service

  • Checkout the source code
  • Go to the root of the downloaded project and run the following:
    mvn clean install 
    

Building the samples

  • Checkout the source code
  • Go to the root of the downloaded project and run the following:
    mvn clean install 
    

Source code

You must have a valid ops4j account in order to be able to checkout code from the source code repository.

Service source code

You can download the source code from: https://scm.ops4j.org/repos/ops4j/projects/pax/web
You can browse the source code using FishEye at http://scm.ops4j.org/browse/OPS4J/projects/pax/web.

Samples source code

You can download the source code from: https://scm.ops4j.org/repos/ops4j/projects/pax/web-samples
You can browse the source code using FishEye at http://scm.ops4j.org/browse/OPS4J/projects/pax/web-samples.

Issue tracker

The issue tracker is to be found at http://issues.ops4j.org/jira/browse/PAXWEB.
Here are the current open issues:

summary

Unable to locate Jira server for this macro. It may be due to Application Link configuration.

Configuration

Pax Web supports different configuration options as follows. The default configuration setup will first look for configuration admin, then for environment properties and last for default values. Note that this sequesnce is followed for each configuration property.

Configuration via OSGi environment properties

In order to configure Pax Web via OSGi environment properties set the following properties:

  • org.osgi.service.http.port - This property specifies the port used for servlets and resources accessible via HTTP. The default value for this property is 8080.
  • org.osgi.service.http.port.secure - This property specifies the port used for servlets and resources accessible via HTTPS. The default value for this property is 443.

Configuration via OSGi Configuration Admin Service

Pax Web can be configued via Configuration Admin Service (if available). The PID used for configuration is org.osgi.service.http.HttpService.
It supports the following properties:

  • org.osgi.service.http.port - This property specifies the port used for servlets and resources accessible via HTTP.
  • org.osgi.service.http.port.secure - This property specifies the port used for servlets and resources accessible via HTTPS.
  • org.osgi.service.http.enabled - This property specifies if the HTTP is enabled.
  • org.osgi.service.http.secure.enabled - This property specifies if the HTTPS is enabled.

Configuration via exposed HttpServiceConfigurer

TODO

Examples

Department Store

The Pax Wicket Department Store example running using Pax Web
TODO - explain how to run it.

Simple configurer

The example exposes a configuration page that can be used to configure Pax Web via the HttpServiceConfigurer.
TODO - explain how to run it.

Using Configuration Admin from Felix and FileInstall from Peter Kriens

This example deploys a configuration admin service and fileinstall for controlling the configuration of Pax Web.
Using fileinstall you will be able to change a configuration file (properties file) and see the web server reconfiguring itself.
TODO - explain how to run it.

Pax Web 7.3.8 released

Pax Web 7.3.8 has been released. It contains several version updates and bugfixes.

Checkout the release notes Pax Web 7.3.8 for more details.

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

Pax Web 7.3.7 released

Pax Web 7.3.7 has been released. It contains Jetty version upgrade and new way to configure I/O parameters in etc/undertow.xml.

Checkout the release notes Pax Web 7.3.7 for more details.

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

Pax Web 7.3.6 released

Pax Web 7.3.6 has been released. It contains 3 improvements, among others support for <expression-filter> declarations in undertow.xml configuration.

Checkout the release notes Pax Web 7.3.6 for more details.

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

Pax Web 7.3.5 released

Pax Web 7.3.5 has been released. It contains several upgrades, especially Jetty 9.4.22.v20191022, memory leak fixes, stack trace configuration and proper certificate alias handling for Undertow.

Checkout the release notes Pax Web 7.3.5 for more details.

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

Pax Web 7.3.0 released

Pax Web 7.3.0 has been released.

It should not be treated as direct replacement of 7.2.x (used for example in latest Karaf 4.2.3), but as kind of tech preview with these major upgrades:

  • servlet api 4.0

  • Tomcat 9.0.16

  • Undertow 2.0.17

Final, official version of pax-web that uses the above will be 8.0.0. For now, Jetty 10 is not ready yet, thus the tech preview label.

Checkout the release notes Pax Web 7.3.0 for more details.

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

Pax Web 7.2.4 released

Pax Web 7.2.4 has been released. It contains upgrade to Jetty 9.4.12.v20180830, Karaf 4.2.1 and verification of session handling.

Checkout the release notes Pax Web 7.2.4 for more details.

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

Pax Web 7.2.2 released

Pax Web 7.2.2 has been released. It contains two fixes for thread leaks in pax-web-undertow, an updated pax-web-jetty-bundle and commons-collections upgrade.

Checkout the release notes Pax Web - 7.2.2 for more details.

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

Pax Web 6.1.2 released

Pax Web 6.1.2 has been released. It contains upgrades to Jetty and pax-cdi 1.0.0.

Checkout the release notes Pax Web - 6.1.2 for more detail.

key summary type created assignee reporter status resolution fixversions
Loading...
Refresh

Pax Web 6.0.10 released

Pax Web 6.0.10 has been released. It contains minor fixes for all supported containers.

Checkout the release notes Pax Web - 6.0.10 for more detail.

key summary type created assignee reporter status resolution fixversions
Loading...
Refresh

Pax Web 6.1.1 released

Pax Web 6.0.7 has been released. It fixes welcome file handling, Undertow default servlet, Tomcat error servlet and minor parsing issue.

Checkout the release notes Pax Web - 6.1.1 for more detail.

key summary type created assignee reporter status resolution fixversions
Loading...
Refresh

Extensions

Pax Web Extender -

Error rendering macro 'excerpt-include' : No link could be created for 'paxweb:Pax Web Extender'.

  • No labels