Hello
I'd like to announce the release of Pax Web 8.0.4 - with few fixes and
quite important improvements.
The changes are:
- there's now new option in org.ops4j.pax.web PID called (thanks Stephan
Siano!) "org.ops4j.pax.web.context.file", which can be used for Tomcat and
Jetty to point to a global context configuration file. Standalone Tomcat
has $CATALINA_HOME/conf/context.xml file and Pax Web now allows to point to
similar file that's used to configure ALL contexts (whether these are
created from WABs, HttpService or Whiteboard):
- with pax-web-tomcat, it points to (commented out by default)
${karaf.etc}/tomcat-context.xml
- with pax-web-jetty, it points to (commented out by default)
${karaf.etc}/jetty-web.xml
- There's a fix to WABs with Web-ContextPath=/ (thanks Jakub Herkel!) -
to prevent conflicts with servlets registered in standard way to "/"
context. So now it's really safe to have a WAB deployed to "/" and at the
same time, a popular CXF's /cxf servlet registered by
cxf-rt-transports-http bundle
- There's a fix to how multiple "context processing" configurations
affect a context (thanks Gerald Kallas!) - so you can have external
security constraints defined in multiple files (and fragments)
The runtime versions are:
- Jetty 9.4.46.v20220331
- Tomcat 9.0.63
- Undertow 2.2.17.Final
Full changelog can be found here[1].
kind regards
Grzegorz Grzybek
===
[1]: https://github.com/ops4j/org.ops4j.pax.web/milestone/214?closed=1
>