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:[email protected]] 
Envoyé : mercredi 17 juin 2009 03:39
À : [email protected]
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=4447&dsMessageId=2362672

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

Reply via email to