Re: Trouble Setting Jetty Parameters with Restlet 1.0

2009-10-02 Thread Avi Flax
On Fri, Oct 2, 2009 at 04:22, Jerome Louvel jerome.lou...@noelios.com wrote:

 This looks like a bug to me. It was actually fixed in Restlet 2.0 trunk, so I 
 have just ported it back to Restlet 1.1.

Ahh, that makes sense. Good news, thanks!

 Thanks for the report!

My pleasure!

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2402920


Re: Trouble Setting Jetty Parameters with Restlet 1.0

2009-10-02 Thread Avi Flax
On Fri, Oct 2, 2009 at 04:22, Jerome Louvel jerome.lou...@noelios.com wrote:

 This looks like a bug to me. It was actually fixed in Restlet 2.0 trunk, so
 I have just ported it back to Restlet 1.1. Thanks for the report!

One last thought… I don't know if I'm unique in this or not, but this
seems to me like a fairly major bug. While there is a workaround, any
app which is coded in the correct way will be affected by the bug,
which could possibly lock up or crash production services.

So, even though 1.1.6 was released only a few days ago, I'd encourage
you to consider releasing 1.1.7 sooner rather than later.

Thanks!

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2402922


RE: Trouble Setting Jetty Parameters with Restlet 1.0

2009-10-02 Thread Jerome Louvel
Hi Avi,

This only affect the Jetty connector, but this is annoying indeed. Note that we 
do fallback on the default (255) value in this case.

I'm currently planning on releasing 1.1.7 in sync with Restlet 2.0 M6, in about 
one month. I'd like to fix a couple more bugs pending on 1.1 branch:
http://www.restlet.org/about/roadmap

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com



-Message d'origine-
De : Avi Flax [mailto:a...@arc90.com] 
Envoyé : vendredi 2 octobre 2009 15:43
À : discuss@restlet.tigris.org
Objet : Re: Trouble Setting Jetty Parameters with Restlet 1.0

On Fri, Oct 2, 2009 at 04:22, Jerome Louvel jerome.lou...@noelios.com wrote:

 This looks like a bug to me. It was actually fixed in Restlet 2.0 trunk, so
 I have just ported it back to Restlet 1.1. Thanks for the report!

One last thought… I don't know if I'm unique in this or not, but this
seems to me like a fairly major bug. While there is a workaround, any
app which is coded in the correct way will be affected by the bug,
which could possibly lock up or crash production services.

So, even though 1.1.6 was released only a few days ago, I'd encourage
you to consider releasing 1.1.7 sooner rather than later.

Thanks!

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2402922

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2402928


Re: Trouble Setting Jetty Parameters with Restlet 1.0

2009-10-02 Thread Avi Flax
On Fri, Oct 2, 2009 at 09:50, Jerome Louvel jerome.lou...@noelios.com wrote:

 This only affect the Jetty connector, but this is annoying indeed. Note that 
 we do fallback on the default (255) value in this case.

Thanks for taking this seriously. I actually think it's more than
annoying — 255 threads might be OK for an app running on a dedicated
8-core machine, but many apps run on shared servers, with only 1-4
cores. And of course it depends greatly on what those requests are
doing. If handling them requires any lengthy and/or intensive work,
handling 255 requests simultaneously could hang or crash the service,
or maybe even the entire machine, or at least lock it up for a long
time, similar to a DOS situation.

This is actually occurring for me in one of my important production
apps, but I can't blame it on the bug exactly — I just forgot to set
the parameter in my code! Still, the situation I'm experiencing makes
clear, to me, the severity of this bug.

 I'm currently planning on releasing 1.1.7 in sync with Restlet 2.0 M6, in 
 about one month. I'd like to fix a couple more bugs pending on 1.1 branch:
 http://www.restlet.org/about/roadmap

Sounds good!

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2402938


Re: Trouble Setting Jetty Parameters with Restlet 1.0

2009-09-24 Thread Avi Flax
On Wed, Jun 17, 2009 at 02:34, Jerome Louvel jerome.lou...@noelios.comwrote:


 Sorry, but we don't maintain Restlet 1.0 anymore except within our
 professional support plans... Is it possible for you to upgrade to Restlet
 1.1? Maybe you should try updating the Jetty JARs as well.


Hi Jerome,

I understand about discontinuing support for Restlet 1.0. However, I'm now
experiencing this problem with version 1.1.5 — and I'm using the 1.1.5 Jetty
extension, and the bundled version of Jetty.

Should I enter this as an issue?

Thanks,
Avi

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2400025

RE: Trouble Setting Jetty Parameters with Restlet 1.0

2009-06-17 Thread Jerome Louvel
Hi Avi,

Sorry, but we don't maintain Restlet 1.0 anymore except within our professional 
support plans... Is it possible for you to upgrade to Restlet 1.1? Maybe you 
should try updating the Jetty JARs as well.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-Message d'origine-
De : Avi Flax [mailto:a...@arc90.com] 
Envoyé : mercredi 17 juin 2009 03:39
À : discuss@restlet.tigris.org
Objet : Trouble Setting Jetty Parameters with Restlet 1.0

Hi, I'm using Restlet 1.0.10, and I'm having trouble setting the Jetty
parameters — specifically, maxThreads, to limit the number of
threads that Jetty uses.

Here's what I'm doing:

-



Server server = comp.getServers().add(Protocol.HTTP, 3000);

// The Restlet docs say the param is named maxThread, but they're wrong
server.getContext().getParameters().add(maxThreads, 40);



comp.start();

-

From what I can tell from the docs and from reading the source, this
looks like it should work. But it isn't.
Anyone have any suggestions?

Thanks,
Avi

--
Avi Flax » Partner » Arc90 » http://arc90.com

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2362672

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2362688