We have changed the bundle symbolic names in 0.7.0 as we had refactored  the
way we packaged Pax Web. So you will have to have:

Fragment-Host: org.ops4j.pax.web.pax-web-jetty-bundle

I updated also the documentation page http://wiki.ops4j.org//x/jwK4.

HTH


Tue, Sep 29, 2009 at 4:30 PM, Stéphane Jeanjean <
[email protected]> wrote:

> Hello,
>
> I try to configure Jetty which is embeded in Pax Web by using a fragment.
> But it seems my configuration is not read.
> I'm using Pax Runner (1.1.1) with the web profile (Pax Web 0.7) and Felix
> (1.8.1).
> I can see "starting JettyServerImpl{}"  in the logs, but "configure using
> bundleresource://54/jetty.xml" is never displayed :(
>
> Here is my manifest :
> Manifest-Version: 1.0
> Fragment-Host: org.ops4j.pax.web.pax-web-service
> Bundle-Version: 0.1
> Bundle-Name: My Jetty Configuration
> Bundle-ManifestVersion: 2
> Bundle-SymbolicName: oa3pmngtjettyconfig
> Import-Package: org.mortbay.jetty.nio
>
>
>
> Here is my jetty.xml in the root of my jar file :
> <Configure id="Server" class="org.mortbay.jetty.Server">
>
>  <Call name="addConnector">
>   <Arg>
>     <New class="org.mortbay.jetty.nio.SelectChannelConnector">
>       <Set name="forwarded">true</Set>
>       <Set name="forwardedHostHeader">Host</Set>
>     </New>
>   </Arg>
>  </Call>
>
> </Configure>
>
>
> Any idea ?
>
> Thanks,
>
> Stéphane
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Alin Dreghiciu
Software Developer
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.blogspot.com
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to