Add etc/org.apache.karaf.features.xml containing:
<featuresProcessing>
<blacklistedFeatures>
<feature>pax-http-jetty</feature>
</blacklistedFeatures>
</featuresProcessing>
The purpose is to avoid to install this feature.
However, be careful, some third party projects (like camel or cxf) directly use jetty feature.
I identify some issue about that and I will update these features to use http provider instead.
Regards
JB
> Le 1 juin 2020 à 21:25, Alex Soto <alex.soto@envieta.com> a écrit :
>
> Blacklist? How?
>
> Best regards,
> Alex soto
>
>
>
>
>> On Jun 1, 2020, at 3:11 PM, Jean-Baptiste Onofre <jb@nanthrax.net <mailto:jb@nanthrax.net>>
wrote:
>>
>> Just installing the pax web undertow feature will add the HTTP undertow provider
capability. You just have to blacklist jetty feature and it should be fine.
>>
>> Regards
>> JB
>>
>>> Le 1 juin 2020 à 21:09, Alex Soto <alex.soto@envieta.com <mailto:alex.soto@envieta.com>>
a écrit :
>>>
>>> If I have to use Undertow, I’d be willing to try it, but there is little or
no info on how to switch Pax-Web to use Undertow.
>>> I don’t have any particular need to use Jetty, just trying to be isolated
from this by Pax-Web.
>>>
>>> Best regards,
>>> Alex soto
>>>
>>>
>>>
>>>
>>>> On Jun 1, 2020, at 12:45 PM, Jean-Baptiste Onofre <jb@nanthrax.net <mailto:jb@nanthrax.net>>
wrote:
>>>>
>>>> Hi,
>>>>
>>>> Yes, I have something (not with the latest keycloak) but I had to "fix" the
keycloak feature.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>>> Le 1 juin 2020 à 16:30, Alex Soto <alex.soto@envieta.com <mailto:alex.soto@envieta.com>>
a écrit :
>>>>>
>>>>> Hello,
>>>>>
>>>>> Anybody has a working example of Pax-Web with Jetty, and Keycloak?
>>>>> The Jetty features are commented out in the Keycloak keycloak-osgi-features-10.0.1
/features.xml file:
>>>>>
>>>>> <!-- Keycloak adapter for PaxWeb jetty provider -->
>>>>> <!--
>>>>> <feature name="keycloak-pax-http-jetty" version="10.0.1">
>>>>> <details>Keycloak Pax-Web adapter for Jetty 9.4</details>
>>>>> <feature>keycloak-adapter-core</feature>
>>>>> <feature version="[7.1,9)">pax-web-core</feature>
>>>>> <bundle>mvn:org.keycloak/keycloak-osgi-adapter/10.0.1</bundle>
>>>>> <bundle>mvn:org.keycloak/keycloak-jetty-adapter-spi/10.0.1</bundle>
>>>>> <bundle>mvn:org.keycloak/keycloak-jetty-core/10.0.1</bundle>
>>>>> <bundle>mvn:org.keycloak/keycloak-jetty94-adapter/10.0.1</bundle>
>>>>> <bundle>mvn:org.keycloak/keycloak-pax-web-jetty94/10.0.1</bundle>
>>>>> </feature>
>>>>> -->
>>>>>
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Alex soto
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> On May 29, 2020, at 4:19 PM, Alex Soto <alex.soto@envieta.com
<mailto:alex.soto@envieta.com>> wrote:
>>>>>>
>>>>>> I am looking for the same, did you find any solution?
>>>>>>
>>>>>>
>>>>>> Best regards,
>>>>>> Alex soto
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Apr 7, 2020, at 5:06 PM, Christian Lutz <ChristianLutz@kreeloo.de
<mailto:ChristianLutz@kreeloo.de>> wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I just wanted to ask if someone has a running karaf 4.2.8 instance
with REST services protected by keycloak.
>>>>>>> Based on this https://github.com/jboss-fuse/karaf-quickstarts/tree/7.x.redhat-7-x/security/keycloak/keycloak-cxf#testing-embedded-undertow-servlet-engine
<https://github.com/jboss-fuse/karaf-quickstarts/tree/7.x.redhat-7-x/security/keycloak/keycloak-cxf#testing-embedded-undertow-servlet-engine>
approach,
>>>>>>> but instead of using cxf with undertow using this approach with
jetty.
>>>>>>>
>>>>>>> If so, did the description work out of box or are any changes
necessary?
>>>>>>>
>>>>>>> For some reason the keycloak-pax-http-jetty feature is commented
out.
>>>>>>> https://github.com/keycloak/keycloak/blob/master/distribution/adapters/osgi/features/src/main/resources/features.xml
<https://github.com/keycloak/keycloak/blob/master/distribution/adapters/osgi/features/src/main/resources/features.xml>
>>>>>>> Any idea why?
>>>>>>>
>>>>>>> Sincerely
>>>>>>> Christian
>>>>>>
>>>>>
>>>>
>>>
>>
>
|