[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jetty-dev] Tld support for Jetty in OSGi
- From: Jan Bartel <janb@xxxxxxxxxxx>
- Date: Tue, 6 Mar 2012 10:14:41 +1100
- Authentication-results: mr.google.com; spf=pass (google.com: domain of email@example.com designates 10.112.25.226 as permitted sender) firstname.lastname@example.org
- Delivered-to: email@example.com
The problem is no doubt due to the change of glassfish jasper versions
between 7.4 and 7.5. We need to be able to satisfy glassfish jasper's
requirements for the location of the tlds, some of which are required
to be on the container's classpath. So we need to meld osgi's concept
of classpath with glassfish jasper's expectations.
I'm a mere osgi novice, but I'm happy to take a look at the code and
see if I can improve things. I don't really have an environment where
I can easily test - if I make some code changes do you have
environment where we could test them out??
On 6 March 2012 03:21, Chris Frost <frostc@xxxxxxxxxx> wrote:
> I've upgraded from 7.4.x to 7.6.x and support for the standard tag libraries appears to have gone away. This was previously working as the 'org.eclipse.jetty.osgi.boot.jsp' fragment imported them in from the 'org.apache.taglibs.standard.glassfish' bundle. Looking at the wirings this is still the case but when trying to display a jsp page using tag libs it now fails with an exception saying the URL associated with one of the tag libs can't be resolved. For example "http://java.sun.com/jsp/jstl/core".
> Ideally we could get the 'Require-TldBundle' header working so that each application can specifically it's Tld bundles instead of a server wide setup or depending on fragments of the osgi boot bundle. This has been a problem for a while and is documented in bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=349009 with a zip of Virgo to recreate. It's a few versions out of date but nothing appears to have changed in the behaviour. It appears the documentation on how to use this header never got written so I've just followed the config provided in bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=306971 but enabling it just breaks something very basic and Jetty can't even find static html files and there is nothing in the log saying it has had any problems. I've tried debugging through this but I'm not sure where the entry point is for http requests and I can't spot anything obvious in the code that processes the configuration.
> While the standard tag libraries are still working on the 8.x line the 'Require-TldBundle' header is broken on both 8.x and 7.x
> Christopher Frost - VMware
> Virgo from EclipseRT
> jetty-dev mailing list