With Pax Runner 1.2.0, so Felix 2.0.0, I have the same behaviour : it
seems my jetty configuration is not used and I can see the log
"configure using bundleresource://54/jetty.xml"
I can see my Fragment in "ps" as Installed (as I can see it with the
previous version)
A log message is displayed "Auto-properties start:
org.osgi.framework.BundleException: Fragment bundles can
not be started." (as I can see it with the previous version) But I think
it's normal.
Alin Dreghiciu a écrit :
It can be that Felix 1.8.1 does not support fragments very well. I
suggest to try it with equinox or download latest pax runner and try
it with Felix 2.0.0
As they say (Felix) now tehy support fully the fragments.
Keep me informed.
On Tue, Sep 29, 2009 at 7:28 PM, Stéphane Jeanjean
<[email protected] <mailto:[email protected]>>
wrote:
It seems to be the same with this value :(
Alin Dreghiciu a écrit :
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]
<mailto:[email protected]>
<mailto:[email protected]
<mailto:[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] <mailto:[email protected]>
<mailto:[email protected] <mailto:[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] <mailto:[email protected]>
http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________
general mailing list
[email protected] <mailto:[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
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general