Re: [jetty-users] org.eclipse.jetty.http.HttpField

2020-10-30 Thread Nils Kilden-Pedersen
 On Fri, Oct 30, 2020 at 3:45 AM Greg Wilkins wrote: > > So wrote this test code: > > public void testEtag() > { > HttpFields fields = new HttpFields(); > fields.add("ETag", "W/\"1\",W/2"); > fields.add("ETag", "W/\"3\""); > >

Re: [jetty-users] org.eclipse.jetty.http.HttpField

2020-10-29 Thread Nils Kilden-Pedersen
oted-string either, as it > doesn't start with DQUOTE. > > If your example was ... > > If-Match: "W/ab35ef1bc78", "W/5be73a9c523" > > Then you would satisfy the quoted-string rules. (as the "/" is %x2F and > within the allowed qdtext definition).

Re: [jetty-users] org.eclipse.jetty.http.HttpField

2020-10-29 Thread Nils Kilden-Pedersen
al case handling for > field-value in the spec is `Set-Cookie`. > See: https://tools.ietf.org/html/rfc7230#section-3.2.2 > > - Joakim > Joakim Erdfelt / joa...@webtide.com > > > On Thu, Oct 29, 2020 at 9:47 AM Nils Kilden-Pedersen > wrote: > >> Yes, that's my

Re: [jetty-users] org.eclipse.jetty.http.HttpField

2020-10-29 Thread Nils Kilden-Pedersen
Yes, that's my point. ETags *require* quotes, but they're being removed. On Thu, Oct 29, 2020 at 9:25 AM Tamás Cservenák wrote: > To me it seems does requite DQUOTE around it... > https://tools.ietf.org/html/rfc7232#section-2.3 > > Thanks > T > > On Thu, Oct 29, 2020 a

[jetty-users] org.eclipse.jetty.http.HttpField

2020-10-29 Thread Nils Kilden-Pedersen
After debugging for a weird problem the entire day yesterday, I finally figured out why my ETag value was losing its quotes. For some reason, the innocently sounding HttpField.getValues apparently (needlessly?) appears to assume that comma separated header values might be quoted (not sure why, I

Re: [jetty-users] Eclipse RCP - Jetty WebSocket server

2020-06-01 Thread Nils Kilden-Pedersen
The websocket classes are in the Maven group org.eclipse.jetty.websocket. https://search.maven.org/search?q=g:org.eclipse.jetty.websocket On Sun, May 24, 2020 at 12:23 PM Johan Van Noten wrote: > My intent: > > I have an existing Eclipse RCP application. > > I would like to interact with it

Re: [jetty-users] Async filters

2019-11-14 Thread Nils Kilden-Pedersen
roblem with getting gRPC to work natively in browsers? > > Joakim Erdfelt / joa...@webtide.com > > > On Tue, Nov 12, 2019 at 8:26 AM Nils Kilden-Pedersen > wrote: > >> I did try that, but it failed: >> >> java.lang.IllegalStateException: s=HANDLING rs

Re: [jetty-users] Async filters

2019-11-14 Thread Nils Kilden-Pedersen
On Tue, Nov 12, 2019 at 8:44 AM Simone Bordet wrote: > Hi, > > On Tue, Nov 12, 2019 at 3:26 PM Nils Kilden-Pedersen > wrote: > > > > I did try that, but it failed: > > > > java.lang.IllegalStateException: s=HANDLING rs=BLOCKING os=OPEN is=RE

[jetty-users] Async filters

2019-11-11 Thread Nils Kilden-Pedersen
I can't seem to find much information on how to code async filters. Basically, how do I know when the filter chain has completed? I need to set a cookie, but only at the very end of the request. Thanks, ___ jetty-users mailing list

Re: [jetty-users] Odd EventSource behavior

2019-04-27 Thread Nils Kilden-Pedersen
Thanks, done. https://github.com/eclipse/jetty.project/issues/3604 On Fri, Apr 26, 2019 at 1:53 PM Simone Bordet wrote: > Hi, > > On Fri, Apr 26, 2019 at 4:15 PM Nils Kilden-Pedersen > wrote: > > > > Sure. Link? > > https://github.com/eclipse/jetty.project

Re: [jetty-users] Odd EventSource behavior

2019-04-26 Thread Nils Kilden-Pedersen
Sure. Link? On Sat, Apr 20, 2019 at 4:36 AM Simone Bordet wrote: > > Can you please file an issue with the content of your first email, so > that we have your analysis in the issue? > > Thanks! > > -- > Simone Bordet > > http://cometd.org > http://webtide.com > Developer advice, training,

[jetty-users] QUIC

2018-12-19 Thread Nils Kilden-Pedersen
Any plans to support QUIC, or HTTP/3? ___ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users

Re: [jetty-users] URL Rewrite, including http->https

2017-10-19 Thread Nils Kilden-Pedersen
Take a look at org.eclipse.jetty.server.handler.SecuredRedirectHandler ​ On Fri, Oct 13, 2017 at 4:14 PM, Pankaj K Garg wrote: > Hi, > > I'm looking for a simple way of re-directing all HTTP traffic to HTTPS, > and all non-www.domain.com to www.domain.com. > > From Googling

Re: [jetty-users] Async servlets without context broken in 9.4.7

2017-09-21 Thread Nils Kilden-Pedersen
context, and we do make effort >> in other parts of the code to handle no context. So we will fix this >> if you open an issue for it, that will help remind us to do so. >> >> cheers >> >> >> On 21 September 2017 at 06:22, Nils Kilden-Pedersen <nil...@gmail.com

Re: [jetty-users] Async servlets without context broken in 9.4.7

2017-09-20 Thread Nils Kilden-Pedersen
Seems I’m able to get this working by using a ServletContextHandler instead of ServletHandler, which I’m currently using, and also instead of going full web-app using WebAppContextHandler. ​ On Wed, Sep 20, 2017 at 2:51 PM, Nils Kilden-Pedersen <nil...@gmail.com>

Re: [jetty-users] Async servlets without context broken in 9.4.7

2017-09-20 Thread Nils Kilden-Pedersen
gt; A bit drastic to run without a context just to avoid the "NO JSP Support > for ..." message. > > It's easy enough to provide your own webdefault.xml that has no jsp > servlet entry to avoid that message. > > > Joakim Erdfelt / joa...@webtide.com > > On Wed, Sep 2

[jetty-users] Async servlets without context broken in 9.4.7

2017-09-20 Thread Nils Kilden-Pedersen
Not sure if this will be considered a bug or not. For a long time I've been using Jetty embedded without a Context (primarily because I don't want the JSP warning), and using async servlets. A change in 9.4.7 broke this: https://github.com/eclipse/jetty.project/commit/

Re: [jetty-users] Websockets being disconnected - please help

2015-05-20 Thread Nils Kilden-Pedersen
WebSockets, like any TCP connection, is prone to timeouts of various sorts, partially depending on your network. One way to handle this, is to send out periodic heartbeats. Our setup sends a single byte every 10 seconds to verify the connection. Beyond that, I believe there's some Jetty timeout

Re: [jetty-users] request.available() == 0 in Servlet implementation

2015-02-06 Thread Nils Kilden-Pedersen
Just saw Joakim beat me by 12 minutes. Damn you Gmail for your slow updates. On Fri, Feb 6, 2015 at 9:20 AM, Nils Kilden-Pedersen nil...@gmail.com wrote: The docs for available states that it’s “*an estimate of the number of bytes that can be read (or skipped over) from this input stream

Re: [jetty-users] request.available() == 0 in Servlet implementation

2015-02-06 Thread Nils Kilden-Pedersen
The docs for available states that it’s “*an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream*“, so that should be expected. Assuming your servlet is async, you should probably call

Re: [jetty-users] Jetty 9 Proxy

2014-10-09 Thread Nils Kilden-Pedersen
- cometd.org On Wed, Oct 8, 2014 at 11:35 AM, Nils Kilden-Pedersen nil...@gmail.com wrote: On Wed, Oct 8, 2014 at 1:26 PM, Joakim Erdfelt joa...@intalio.com wrote: While its true that request / thread processing on ProxyServlet is async. The I/O isn't. The AsyncProxyServlet uses servlet Async I

Re: [jetty-users] Jetty 9 Proxy

2014-10-08 Thread Nils Kilden-Pedersen
On Wed, Oct 8, 2014 at 1:26 PM, Joakim Erdfelt joa...@intalio.com wrote: While its true that request / thread processing on ProxyServlet is async. The I/O isn't. The AsyncProxyServlet uses servlet Async I/O techniques properly and also ties together the I/O between the servlet and client

Re: [jetty-users] Continuous stopping/starting of WebAppContext

2014-05-12 Thread Nils Kilden-Pedersen
, Jan Bartel j...@intalio.com wrote: Nils, Try: http://www.eclipse.org/jetty/documentation/current/hot-deployment.html Jan On 11 May 2014 23:12, Nils Kilden-Pedersen nil...@gmail.com wrote: I’ve noticed that, during development, whenever I save a file, e.g. a Javascript file, Jetty restarts

Re: [jetty-users] Continuous stopping/starting of WebAppContext

2014-05-12 Thread Nils Kilden-Pedersen
select more files to ignore for redeployment (ie .html, .css, js etc etc) ... Jan On 11 May 2014 23:12, Nils Kilden-Pedersen nil...@gmail.com wrote: I’ve noticed that, during development, whenever I save a file, e.g. a Javascript file, Jetty restarts the context. In the logs it looks like

Re: [jetty-users] Continuous stopping/starting of WebAppContext

2014-05-12 Thread Nils Kilden-Pedersen
, Nils Kilden-Pedersen nil...@gmail.com wrote: On Mon, May 12, 2014 at 9:06 AM, Jan Bartel j...@intalio.com wrote: Nils, For development, many people choose to use maven. In which case, they use the jetty-maven-plugin, which is specifically set up to do hot replacement of files. Static

Re: [jetty-users] Continuous stopping/starting of WebAppContext

2014-05-12 Thread Nils Kilden-Pedersen
enable recursion to trigger class file changes? (BTW, I'm not using a war for development) Jan On 12/05/2014, Nils Kilden-Pedersen nil...@gmail.com wrote: On Mon, May 12, 2014 at 10:07 AM, Jan Bartel j...@intalio.com wrote: Nils, If you're using the jetty-maven-plugin, you

[jetty-users] Continuous stopping/starting of WebAppContext

2014-05-11 Thread Nils Kilden-Pedersen
I’ve noticed that, during development, whenever I save a file, e.g. a Javascript file, Jetty restarts the context. In the logs it looks like this: 302582 [Scanner-0] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped

[jetty-users] MIME types

2014-05-11 Thread Nils Kilden-Pedersen
I recently upgraded to 9.1.5 on my dev box and just noticed that all my .css and .js files are being served as text/html. I then checked the webdefault.xml and could see that the usual MIME mappings are moved to a mime.properties file, supposedly in the org.eclipse.jetty.server.jar file, however

Re: [jetty-users] getContextPath returns null

2014-04-23 Thread Nils Kilden-Pedersen
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433321 On Thu, Apr 17, 2014 at 8:49 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: Should I open a bug report? On Tue, Apr 15, 2014 at 11:36 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: Sorry about the delay. I tried this on 9.1.4

Re: [jetty-users] getContextPath returns null

2014-04-22 Thread Nils Kilden-Pedersen
Jan, can you reproduce with what I provided? On Sun, Apr 6, 2014 at 8:06 PM, Jan Bartel j...@intalio.com wrote: Hi Nils, Can you make a really simple test that reproduces? regards Jan On 6 April 2014 04:18, Nils Kilden-Pedersen nil...@gmail.com wrote: I suspect this is a race

Re: [jetty-users] getContextPath returns null

2014-04-18 Thread Nils Kilden-Pedersen
on the async context...or try asyncContext.getServletRequest().getContextPath(); though not sure that should work for that use case -- jesse mcconnell jesse.mcconn...@gmail.com On Thu, Apr 17, 2014 at 8:49 AM, Nils Kilden-Pedersen nil...@gmail.com wrote: Should I open a bug report? On Tue, Apr

Re: [jetty-users] getContextPath returns null

2014-04-17 Thread Nils Kilden-Pedersen
Should I open a bug report? On Tue, Apr 15, 2014 at 11:36 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: Sorry about the delay. I tried this on 9.1.4 and got the same problem. This servlet: @WebServlet(asyncSupported=true, urlPatterns={/hello})public class MyServlet extends

Re: [jetty-users] getContextPath returns null

2014-04-15 Thread Nils Kilden-Pedersen
? regards Jan On 6 April 2014 04:18, Nils Kilden-Pedersen nil...@gmail.com wrote: I suspect this is a race condition related to async. If the Request object (or by extension HttpConnection), it looks like the context path (and other mutable variables) are being set/reset to null, possibly

Re: [jetty-users] getContextPath returns null

2014-04-15 Thread Nils Kilden-Pedersen
BTW, the sleep doesn't seem to affect this one way or the other. On Tue, Apr 15, 2014 at 11:36 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: Sorry about the delay. I tried this on 9.1.4 and got the same problem. This servlet: @WebServlet(asyncSupported=true, urlPatterns={/hello})public

Re: [jetty-users] getContextPath returns null

2014-04-05 Thread Nils Kilden-Pedersen
. Can you reliably reproduce with the test webapp? Jan On 5 April 2014 14:05, Nils Kilden-Pedersen nil...@gmail.com wrote: When running in the root context, request.getContextPath() returns null rather than as expected. http://docs.oracle.com/javaee/6/api/javax/servlet/http

Re: [jetty-users] getContextPath returns null

2014-04-05 Thread Nils Kilden-Pedersen
this. On Sat, Apr 5, 2014 at 9:00 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: Here are some characteristics of my app: - Jetty 9.1.2 - Windows 8.1, haven’t yet tried on Linux (probably not relevant) - App is a folder in webapps named ROOT - There’s no xml descriptor

[jetty-users] getContextPath returns null

2014-04-04 Thread Nils Kilden-Pedersen
When running in the root context, request.getContextPath() returns nullrather than as expected. http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getContextPath( ) This is on 9.1.2. ___ jetty-users mailing list

[jetty-users] Bug in AsyncGzipFilter

2014-03-15 Thread Nils Kilden-Pedersen
We just hit this and I'm unsure how to work around it (short of disabling gzipping). https://bugs.eclipse.org/bugs/show_bug.cgi?id=423392 What's the status? Last question asks if the fix was indeed included in 9.1.2, but it went unanswered. ___

Re: [jetty-users] is hot re-deployment without errors possible?

2014-03-15 Thread Nils Kilden-Pedersen
Whether or not it should be seamless, 404 seems infinitely worse than 500. On Fri, Mar 14, 2014 at 8:56 AM, Robert Nikander rob.nikan...@gmail.comwrote: Upgrading to Jetty 9.1.3 fixed the NullPointerExceptions. But now, instead of the 500 error, I get a 404 not found error for a second while

Re: [jetty-users] SPDY not working

2014-02-03 Thread Nils Kilden-Pedersen
On Mon, Feb 3, 2014 at 5:44 PM, Petar Tahchiev paranoia...@gmail.comwrote: I just tested it and I see the same result :( Do you know where is the table with JVM version - npn boot version. http://www.eclipse.org/jetty/documentation/current/npn-chapter.html#npn-versions I will try to test

Re: [jetty-users] NPN for JRE 1.7.0_51 with 9.1.1.v20140108

2014-01-20 Thread Nils Kilden-Pedersen
What about Java 8? On Fri, Jan 17, 2014 at 1:49 AM, Simone Bordet sbor...@intalio.com wrote: Hi, On Fri, Jan 17, 2014 at 8:13 AM, Peter Ondruška peter.ondruska+je...@kaibo.eu wrote: Hello, I just updated my OSX JRE to 1.7.0_51 and with Jetty 9.1.1.v20140108 I get this:

Re: [jetty-users] http classes not accessible

2013-12-30 Thread Nils Kilden-Pedersen
and support from from the Jetty CometD experts eclipse.org/jetty - cometd.org On Sun, Dec 29, 2013 at 9:14 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: On Sun, Dec 29, 2013 at 12:47 PM, Nils Kilden-Pedersen nil...@gmail.comwrote: On Sun, Dec 29, 2013 at 12:54 AM, Joakim Erdfelt joa

Re: [jetty-users] http classes not accessible

2013-12-29 Thread Nils Kilden-Pedersen
Erdfelt joa...@intalio.com webtide.com http://www.webtide.com/ - intalio.com/jetty Expert advice, services and support from from the Jetty CometD experts eclipse.org/jetty - cometd.org On Sat, Dec 28, 2013 at 12:57 PM, Nils Kilden-Pedersen nil...@gmail.comwrote: I wanted to reuse

Re: [jetty-users] [jetty-dev] Jetty 9.1.0.RC0 Released!

2013-10-04 Thread Nils Kilden-Pedersen
On Fri, Oct 4, 2013 at 2:50 PM, Joakim Erdfelt joa...@intalio.com wrote: We are pleased to announce the immediate availability of the first release candidate for Jetty 9.1 Jetty 9.1.0.RC0 Distribution Downloads: http://download.eclipse.org/jetty/stable-9/dist/ The artifacts are also

Re: [jetty-users] [jetty-dev] Jetty 9.1.0.RC0 Released!

2013-10-04 Thread Nils Kilden-Pedersen
On Fri, Oct 4, 2013 at 3:30 PM, Joakim Erdfelt joa...@intalio.com wrote: On Fri, Oct 4, 2013 at 1:25 PM, Nils Kilden-Pedersen n...@kilden-pedersen.net wrote: On Fri, Oct 4, 2013 at 2:50 PM, Joakim Erdfelt joa...@intalio.comwrote: We are pleased to announce the immediate availability

Re: [jetty-users] jetty 8. Swallowed InterruptedException and possible endless loop in org.eclipse.jetty.io.nio.SelectChannelEndPoint.blockWritable

2013-09-30 Thread Nils Kilden-Pedersen
On Sun, Sep 29, 2013 at 11:36 AM, potter_ru igor.potery...@gmail.comwrote: Hmm. I was wrong about root cause of our problem with stucked threads. When i compared state of one thread qtp448926252-1848 in two threads dumps taken in two days interval, i found that thread was stucked in

Re: [jetty-users] Bug in PathMap

2013-09-10 Thread Nils Kilden-Pedersen
2013 11:58, Nils Kilden-Pedersen n...@kilden-pedersen.net wrote: On Sat, Sep 7, 2013 at 8:54 PM, Nils Kilden-Pedersen n...@kilden-pedersen.net wrote: On Sat, Sep 7, 2013 at 6:49 PM, Joakim Erdfelt joa...@intalio.com wrote: That is a bug, and should be fixed. However, Servlet Spec

Re: [jetty-users] Filter problem

2013-09-09 Thread Nils Kilden-Pedersen
I can add that the filter is running with url-pattern /* and with a virtual host (sub domain). Not sure if that explains anything. On Sat, Sep 7, 2013 at 5:07 PM, Nils Kilden-Pedersen nil...@gmail.com wrote: This is 9.0.5. I'm having an issue with an infinite loop in a filter. I assume

[jetty-users] global error page not used for 404

2013-09-09 Thread Nils Kilden-Pedersen
I‘m using a global error page, but I still get Jetty’s 404 page. error-page location/error/location/error-page I was expecting this to be used for anything (works as expected on exceptions). BTW, it's 9.0.5 ___ jetty-users mailing list

Re: [jetty-users] Filter problem

2013-09-09 Thread Nils Kilden-Pedersen
on the @WebFilter annotation. It‘s not clear to me if it’s correct behavior to have the filter invoked twice (in the chain twice) when there's an overlap between servlet names and url patterns. On Sat, Sep 7, 2013 at 5:07 PM, Nils Kilden-Pedersen nil...@gmail.comwrote: This is 9.0.5. I'm having

[jetty-users] Bug in PathMap

2013-09-07 Thread Nils Kilden-Pedersen
I think. Got hit with a StringIndexOutOfBounds something. Tracked it to line 404 (yeah, really) in PathMap: char c = pathSpec.charAt(0); Since Servlet spec 3.0, empty strings matches on the context root. I had a filter defined with urlPatterns={}. I can‘t quite figure out the validity of

[jetty-users] Filter problem

2013-09-07 Thread Nils Kilden-Pedersen
This is 9.0.5. I'm having an issue with an infinite loop in a filter. I assume this is a bug, but I don't know enough about the Jetty internals to say where exactly. Basically, my code (the Filter) wraps the request using HttpServletRequestWrapper and then calls chain.doFilter(wrappedRequest,

Re: [jetty-users] Bug in PathMap

2013-09-07 Thread Nils Kilden-Pedersen
experts eclipse.org/jetty - cometd.org On Sat, Sep 7, 2013 at 12:38 PM, Nils Kilden-Pedersen n...@kilden-pedersen.net wrote: I think. Got hit with a StringIndexOutOfBounds something. Tracked it to line 404 (yeah, really) in PathMap: char c = pathSpec.charAt(0); Since Servlet spec 3.0

Re: [jetty-users] Bug in PathMap

2013-09-07 Thread Nils Kilden-Pedersen
On Sat, Sep 7, 2013 at 8:54 PM, Nils Kilden-Pedersen n...@kilden-pedersen.net wrote: On Sat, Sep 7, 2013 at 6:49 PM, Joakim Erdfelt joa...@intalio.com wrote: That is a bug, and should be fixed. However, Servlet Spec 3.1 pretty much banned as a path spec (stating it as a mistake of past

Re: [jetty-users] Migration path for Jetty 8 - Jetty 9 advanced WebSocket usage

2013-08-21 Thread Nils Kilden-Pedersen
On Tue, Aug 20, 2013 at 7:19 PM, Joakim Erdfelt joa...@intalio.com wrote: Access to the HttpServletRequest is discouraged, as not all mechanisms for creating a WebSocket will even have a HttpServletRequest. (Various muxed websocket connection techniques like WebSocket over SPDY and even the

Re: [jetty-users] Migration path for Jetty 8 - Jetty 9 advanced WebSocket usage

2013-08-21 Thread Nils Kilden-Pedersen
On Wed, Aug 21, 2013 at 12:23 PM, Nils Kilden-Pedersen nil...@gmail.com wrote: On Tue, Aug 20, 2013 at 7:19 PM, Joakim Erdfelt joa...@intalio.com wrote: Access to the HttpServletRequest is discouraged, as not all mechanisms for creating a WebSocket will even have a HttpServletRequest

Re: [jetty-users] Migration path for Jetty 8 - Jetty 9 advanced WebSocket usage

2013-08-21 Thread Nils Kilden-Pedersen
On Wed, Aug 21, 2013 at 1:12 PM, Joakim Erdfelt joa...@intalio.com wrote: You have 2 different ways. Depending on your choice of websocket use. Jetty 9.1 WebSocket API technique: And when can we expect to see 9.1.0? ___ jetty-users mailing list

Re: [jetty-users] Jetty9 websocket design

2013-05-30 Thread Nils Kilden-Pedersen
Trying once more. Presumably this is documented somewhere I haven't been able to find. On Mon, May 27, 2013 at 8:34 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: Could someone comment on how Jetty9 handles websockets, from a design perspective? I'm thinking primarily about resource

Re: [jetty-users] Jetty9 websocket design

2013-05-30 Thread Nils Kilden-Pedersen
and support from the Jetty CometD experts eclipse.org/jetty - cometd.org On Thu, May 30, 2013 at 5:51 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: Trying once more. Presumably this is documented somewhere I haven't been able to find. On Mon, May 27, 2013 at 8:34 AM, Nils Kilden-Pedersen nil

[jetty-users] Jetty9 websocket design

2013-05-27 Thread Nils Kilden-Pedersen
Could someone comment on how Jetty9 handles websockets, from a design perspective? I'm thinking primarily about resource consumption, such as memory usage per connection, number of threads and any (non-) blocking behavior, etc. Thanks, Nils ___

Re: [jetty-users] Jetty 9 DefaultServlet and useFileMappedBuffers

2013-05-23 Thread Nils Kilden-Pedersen
Since Jetty9 requires Java7, maybe it'd be a good idea to use the new try-with-resources statement more places? On Thu, May 23, 2013 at 3:31 PM, Craig Ching craigch...@gmail.com wrote: Should the FileChannel in BufferUtil.readFrom() be closed? public static void readFrom(File file,

Re: [jetty-users] Jetty 9 DefaultServlet and useFileMappedBuffers

2013-05-23 Thread Nils Kilden-Pedersen
On Thu, May 23, 2013 at 4:39 PM, Craig Ching craigch...@gmail.com wrote: Closing that FileChannel definitely resolves this on Windows. I'll put it into the bug report. On Thu, May 23, 2013 at 4:26 PM, Nils Kilden-Pedersen n...@kilden-pedersen.net wrote: Since Jetty9 requires Java7

Re: [jetty-users] Jetty and Scala

2013-05-06 Thread Nils Kilden-Pedersen
: (+972) (0) 2-589-4919 M: (+972) (0) 54-566-4919 ** ** *From:* jetty-users-boun...@eclipse.org [mailto: jetty-users-boun...@eclipse.org] *On Behalf Of *Nils Kilden-Pedersen *Sent:* Monday, May 06, 2013 16:06 *To:* JETTY user mailing list *Subject:* Re: [jetty-users] Jetty and Scala

Re: [jetty-users] System classpath on Jetty 8

2013-02-19 Thread Nils Kilden-Pedersen
as expected already in Jetty 9.0.0.RC0 -- Joakim Erdfelt joa...@intalio.com webtide.com http://www.webtide.com/ Developer advice, services and support from the Jetty CometD experts eclipse.org/jetty - cometd.org On Mon, Feb 18, 2013 at 12:16 PM, Nils Kilden-Pedersen nil

[jetty-users] System classpath on Jetty 8

2013-02-18 Thread Nils Kilden-Pedersen
According to the wiki[1], the web sockets classes are part of the default system classes. Yet for as long as I can remember, trying to use the web sockets classes, leads to this exception: java.lang.NoClassDefFoundError: org/eclipse/jetty/websocket/WebSocketServlet Is this a long-standing bug,

Re: [jetty-users] System classpath on Jetty 8

2013-02-18 Thread Nils Kilden-Pedersen
- cometd.org On Mon, Feb 18, 2013 at 10:31 AM, Nils Kilden-Pedersen nil...@gmail.comwrote: According to the wiki[1], the web sockets classes are part of the default system classes. Yet for as long as I can remember, trying to use the web sockets classes, leads to this exception

Re: [jetty-users] application authentication

2013-02-10 Thread Nils Kilden-Pedersen
as a filter. You may want to provide more info of what you need to do. On Feb 7, 2013 7:19 PM, Nils Kilden-Pedersen nil...@gmail.com wrote: Is it possible to configure application based authentication without having access to the server installation, i.e. only through the war file

Re: [jetty-users] application authentication

2013-02-10 Thread Nils Kilden-Pedersen
be of more help. On Sun, Feb 10, 2013 at 3:15 PM, Nils Kilden-Pedersen nil...@gmail.com wrote: I'd like to be able to use the tools provided by the servlet spec, such as getUserPrincipal, isUserInRole, etc. on HttpServletRequest and use the HttpConstraint annotation, but without having

Re: [jetty-users] application authentication

2013-02-10 Thread Nils Kilden-Pedersen
CometD experts eclipse.org/jetty - cometd.org On Sun, Feb 10, 2013 at 2:22 PM, Nils Kilden-Pedersen nil...@gmail.comwrote: On Sun, Feb 10, 2013 at 4:10 PM, larry mccay larry.mc...@gmail.comwrote: I'm still a little confused about your usecase - what are planning to authenticate against if you

Re: [jetty-users] application authentication

2013-02-10 Thread Nils Kilden-Pedersen
On Sun, Feb 10, 2013 at 4:54 PM, larry mccay larry.mc...@gmail.com wrote: The EE specs are about an application programming model that is built on top of a platform with a built-in security foundation. I don't really agree with everything that was put into web.xml for security but I do feel

[jetty-users] application authentication

2013-02-07 Thread Nils Kilden-Pedersen
Is it possible to configure application based authentication without having access to the server installation, i.e. only through the war file? ___ jetty-users mailing list jetty-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/jetty-users

Re: [jetty-users] Async servlets and thread-safety

2013-01-29 Thread Nils Kilden-Pedersen
I see. Good to know. On Tue, Jan 29, 2013 at 9:29 AM, Simone Bordet sbor...@intalio.com wrote: Hi, On Mon, Jan 28, 2013 at 3:38 PM, Nils Kilden-Pedersen nil...@gmail.com wrote: I'm wondering though. Even with async, your request is never handled by more than a single thread at a time

Re: [jetty-users] Async servlets and thread-safety

2013-01-28 Thread Nils Kilden-Pedersen
. Am 1/25/13 8:36 PM, schrieb Simone Bordet: Hi, On Fri, Jan 25, 2013 at 4:20 PM, Nils Kilden-Pedersen nil...@gmail.com wrote: I have some questions on async servlets and I figured this forum would be as good as any. I've done servlet programming for quite a few years, and I've always

[jetty-users] EventSourceServlet

2013-01-19 Thread Nils Kilden-Pedersen
Any reason org.eclipse.jetty.servlets.EventSourceServlet isn't included in the distribution? ___ jetty-users mailing list jetty-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/jetty-users

Re: [jetty-users] root webapp on Jetty 8.1.8.v20121106

2012-12-04 Thread Nils Kilden-Pedersen
I'm doing the same thing, which works fine on Win7/Jetty8. But when I had a developer do the same thing on a Mac, he got the exact problem you describe. On Mon, Dec 3, 2012 at 3:07 PM, Tom Farrar tom.farra...@gmail.com wrote: Hi All, I've recently been testing upgrading from Jetty 6 to 8.

Re: [jetty-users] Jetty Hightide still around?

2012-12-04 Thread Nils Kilden-Pedersen
On Tue, Dec 4, 2012 at 12:26 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, I was looking for information about Jetty Hightide and was unable to find out if Jetty Hightide is something that belongs to the past, or if Jetty Hightide is a packaging of Jetty that is still