Super that worked. 

For the record the bundle you need is 
org.ops4j.pax.web.pax-web-compatibility-servlet31

Dave

On Friday, December 9, 2022 at 12:36:20 AM UTC-5 gr.gr...@gmail.com wrote:

> Hello
>
> The fragments are present in Pax Web 8+ like here: 
> https://github.com/ops4j/org.ops4j.pax.web/tree/web-8.0.14/pax-web-fragments
> They're (some of them) declared in special "pax-web-specs" feature:
>
> <feature name="pax-web-specs" description="Jakarta web APIs and related 
> bundle fragments adding osgi.contract capabilities" 
> version="${project.version}">
>   <details>
>     Crucial APIs needed by Pax Web. "Canonical" jakarta.* bundles are used 
> and Pax Web specific fragments
>     are adding osgi.contract headers.
>     This feature should be used if the custom Karaf distribution doesn't 
> provide relevant APIs from
>     system bundle (org.osgi.framework.system.packages[.extra])
>   </details>
>
>   <!-- Annotation API and osgi.contract=JavaAnnotation, versions 1.3, 1.2, 
> 1.1, 1.0 -->
>   <bundle 
> start-level="30">mvn:jakarta.annotation/jakarta.annotation-api/${dependency.jakarta.annotation-api}</bundle>
>   <bundle start-level="30" 
> start="false">mvn:org.ops4j.pax.web/pax-web-compatibility-annotation13/${project.version}</bundle>
>   <!-- EL API and osgi.contract=JavaEL, versions 3.0, 2.2, 2.1, 2.0, 1.0 
> -->
>   <bundle 
> start-level="30">mvn:jakarta.el/jakarta.el-api/${dependency.jakarta.el-api}</bundle>
>   <bundle start-level="30" 
> start="false">mvn:org.ops4j.pax.web/pax-web-compatibility-el2/${project.version}</bundle>
>   <!-- Servlet API and osgi.contract=JavaServlet, versions 4.0, 3.1, 3.0, 
> 2.6 -->
>   <bundle 
> start-level="30">mvn:jakarta.servlet/jakarta.servlet-api/${dependency.jakarta.servlet-api}</bundle>
>   <bundle start-level="30" 
> start="false">mvn:org.ops4j.pax.web/pax-web-compatibility-servlet31/${project.version}</bundle>
> </feature>
>
> kind regards
> Grzegorz Grzybek
>
> czw., 8 gru 2022 o 20:29 Dave Smith <dave....@candata.com> napisał(a):
>
>> What is the fragment bundle that adds the 3.1 . I am currently including 
>> the 4.0 and 3.0 javax.servlet. 
>>
>> This is the 4.0->  jakarta.servlet-api
>> And the 3.1 -> javax.servlet-api
>>
>> I am using 
>> org.ops4j.pax.web.pax-web-api
>> org.ops4j.pax.web.pax-web-extender-whiteboard
>> org.ops4j.pax.web.pax-web-jetty-bundle
>> org.ops4j.pax.web.pax-web-spi
>>
>> Dave
>>
>> On Thu, Dec 8, 2022 at 12:39 PM Grzegorz Grzybek <gr.gr...@gmail.com> 
>> wrote:
>>
>>> Hello
>>>
>>> First - your message was marked as spam (I clicked that it's not a spam).
>>> Second - that doesn't really matter that much. Jetty in Pax Web 8 is 
>>> still based on Servlet API 3.1 and Karaf features related to Pax Web 8 are 
>>> using Servlet API 4 with special fragment that adds 3.1 export to satisfy 
>>> Jetty.
>>>
>>> kind regards
>>> Grzegorz Grzybek
>>>
>>> wt., 6 gru 2022 o 19:54 dave....@candata.com <dave....@candata.com> 
>>> napisał(a):
>>>
>>>> Just downloaded 8.0.14 , it still has the same bad Manifest Entry
>>>>
>>>> On Monday, December 5, 2022 at 7:41:50 PM UTC-5 dave....@candata.com 
>>>> wrote:
>>>>
>>>>> In the manifest your servlet def 
>>>>>  javax.servlet.annotation;version="[3.1,5)"
>>>>>                                         
>>>>> javax.servlet.http;version="[3.1,5)"
>>>>>                                         javax.servlet;version="[3.1,5)"
>>>>>
>>>>> However you reference 
>>>>>
>>>>> https://javaee.github.io/javaee-spec/javadocs/javax/servlet/GenericFilter.html
>>>>>
>>>>> Which is only available in the 4.0 Servlet Spec
>>>>>
>>>>> Dave
>>>>>
>>>> -- 
>>>> -- 
>>>> ------------------
>>>> OPS4J - http://www.ops4j.org - op...@googlegroups.com
>>>>
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "OPS4J" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to ops4j+un...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/ops4j/66590dd1-7fe4-4d03-beb1-b16d48b31d50n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ops4j/66590dd1-7fe4-4d03-beb1-b16d48b31d50n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>>> -- 
>>> ------------------
>>> OPS4J - http://www.ops4j.org - op...@googlegroups.com
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "OPS4J" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to ops4j+un...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ops4j/CAAdXmhqNC9GidO1V6KG4QhHUT-4NB0gqhxTSQ2UoooUD302wrA%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/ops4j/CAAdXmhqNC9GidO1V6KG4QhHUT-4NB0gqhxTSQ2UoooUD302wrA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> -- 
>> ------------------
>> OPS4J - http://www.ops4j.org - op...@googlegroups.com
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OPS4J" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ops4j+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ops4j/CA%2BFCLu0FYN5vOx25fCq9UrLdxTxzWUob9E1SrxQPYLF8m8ShmQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/ops4j/CA%2BFCLu0FYN5vOx25fCq9UrLdxTxzWUob9E1SrxQPYLF8m8ShmQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ops4j+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/08260393-b43d-4d5b-8edd-c9b82297b5ean%40googlegroups.com.

Reply via email to