I have found a solution.
1) Starting with a fresh extraction of the Karaf distribution
2) Remove the included pax-web 8.0.15 repo
3) Update the pax-web version in standard-4.4.3-features.xml
4) Start Karaf.
***
* Example
***
sparrow:Downloads paul$ tar -xf apache-karaf-4.4.3.tar.gz
sparrow:Downloads paul$ cd apache-karaf-4.4.3
sparrow:apache-karaf-4.4.3 paul$ rm -R system/org/ops4j/pax/web
sparrow:apache-karaf-4.4.3 paul$ vim
system/org/apache/karaf/features/standard/4.4.3/standard-4.4.3-features.xml
sparrow:apache-karaf-4.4.3 paul$ bin/karaf
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (4.4.3)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
karaf@root()> feature:repo-list
Repository │ URL
──────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────
org.ops4j.pax.web-8.0.16 │
mvn:org.ops4j.pax.web/pax-web-features/8.0.16/xml/features
org.ops4j.pax.jdbc-1.5.5 │
mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.5.5/xml/features
openjpa-3.2.2 │
mvn:org.apache.openjpa/openjpa-features/3.2.2/xml/features
aries-jpa-2.7.3 │
mvn:org.apache.aries.jpa/jpa-features/2.7.3/xml/features
framework-4.4.3 │
mvn:org.apache.karaf.features/framework/4.4.3/xml/features
hibernate-validator-osgi-features │
mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/7.0.2.Final/xml/features
standard-4.4.3 │
mvn:org.apache.karaf.features/standard/4.4.3/xml/features
spring-4.4.3 │
mvn:org.apache.karaf.features/spring/4.4.3/xml/features
specs-4.4.3 │
mvn:org.apache.karaf.features/specs/4.4.3/xml/features
pax-transx-0.5.3 │
mvn:org.ops4j.pax.transx/pax-transx-features/0.5.3/xml/features
enterprise-4.4.3 │
mvn:org.apache.karaf.features/enterprise/4.4.3/xml/features
org.ops4j.pax.cdi-1.1.4 │
mvn:org.ops4j.pax.cdi/pax-cdi-features/1.1.4/xml/features
pax-jms-1.1.2 │
mvn:org.ops4j.pax.jms/pax-jms-features/1.1.2/xml/features
karaf@root()> feature:install http
karaf@root()> feature:list --installed
Name │ Version │ Required │ State │ Repository
│ Description
───────────────────┼──────────────────┼──────────┼─────────┼──────────────────────────┼──────────────────────────────────────────────────
pax-web-core │ 8.0.16 │ │ Started │
org.ops4j.pax.web-8.0.16 │ Core Pax Web bundles
pax-web-jetty │ 9.4.50.v20221201 │ │ Started │
org.ops4j.pax.web-8.0.16 │ Jetty 9 bundles
pax-web-http-jetty │ 8.0.16 │ │ Started │
org.ops4j.pax.web-8.0.16 │ Http Service implementation using Jetty 9
feature │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Features Support
shell │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Karaf Shell
deployer │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Karaf Deployer
bundle │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide Bundle support
config │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide OSGi ConfigAdmin support
diagnostic │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide Diagnostic support
instance │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide Instance support
jaas │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide JAAS support
log │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide Log support
package │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Package commands and mbeans
service │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide Service support
system │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide System support
pax-web-http │ 8.0.16 │ │ Started │ standard-4.4.3
│ Pax Web OSGi HTTP Service
http │ 8.0.16 │ x │ Started │ standard-4.4.3
│ Transition feature for backward compatibility
kar │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide KAR (KARaf archive) support
ssh │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide a SSHd server on Karaf
management │ 4.4.3 │ x │ Started │ standard-4.4.3
│ Provide a JMX MBeanServer and a set of MBeans in
eventadmin │ 4.4.3 │ x │ Started │ standard-4.4.3
│ OSGi Event Admin service specification for event-
pax-url-wrap │ 2.6.12 │ │ Started │ standard-4.4.3
│ Wrap URL handler
wrap │ 2.6.12 │ x │ Started │ standard-4.4.3
│ Transition feature to pax-url-wrap
karaf@root()>
Paul Spencer
> On Feb 25, 2023, at 12:23 AM, Jean-Baptiste Onofré <[email protected]> wrote:
>
> If possible, wait Karaf 4.4.4 that will include it :)
>
> Else the cleanest way is probably to create custom build or to replace
> at runtime.
>
> Regards
> JB
>
> On Fri, Feb 24, 2023 at 8:48 PM Paul Spencer <[email protected]>
> wrote:
>>
>> I see that Pax Web version 8.0.16 has been released. How do I utilize the
>> version 8.0.16 in Karaf 4.4.3?
>>
>> Paul Spencer