Found https://bugs.eclipse.org/bugs/show_bug.cgi?id=344067 and the 2 jetty specific header that can cater to my need ( Jetty-WarFragmentFolderPath and Jetty-WarPatchFragmentFolderPath ).
All is good now :) On Tue, Sep 9, 2014 at 4:45 PM, Heng Sin Low <heng...@gmail.com> wrote: > Hi Jan, > > I'm not talking about loading of resources from classpath here but > accessing static resources ( xml file, images etc ) that's contributed from > fragment bundle. So there's really nothing interesting from the fragment > manifest here. > > For e.g, the host bundle is deploy to the webapp context and the fragment > bundle contains the resource images/help.png, > http://localhost:8080/webapp/images/help.png give 404 on jetty but works > when the same setup is deploy to gemini web ( tomcat osgi ). > > > Regards, > Low > > On Tue, Sep 9, 2014 at 3:33 PM, Jan Bartel <j...@intalio.com> wrote: > >> Heng, >> >> Can you post the manifest of the fragment bundle? I would have thought >> that if the fragment exports the packages of the resources then it >> would be fine ... best if you post the manifest so we can see it for >> ourselves. >> >> thanks >> Jan >> >> On 9 September 2014 16:40, Heng Sin Low <heng...@gmail.com> wrote: >> > Hi all, >> > >> > I've been evaluating the embedding of tomcat ( gemini web ) and jetty >> within >> > equinox. All have went well with Jetty 9.2.2 except one issue: our web >> > application have not been able to access resources (xml files, images, >> etc ) >> > contributed through OSGi fragment bundle where it have been tested >> working >> > with the tomcat setup. >> > >> > Is loading of resources from OSGi fragment bundle something not yet >> > supported by jetty osgi or is that a misconfiguration on my end ? >> > >> > Regards, >> > Low >> > >> > _______________________________________________ >> > jetty-users mailing list >> > jetty-users@eclipse.org >> > To change your delivery options, retrieve your password, or unsubscribe >> from >> > this list, visit >> > https://dev.eclipse.org/mailman/listinfo/jetty-users >> >> >> >> -- >> Jan Bartel <j...@intalio.com> >> www.webtide.com >> 'Expert Jetty/CometD developer,production,operations advice' >> _______________________________________________ >> jetty-users mailing list >> jetty-users@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/jetty-users >> > >
_______________________________________________ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users