[Lift] Re: [Jersey] jersey as filter

2009-03-09 Thread Meredith Gregory
Paul, Many thanks for your note. i've been endeavoring to run Jersey and Lift in a filter chain. i was not seeing the requests passed on into Lift. Your explanation fits. What i really need is httpreq -- jersey -- lift -- jersey -- httpresp i can just hack this up myself, or i can log an issue

[Lift] Re: [Jersey] jersey as filter

2009-03-04 Thread Viktor Klang
Greg, have you tried Jersey completely standalone and verified that it's working? Cheers, Viktor On Wed, Mar 4, 2009 at 12:08 AM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, et al, Well, i've scoped things down to just running the Jersey helloworld-webapp sample in jetty with

[Lift] Re: [Jersey] jersey as filter

2009-03-04 Thread Meredith Gregory
Viktor, Thanks for your note. i got things more or less working. See this thread: jersey and lift side-by-side + request for link to URL rewrite exampleBest wishes, --greg On Wed, Mar 4, 2009 at 1:35 AM, Viktor Klang viktor.kl...@gmail.com wrote: Greg, have you tried Jersey completely

[Lift] Re: [Jersey] jersey as filter

2009-03-04 Thread Viktor Klang
Awesome Greg, I'm sorry I wasn't of much help :( On Wed, Mar 4, 2009 at 5:50 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, Thanks for your note. i got things more or less working. See this thread: jersey and lift side-by-side + request for link to URL rewrite exampleBest

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Viktor Klang
Unfortunately, https://jersey.dev.java.net/source/browse/*checkout*/jersey/tags/jersey-1.0.1/api/jersey/index.html says: public class *ServletContainer*extends javax.servlet.http.HttpServletimplements ContainerListener

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Meredith Gregory
Viktor, Thanks. Jersey-1.0.2 *does* implement Filter. You can see that in the sources jar and if you include it in a scala/lift project and reflect it does the right thing. Best wishes, --greg On Tue, Mar 3, 2009 at 1:46 AM, Viktor Klang viktor.kl...@gmail.com wrote: Unfortunately,

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Viktor Klang
Greg, Great, then it was just me finding the wrong API docs online :) But the real question is: Does it work? :) Cheers, Viktor On Tue, Mar 3, 2009 at 4:00 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, Thanks. Jersey-1.0.2 *does* implement Filter. You can see that in the

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Meredith Gregory
Viktor, The combined servlet is eating http requests, but it's not processing them correctly. i'm still not sure about all the Jersey path stuff. i'm the process of debugging. Best wishes, --greg On Tue, Mar 3, 2009 at 7:04 AM, Viktor Klang viktor.kl...@gmail.com wrote: Greg, Great, then

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Meredith Gregory
Viktor, et al, Well, i've scoped things down to just running the Jersey helloworld-webapp sample in jetty with Jersey as the ServletContainer, rather than a Filter. Even that is displaying the same behavior where the server is eating the requests, but it's not hitting the resource class get

[Lift] Re: [Jersey] jersey as filter

2009-03-02 Thread Alex Boisvert
My guess would be that you have duplicate servlet-api-2.x.jar in your classloading hierarchy... can you check and remove any servlet.jar under your webapp WEB-INF/lib directory? alex On Mon, Mar 2, 2009 at 4:45 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Alex, Thanks for the

[Lift] Re: [Jersey] jersey as filter

2009-03-02 Thread Alex Boisvert
Greg, Something must be messed up in your configuration Here's what I get: Welcome to Scala version 2.7.3.final (Java HotSpot(TM) Server VM, Java 1.6.0_10). Type in expressions to have them evaluated. Type :help for more information. scala new

[Lift] Re: [Jersey] jersey as filter

2009-03-02 Thread Meredith Gregory
Alex, Thanks for all your help. i switched versions in the pom.xml (to 1.0.2 which is the most recent on the sun repo that is not labeled SNAPSHOT) and i get the right values from reflecting (BTW -- has anybody written a little lift browser app that hooks into reflection so that one can

[Lift] Re: [Jersey] jersey as filter

2009-03-02 Thread Meredith Gregory
Lifted, Well, at least i've got jetty launching and running with both filters. See the web.xml that worked below. Best wishes, --greg ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;