Re: SSL problems

2007-01-19 Thread Nick
Thierry, Thierry Boileau gmail.com> writes: > I'm not able to reproduce all your problems. Well you got some similar ones. > I switch the "type" parameter in order to use NIO (1) or BIO > (2). Am I wrong? Thats what I did (but I wished that it wasn't called "type"). > > When using BIO : >

Re: Maven support added

2007-01-19 Thread Vincent
Jerome, > As for RC3, they were just SVN snapshots, so I'm a bit reluctant to change > the version strings each time (a bit of work) but will consider it. Don't bother, sed/awk will take care if this. -Vincent.

Re: Getting confused

2007-01-19 Thread Vincent
Hi Jerome, > Concerning Variant, maybe the name confuses you but there is a concrete need > for separating it from Representation. I guess what's confusing me is the getRepresentation(Variant variant) method. I interpret id as 'get a representation from this variant'. But its actual meaning shou

Re: SSL problems

2007-01-19 Thread Thierry Boileau
Hello Nick, I'm not able to reproduce all your problems. I've generated a certificate following the Jetty's instructions and I use this code : ** component.getContext().getParameters().add(new Pa

Restlet 1.0 RC3 released

2007-01-19 Thread Jerome Louvel
Hi all, Here is the third release candidate! We may have a RC4 if significant issues come up, otherwise it could become 1.0 final :-) Thank to the direct contributors: - Charles Gay - Diggory Briercliffe - Thierry Boileau - Valdis Rigdon - Vincent Lari - Yuri de Wit Changes log: http://www

Re: SSL problems

2007-01-19 Thread Nick
Jerome, I only get this problem with the NIO connector, the other one seems ok. I think this is a problem with the stability of jetty 6.1 NIO SSL connector.

Re: StringIndexOutOfBoundsException

2007-01-19 Thread Thierry Boileau
Hello Vincent, the SVN repository has been updated with the fix! Thanks for your report. Best regards, Thierry Boileau Jerome Louvel a écrit : FYI, I have moved this thread into a bug report at: http://restlet.tigris.org/issues/show_bug.cgi?id=249 Thanks for reporting it Vincent. Best regards

Re: SSL problems

2007-01-19 Thread Nick
Jerome Louvel noelios.com> writes: > I've entered a report to keep track of this problem. See my reply there: > http://restlet.tigris.org/issues/show_bug.cgi?id=250 Jerome, thanks for that. I have set up a keystore using jdk/bin/keytool with -alg RSA. I'm going to try to find out about the stabi

RE: SSL problems

2007-01-19 Thread Jerome Louvel
Hi Nick, I've entered a report to keep track of this problem. See my reply there: http://restlet.tigris.org/issues/show_bug.cgi?id=250 Best regards, Jerome > -Message d'origine- > De : news [mailto:[EMAIL PROTECTED] De la part de Nick > Envoyé : vendredi 19 janvier 2007 11:46 > À : di

SSL problems

2007-01-19 Thread Nick
Hi, I am having problems running SSL connections. I am running with jetty6.1.1rc1 (and prior versions of 6.1) and restlet1.0rc2 I wanted to check that I was doing the right thing in Restlets before I take further. I am running an example from your tutorial, and have it working with Protocol.HTTP s

RE: StringIndexOutOfBoundsException

2007-01-19 Thread Jerome Louvel
FYI, I have moved this thread into a bug report at: http://restlet.tigris.org/issues/show_bug.cgi?id=249 Thanks for reporting it Vincent. Best regards, Jerome > -Message d'origine- > De : news [mailto:[EMAIL PROTECTED] De la part de Vincent > Envoyé : vendredi 19 janvier 2007 08:47 > À

RE: regexps in uri patterns

2007-01-19 Thread Jerome Louvel
Hi, Indeed, we are now only relying on URI Templates [1]. But it is possible to specify/change the type of a template variable. Route route = router.attach("/foo/{id}", FooResource.class); route.getTemplate().getVariables().put("id", new Variable(Variable.TYPE_DIGIT)); Best rega

RE: Maven support added

2007-01-19 Thread Jerome Louvel
Vincent, I will make sure that official releases have a different version. For example, starting from 1.0.0 we will have minor fixes in 1.0.1, 1.0.2, etc. API extensions (backward compatible) will go into 1.1.0 and major changes into 2.0.0. As for RC3, they were just SVN snapshots, so I'm a bit

regexps in uri patterns

2007-01-19 Thread Vincent
Hi, It used to be possible to do: router.attach("/foo/[0-9]*", ...); >From the examples, it seems that the new way is: router.attach("/foo/{id}", ...); It makes for a cleaner and more self-documented code, but I wonder if we're not losing some flexibility. For instance I could need to bind

RE: Script to install a Restlet distribution into a maven2 repository

2007-01-19 Thread Jerome Louvel
Thanks Vincent, I have added this contribution to our wiki: http://wiki.restlet.org Best regards, Jerome > -Message d'origine- > De : news [mailto:[EMAIL PROTECTED] De la part de Vincent > Envoyé : jeudi 18 janvier 2007 20:36 > À : discuss@restlet.tigris.org > Objet : Script to install