Thanks! I dit it.

Am Freitag, 14. Juli 2017 22:04:03 UTC+2 schrieb Achim Nierbeck:
>
> Hi, 
>
> we removed the jetty-all-server  bundle because it is no osgi bundle. 
>
> I just created your user in Jira, so go ahead and file your issue :)
>
> regards, Achim 
>
>
> 2017-07-14 13:40 GMT+02:00 Christian Kenfack Tenevo <[email protected] 
> <javascript:>>:
>
>> Since version 4.0.9 of the Karaf container the feature pax-web 
>> (org.ops4j.pax.web.pax-web-features) contains a list of jetty dependencies.
>> The jetty-deploy bundle is missing.
>> This bundle is needed for example to make configuration to support 
>> context xml deployment for enabling static resources.
>> The following configuration in the jetty.xml file will throw a class not 
>> def. error on the start of Karaf (or jetty)
>> {code}
>>  <Call name="addBean">
>>     <Arg>
>>       <New id="DeploymentManager" 
>> class="org.eclipse.jetty.deploy.DeploymentManager">
>>         <Set name="contexts">
>>           <Ref refid="Contexts" />
>>         </Set>
>>         <Call id="webappprovider" name="addAppProvider">
>>           <Arg>
>>             <New 
>> class="org.eclipse.jetty.deploy.providers.WebAppProvider">
>>               <Set name="monitoredDirName"><Property name="jetty.base" 
>> default="." />/etc/contexts</Set>
>>               <Set name="scanInterval">0</Set>
>>             </New>
>>           </Arg>
>>         </Call>
>>       </New>
>>     </Arg>
>>   </Call>
>> {/code}
>>
>> A possible fix is to add the missing dependency in the file features.xml 
>> of the pax-web feature definition (for example in pax-web 4.3.0 for karaf 
>> 4.0.9 and in pax-web 6.0.3 for karaf 4.1.1)
>> {code}
>> <bundle 
>> start-level="30">mvn:org.eclipse.jetty/jetty-deploy/${dependency.jetty.version}</bundle>
>> {/code}
>> or just make use of the {{jetty-all-server}} dependency like the pax-web 
>> version 3.2.9.  (in karaf 3.0.8)
>> {code}
>> <bundle 
>> start-level="30">mvn:org.eclipse.jetty.aggregate/jetty-all-server/${dependency.jetty.version</bundle>
>> {/code}
>>
>> Could some body help on this Issue? I can not create a Issue in Jira (no 
>> access)
>> Thanks for reply
>>
>> -- 
>> -- 
>> ------------------
>> OPS4J - http://www.ops4j.org - [email protected] <javascript:>
>>
>> --- 
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & 
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master 
>
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to