Hi Jan, Here it goes - http://pastebin.com/PMbP2z9n
Also, since the jetty jsp fragment 2.3.3 is working fine for me, does I miss anything if I stick with that instead ? Just notice that there is setting of boot delegation and system packages in the jetty osgi unit testing code ( wasn't mention in the osgi doc ) , is that a must to get the whole thing working ? Regards, Low On Thu, Sep 11, 2014 at 9:22 AM, Jan Bartel <[email protected]> wrote: > Hi Heng, > > How about you post the output of a console "status" command from > eclipse so I can see which bundles you have deployed and their > resolution status? > > > > On 11 September 2014 11:01, Heng Sin Low <[email protected]> wrote: > ... > > 1. The jstl related jar listed in the osgi documentation is different > from > > what is being use in the 9.2.3 distribution. Is that because that's the > only > > combination that will work for the OSGi environment ? > > Ah. The names of the jstl jars look a bit mangled in the > documentation. Darn. I'll have to fix that up. They should be: > > org.eclipse.jetty.orbit:javax.servlet.jsp.jstl:1.2.0.v201105211821 > org.glassfish.web:javax.servlet.jsp.jstl:1.2.2 > > Note that these are the glassfish jstl jars. I haven't tested against > the apache jstl jars yet - I'll take a look at their manifests and see > if they are compatible. > > > 2. I've been testing this against the equinox 3.10 ( eclipse luna ) > > environment. Perhaps that's not a supported environment yet ? > > Its been tested on kepler and luna. > > > > Regarding the updated doc, I think one missing piece of information is > which > > bundle needs to be set as auto start. > > I'm deploying this using the pax unit test environment for osgi and > the default there seems to be to start all bundles that aren't > fragments. Which bundle are you needing to set autostart on?? > > thanks > Jan > > > > > Thanks. > > > > Regards, > > > > Low > > > > > > On Thu, Sep 11, 2014 at 6:08 AM, Jan Bartel <[email protected]> wrote: > >> > >> Hi Low, > >> > >> The doco is now updated and online: > >> https://www.eclipse.org/jetty/documentation/9.2.3.v20140905/index.html > >> > >> cheers > >> Jan > >> > >> On 10 September 2014 17:53, Jan Bartel <[email protected]> wrote: > >> > Hi Low, > >> > > >> > Actually, I'm working on it as we speak. > >> > > >> > If you take a look in the jetty sources at the > >> > TestJettyOSGiBootWithAnnotations class (and also the superclass > >> > TestJettyOSGiBootCore), it will help get you started as to which jars > >> > you need to deploy. Here's a link to the src: > >> > > >> > > https://github.com/eclipse/jetty.project/blob/master/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithAnnotations.java > >> > > >> > In addition to the standard jetty jars, for apache-jsp use: > >> > > >> > org.mortbay.jasper:apache-el:8.0.9.M3 > >> > org.mortbay.jasper:apache-jsp:8.0.9.M3 > >> > org.eclipse.jetty:apache-jsp:9.2.3 > >> > the usual jstl api jar > >> > the usual jstl impl jar > >> > the usual jdt jar > >> > you'll need all of the recommended jars for annotations as per the > >> > current documentation > >> > take out any jetty-schema jar you have and replace it with the > >> > org.eclipse.jetty.toolchain:jetty-osgi-servlet-api:3.1.M0 > >> > > >> > > >> > Hopefully this will point you in the right direction. > >> > > >> > I should have the doc updated shortly and pushed up to the > >> > documentation page. I'll let you know. > >> > > >> > Jan > >> > > >> > On 10 September 2014 17:12, Heng Sin Low <[email protected]> wrote: > >> >> Hi Jan, > >> >> > >> >> I can only find the setup documentation ( > >> >> > >> >> > http://www.eclipse.org/jetty/documentation/current/framework-jetty-osgi.html > >> >> ) for the grassfish jsp engine. Where can I find the documentation > for > >> >> the > >> >> setup of the apache jsp engine for 9.2.3 ? The jetty-jsp-fragment is > >> >> always > >> >> working for me but I couldn't get the apache jsp engine up and > running > >> >> and > >> >> without any documentation, it is always a struggle to know whether > I've > >> >> miss > >> >> anything. > >> >> > >> >> Regards, > >> >> Low > >> >> > >> >> On Wed, Sep 10, 2014 at 12:04 PM, Jan Bartel <[email protected]> > wrote: > >> >>> > >> >>> And for OSGi users out there, please note that with 9.2.3 we swapped > >> >>> over to using apache jsp (jasper 8.0.9), the same as we use for the > >> >>> distribution. > >> >>> > >> >>> cheers > >> >>> Jan > >> >>> > >> >>> On 10 September 2014 02:50, Jesse McConnell > >> >>> <[email protected]> > >> >>> wrote: > >> >>> > We are pleased to announce the availability of Jetty 9.2.3, Jetty > >> >>> > 8.1.16 and Jetty 7.6.16! > >> >>> > > >> >>> > The Jetty 9 release is a standard point release with 25 total > issues > >> >>> > resolved. The Jetty 7 and Jetty 8 releases continue to be > released > >> >>> > in > >> >>> > lockstep with 3 and 7 issues resolved respectively. > >> >>> > > >> >>> > We encourage everyone using Jetty 9.2.2 to update when they get > the > >> >>> > chance. Additionally we encourage anyone using Jetty 7 and 8 to > >> >>> > update as well, ideally to Jetty 9. We have been clear for some > >> >>> > time > >> >>> > now that public support for Jetty 7 and 8 will dry up on the > mailing > >> >>> > lists over time and our current plans are to cease maintenance > >> >>> > releases for anything outside of a security vulnerability for > Jetty > >> >>> > 7 > >> >>> > and 8 entirely at years end. > >> >>> > > >> >>> > If you haven't already, now is the time to plan your migration to > >> >>> > Jetty > >> >>> > 9. > >> >>> > > >> >>> > The issues resolved are listed below. > >> >>> > > >> >>> > Distribution Downloads: > >> >>> > > >> >>> > - http://download.eclipse.org/jetty/ > >> >>> > > >> >>> > The artifacts are also available in the Global Central Repository. > >> >>> > > >> >>> > - http://central.maven.org/ > >> >>> > > >> >>> > Eclipse P2 repositories are available as well. > >> >>> > > >> >>> > If you find an issue with this release you can open a bug through > >> >>> > the > >> >>> > guided bugzilla page located here: > >> >>> > > >> >>> > - > >> >>> > > >> >>> > > https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty&format=guided > >> >>> > > >> >>> > Documentation can be found at our documentation hub > >> >>> > > >> >>> > - https://www.eclipse.org/jetty/documentation/ > >> >>> > > >> >>> > Finally, a reminder that both dev and prod support are offered > >> >>> > through > >> >>> > Webtide > >> >>> > (www.webtide.com), feel free to contact us through that site or > ping > >> >>> > me directly if you are interested in learning more. Documentation > >> >>> > PDF's are available for direct download on the webtide.com > website > >> >>> > as > >> >>> > well. > >> >>> > > >> >>> > cheers, > >> >>> > The Jetty Development Team > >> >>> > > >> >>> > > >> >>> > jetty-9.2.3.v20140905 - 05 September 2014 > >> >>> > + 347110 renamed class transformer methods > >> >>> > + 411163 Add embedded jetty code example with JSP enabled > >> >>> > + 435322 Added a idleTimeout to the SharedBlockerCallback > >> >>> > + 435533 Handle 0 sized async gzip > >> >>> > + 435988 ContainerLifeCycle: beans never stopped on remove > >> >>> > + 436862 Update jetty-osgi to asm-5 and spifly-1.0.1 > >> >>> > + 438500 Odd NoClassDef errors when shutting down the > >> >>> > jetty-maven-plugin via > >> >>> > the stop goal > >> >>> > + 440255 ensure 500 is logged on thrown Errors > >> >>> > + 441073 isEarlyEOF on HttpInput > >> >>> > + 441475 org.eclipse.jetty.server.ResourceCache exceptions under > >> >>> > high > >> >>> > load > >> >>> > + 441479 Jetty hangs due to deadlocks in session manager > >> >>> > + 441649 Update to jsp and el Apache Jasper 8.0.9 > >> >>> > + 441756 Ssl Stackoverflow on renegotiate > >> >>> > + 441897 Fixed etag handling in gzipfilter > >> >>> > + 442048 fixed sendRedirect %2F encoding > >> >>> > + 442383 Improved insufficient threads message > >> >>> > + 442628 Update example xml file for second server instance to > >> >>> > extract > >> >>> > wars > >> >>> > + 442642 Quickstart generates valid XML > >> >>> > + 442759 Allow specific ServletContainerInitializers to be > excluded > >> >>> > + 442950 Embedded Jetty client requests to localhost hangs with > >> >>> > high > >> >>> > cpu usage > >> >>> > (NIO OP_CONNECT Solaris/Sparc). > >> >>> > + 443049 Improved HttpParser illegal character messages > >> >>> > + 443158 Fixed HttpOutput spin > >> >>> > + 443172 web-fragment.xml wrongly parsed for applications running > >> >>> > in > >> >>> > serlvet > >> >>> > 2.4 mode > >> >>> > + 443231 java.lang.NullPointerException on scavenge scheduling > when > >> >>> > session id > >> >>> > manager declared before shared scheduler > >> >>> > + 443262 Distinguish situation where jetty looks for tlds in > >> >>> > META-INF > >> >>> > but > >> >>> > finds none vs does not look > >> >>> > > >> >>> > > >> >>> > jetty-8.1.16.v20140903 - 03 September 2014 > >> >>> > + 409788 Large POST body causes java.lang.IllegalStateException: > >> >>> > SENDING => > >> >>> > HEADERS. > >> >>> > + 433689 Evict idle HttpDestinations from client > >> >>> > + 433802 check EOF in send1xx > >> >>> > + 438996 Scavenger-Timer in HashSessionManager can die because of > >> >>> > IllegalStateException from getMaxInactiveInterval > >> >>> > + 442048 fixed sendRedirect %2F encoding > >> >>> > + 442839 highly fragmented websocket messages can result in > corrupt > >> >>> > binary > >> >>> > messages > >> >>> > > >> >>> > > >> >>> > jetty-7.6.16.v20140902 - 02 September 2014 > >> >>> > + 409788 Large POST body causes java.lang.IllegalStateException: > >> >>> > SENDING => > >> >>> > HEADERS. > >> >>> > + 433802 check EOF in send1xx > >> >>> > + 442839 highly fragmented websocket messages can result in > corrupt > >> >>> > binary > >> >>> > messages > >> >>> > > >> >>> > > >> >>> > -- > >> >>> > jesse mcconnell > >> >>> > [email protected] > >> >>> > > >> >>> > > >> >>> > > --------------------------------------------------------------------- > >> >>> > To unsubscribe from this list, please visit: > >> >>> > > >> >>> > http://xircles.codehaus.org/manage_email > >> >>> > > >> >>> > > >> >>> > >> >>> > >> >>> > >> >>> -- > >> >>> Jan Bartel <[email protected]> > >> >>> www.webtide.com > >> >>> 'Expert Jetty/CometD developer,production,operations advice' > >> >>> _______________________________________________ > >> >>> jetty-users mailing list > >> >>> [email protected] > >> >>> 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 > >> >> [email protected] > >> >> To change your delivery options, retrieve your password, or > unsubscribe > >> >> from > >> >> this list, visit > >> >> https://dev.eclipse.org/mailman/listinfo/jetty-users > >> > > >> > > >> > > >> > -- > >> > Jan Bartel <[email protected]> > >> > www.webtide.com > >> > 'Expert Jetty/CometD developer,production,operations advice' > >> > >> > >> > >> -- > >> Jan Bartel <[email protected]> > >> www.webtide.com > >> 'Expert Jetty/CometD developer,production,operations advice' > >> _______________________________________________ > >> jetty-users mailing list > >> [email protected] > >> 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 > > [email protected] > > To change your delivery options, retrieve your password, or unsubscribe > from > > this list, visit > > https://dev.eclipse.org/mailman/listinfo/jetty-users > > > > -- > Jan Bartel <[email protected]> > www.webtide.com > 'Expert Jetty/CometD developer,production,operations advice' > _______________________________________________ > jetty-users mailing list > [email protected] > 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 [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
