Re: Set StatusService on Application or Component?

2013-04-02 Thread Jerome Louvel
Hi Arjohn, The StatusService has two complementary purposes: - setting an HTTP status based on a Jave exception - setting a response entity in case of on error status For the second purpose, the Component level StatusService is capable of overwriting the response entity in case of error if

Nice third-party Restlet 2.1 tutorial

2013-03-26 Thread Jerome Louvel
Hi all, I'd like to point out this nice tutorial for Restlet Framework 2.1 by James Sumners: https://bitbucket.org/jsumners/restlet-2.1-demo He is looking for feed-back to improve it. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel

Migration of Restlet wiki

2013-03-20 Thread Jerome Louvel
Hi all, For the launch of the new restlet.org web site, we have migrated the content of the old Restlet wiki to GitHub, with a static HTML publication: http://restlet.org/learn/guide Be aware that the content has many links and embedded images that need to be updated/fixed. For those who want to

Re: OAuth 2 Password Authentication

2013-03-19 Thread Jerome Louvel
Hi Umoh, We have a doc gap on this front that we intend to fill for RF 2.2 release. Meanwhile, I suggest that you look at the GitHub related tickets for info on the latest activity on the OAuth extension: https://github.com/restlet/restlet-framework-java/issues/search?q=oauth Thanks, Jerome 20

Restlet Framework 2.1.2 and 2.2 M3 released (+ new web site)

2013-03-08 Thread Jerome Louvel
Hi all, We are happy to release two new versions of Restlet Framework... along with our new project web site! http://blog.restlet.com/2013/03/08/restlet-framework-2-1-2-and-2-2-m3-released/ Let us know what you think! Jerome -- http://restlet.org http://twitter.com/#!/jlouvel ---

Re: RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-02-21 Thread Jerome Louvel
Hi Daniel, Thanks for reporting those result in a reproducible way. Which HTTP connector are you using exactly? The default on in org.restlet.jar or the Simple/Jetty extensions? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/2/15 Daniel Halperin > Hi everyone, > >

Re: Converting EMF Representations on the Client using Restlet

2013-02-20 Thread Jerome Louvel
Hi Tas, This should indeed work the way you expect. I suspect a bug in the EmfConverter, maybe it isn't picket up correctly. Could you enter an issue in GitHub? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/2/20 Tas Frangoullides > Hi, > > > I'm trying out Restl

Re: internal NPE exception while handling 415 response

2013-02-14 Thread Jerome Louvel
Hi Dan, We plan to release 2.1.2 early next week. If you can't wait, you indeed need to build the sources. We used to have automated 2.2 snapshots built daily, but we haven't restored the cron scripts on our new machine. Best regards, Jerome 2013/2/13 Daniel Halperin > > On Sun, Feb 10, 2013

Re: Maven artifacts disappearing

2013-02-11 Thread Jerome Louvel
Hi Peter, Indeed, we have not restored all versions yet. Here are the list of missing ones: - 2.1 RC2 -> RC5 - 2.0 M1 -> M3 - 2.0.11 We are planning to restore all of them but had others priorities so far. If you need to build those artifacts manually, you can find all the tags here: h

Re: Restlet client freezing on HTTPS requests

2013-02-11 Thread Jerome Louvel
Hi Allan, Thanks for the report. We had other persons reported similar issues with HTTPS: https://github.com/restlet/restlet-framework-java/issues/702 We'll investigate and try to fix this issue week, before releasing 2.1.2 and 2.2 M2. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/j

Re: internal NPE exception while handling 415 response

2013-02-10 Thread Jerome Louvel
Hi Daniel, Thanks very much for the detailed report. I've been able to reproduce the issue, add a test case and fix the underlying problem (in both 2.1 and 2.2 branches). Actually, it was a serious issue beyond the JAX-RS extension itself as the internal connector wasn't restoring the current Re

Re: Problem streaming files

2013-02-06 Thread Jerome Louvel
Hi Jochen, This looks like a bug. Could you enter an issue and attach a minimal Eclipse project to reproduce the issue? As a workaround, have you try pluging in another HTTP connector (via org.restlet.ext.simple.jar for example)? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel

Re: Use of StatusService default behavior

2013-02-06 Thread Jerome Louvel
Hi Paul, Once you start writing the HTTP response entity (PDF here), it is too late to change the response status and headers... In your case, couldn't you detect the potential error immediately when handling the getMethod() directly instead (or in addition) to doing it inside the inner class? T

RE: Unable to parse IPV6 address using Restlet 1.1m3 release

2013-02-06 Thread Jerome Louvel
Hi Neha, FYI, this has been fixed in 2.1 and 2.2 branches thanks to a contribution from Jun Hou. Best regards, Jerome -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3047898

Re: strange routing behaviour

2013-02-04 Thread Jerome Louvel
agement and Technology > Department of Human Services | Level 10, 2 Lonsdale Street, Melbourne > p. 9096 7243 | f. 9096 9100 | e. geoffrey.spe...@dhs.vic.gov.au | > www.dhs.vic.gov.au > Corporate Services* | Innovative business solutions for better client > outcomes* > > > &

Re: Is there an easy way to secure the GAE?

2013-01-28 Thread Jerome Louvel
Hi Brett, You perfectly use HTTP Basic/Digest authentication between Restlet/Andoird and Restlet/GAE. Try using HTTPS if possible. We are also working with contributors on full OAuth 2.0 support for RF 2.2, but this is too early at this point. See this recent comment for example: https://github.c

Re: Unsupported Media Type (415) with Generic Put or Post

2013-01-28 Thread Jerome Louvel
FYI, see follow-up here: http://stackoverflow.com/questions/14409575/unsupported-media-type-415-with-generic-put-or-post Jerome 2013/1/18 Darwin Airola > Aloha! > > I was trying to implement a generic put or post method in Restlet. (I was > able to implement a generic Get method without issue.

Re: Jackson extension performance question

2013-01-28 Thread Jerome Louvel
Hi Pier Luigi and Tim, I've entered a RFE to keep track of this Jackson optimization idea: https://github.com/restlet/restlet-framework-java/issues/715 Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/18 Tim Peierls > Sorry, that link should be: > > http://tembrel.b

Re: Restlet web sites are down for maintenance

2013-01-28 Thread Jerome Louvel
Hi all, Here is an update: - Maven repository has been restored - except 2.0 M1, M2, M3 and 11 artifacts - except GAE editions for 2.1 RCx artifacts - Eclipse/p2 update site has been fully restored - including metadata files - Daisy wiki is being migrated to GitHub

Re: expect/continue handshake

2013-01-21 Thread Jerome Louvel
Thanks Ishaaq for the information about Jetty, I've added it as a comment on the related issue: https://github.com/restlet/restlet-framework-java/issues/700 Actually, Jetty will wait before sending the 100-continue until the *server* actually tries to read the stream. Maybe the ServerResource shou

Re: Trouble connecting using SSL

2013-01-20 Thread Jerome Louvel
Hi David, Which version and HTTP connector are you using? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/13 David Leangen > > Hi List, > > This is my first time using restlet, so I am not yet very familiar with it. > > I am using restlet within an OSGi context. I

Re: Auto-increment ID fields

2013-01-20 Thread Jerome Louvel
Hi Mark, This sounds like a bug. Would you mind entering an issue in GitHub? Here are the existing OData related issues: https://github.com/restlet/restlet-framework-java/issues/search?q=odata&state=open&assignee= Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/10

Re: Does the OAuth2 extension support "client-side"/"user agent"/"implicit grant" flow?

2013-01-18 Thread Jerome Louvel
Hi Richard, I'm not sure either but Kristoffer (in copy) should be able to tell us. We should at least make sure that the documentation is clear about the flows supported. Do you mind entering a RFE in GitHub to suppor this flow and improve docs? Improving the completeness of this extension is a

Re: Maven artifacts disappearing

2013-01-16 Thread Jerome Louvel
Hi Peter, Due to a hardware failure, (see previous messages) we are progressively restoring the missing versions including 2.1-RC4. If this is blocking, I would suggest upgrading to 2.1.1 which is the new stable version. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/

Re: Restlet web sites are down for maintenance

2013-01-16 Thread Jerome Louvel
Here is an update on the outage: - the Eclipse/p2 repository was restored - with 2.1.0, 2.2 M1 and 2.2-snapshot (2.1.1 is coming soon) - the Daisy wiki is more complex than expected to restore (especially binary files) - for now we have put a redirection to the online Web Arch

Re: strange routing behaviour

2013-01-15 Thread Jerome Louvel
Hi Pier, Could you give us additional details? Are you using Restlet in standalone/JSE mode? If so, are you containing your Restlet application within a Component and under a VirtualHost? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/15 Pier Luigi Rocca > I can

Re: Serving up index file in Restlet Directory

2013-01-15 Thread Jerome Louvel
Hi Paul, You could retrieve this file path manually via the java.io API or try to use the org.restlet.data.LocalReference.createFileReference(".") method, it might just work as well (not 100% sure). Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/7 Paul Morris > Su

Re: Restlet 2.1.1 - The thread blocked at the cyclic barrier has timed out

2013-01-15 Thread Jerome Louvel
Hi Aliza, As this appears to be an issue inside the internal HTTP connector, you can always turn to the Jetty or Simple extensions for more robust HTTP server connectors. Also, you could try to manually consume/exhaust any incoming request entity as this seems related to the exception. Finally, y

Re: Re: Re: Location-ref not set in IE9

2013-01-15 Thread Jerome Louvel
In my opinion this is a GWT/IE issue as the Restlet code is exactly the same. This is really strange, worth entering an issue in GitHub to keep track of it. Best regards, Jerome 2013/1/15 Koen Maes > Yes; tested with chrome / firefox / safari; > > Is this a GWT issue or restlet, you think ? >

Re: Re: Location-ref not set in IE9

2013-01-15 Thread Jerome Louvel
Koen, Is this working in other browsers? Best regards, Jerome 2013/1/15 Koen Maes > Hi Jerome > > I installed Microsoft developer tools for IE and I do see that the > location ref is returned correctly. But when getting it, it is always NULL. > Very annoying as I relay on this to find my newl

Re: expect/continue handshake

2013-01-15 Thread Jerome Louvel
Hi Ishaaq, Sorry for the delay. This is clearly an advanced yet interesting use case! We worked on it back when dealing the with SIP protocol (which uses a lot of provisional HTTP-like responses). The way it is intended to work in the Restlet API is very close to what Tim is suggesting. It should

Re: Location-ref not set in IE9

2013-01-15 Thread Jerome Louvel
Hi Koen, Could you inspect the HTTP headers in IE 9 (using a network debug tools similar to Firebug)? Are other browsers working fine? BTW, you should be able to write proxy.getClientResource().getLocationRef() instead of proxy.getClientResource().getResponse().getLocationRef() Thanks, Jerome --

Re: Social Networking Integration

2013-01-15 Thread Jerome Louvel
Hi Koot, You could have a look at the Restlet extension for OAuth 2.0 in version 2.1 (based on an older draft) or in version 2.2 (recent snapshot) which almost support OAuth 2.0 final standard. Otherwise, you can consider the Java SDK offered by each of the provider that you want to integrate wit

Re: Restlet web sites are down for maintenance

2013-01-15 Thread Jerome Louvel
Hi all, Here is the latest update: - the Maven repository has been restored - includes all versions up to 2.1 RC1 and 2.0.10, plus 2.1.1 - remaining versions will now be progressively restored - the Daisy wiki site should be back online later today - including content up t

Re: Restlet web sites are down for maintenance

2013-01-14 Thread Jerome Louvel
We restored the Maven repository for the latest versions (2.1.1, 2.2 M1 and 2.2 snapshot): http://maven.restlet.org/org/restlet/jse/org.restlet/ Previous versions will be progressively restored as well, but we need to migrate very large volumes of data. Thanks, Jerome 2013/1/14 Jérôme Louvel

Re: Restlet web sites are down for maintenance

2013-01-14 Thread Jerome Louvel
Hi all, Here are some updates: we have now restored the Javadocs and Downloads for the stable-2.1 / testing-2.2M1 / unstable branches. We are now working on restoring the Maven repository and the wiki. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/13 Jérôme Louvel

Re: Restlet web sites are down for maintenance

2013-01-13 Thread Jerome Louvel
Hi again, The Restlet web sites have been partially restored on a new machine now located on the US east coast (was located in Europe before). We are continuing the restoration process (Maven repository content, Javadocs, downloads, wiki, etc.). Thanks, Jerome 2013/1/13 Jérôme Louvel > Hi al

Restlet web sites are down for maintenance

2013-01-12 Thread Jerome Louvel
Hi all, Due to a hardware failure, our web sites (including Maven repository) are down for maintenance. We'll keep you updated of the progress. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel -- http://restlet.tigris.org/ds/

Re: Suggestion on OpenID extension wiki

2013-01-07 Thread Jerome Louvel
FW: I'm resending this email from 01/04 due to an email gateway error. -- Hi Pier, Thanks for the feed-back, I have updated the wiki page. I also created you a wiki account with doc author rights (check your email for details), so you can make further changes if needed. Thanks, Jerome -- http:/

Re: Serving up index file in Restlet Directory

2013-01-07 Thread Jerome Louvel
FW: I'm resending this email from 01/04 due to an email gateway error -- Hi Paul, You have reached a limitation of the CLAP pseudo-protocol which isn't suitable to list the content of a directory and therefore do any sort of content negotiation. We could automatically append the indexName to a d

Restlet Framework 2.1.1 and 2.2 M1 released

2012-12-26 Thread Jerome Louvel
Hi all, We are happy to announce two new versions, based on many contributions from the community: http://blog.restlet.com/2012/12/26/restlet-framework-2-1-1-and-2-2-m1-released/ Clearly the migration to GitHub has helped us getting more contributions and integrate them more easily. If you haven'

Re: another CookieAuthenticator mystery

2012-12-20 Thread Jerome Louvel
Thanks Tim for the report. Entered an issue and will try to fix it tomorrow for 2.2 M1: https://github.com/restlet/restlet-framework-java/issues/697 Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/10 Tim Peierls > Here's a better candidate for the default implem

Re: Restlet client not allowing to define custom 'Authorization' header

2012-12-20 Thread Jerome Louvel
Hi Ashish, I saw your question in StackOverflow (try to not crosspost) as well and replied over there. http://stackoverflow.com/questions/13802406/restlet-client-not-allowing-to-define-custom-authorization-header Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/1

Re: Conversion of primitive java Datatype double to OData Edm.Double

2012-12-20 Thread Jerome Louvel
Hi Martin, Thanks for the report. Moved into an issue: https://github.com/restlet/restlet-framework-java/issues/696 We'll look at this tomorrow for 2.1.1 (if time permits). Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/5 Martin Grohmann > I am developing an

Re: dependencies in 2.2-SNAPSHOT

2012-12-20 Thread Jerome Louvel
Hi Tim, Thanks for the report, we'll try to fix this tomorrow, before releasing 2.2 M1. Entered related issue: https://github.com/restlet/restlet-framework-java/issues/694 Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/3 Tim Peierls > I wanted to try out 2.2

Re: Restlet Versioning Scheme

2012-11-22 Thread Jerome Louvel
Hi Kevin, We also maintain a migration guide with additional details about actual changes made: http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/171-restlet/155-restlet.html Best regards, Jerome 2012/11/22 Thierry Boileau > Hello Kevin, > > we try our best to maintain compatibility from

Re: status code REDIRECT in GWT

2012-11-20 Thread Jerome Louvel
Hi Koen, That automatic redirection following might be out of GWT control as it relies on the browser HTTP stack. Did you try to call ClientResource#setFollowingRedirects(false)? Best regards, Jerome 2012/11/15 Thierry Boileau > Hi Koen, > > I've added you as approved suscriber... > > Bes tr

Re: Problem with CookieAuthenticator

2012-11-11 Thread Jerome Louvel
Hi Jon, Would you be able to contribute your enhancement? Best regards, Jerome 2012/11/8 Jon Sawyer > I am having the same problem as the original poster, and have been able to > get CookieAuthenticator to work. Has this problem been solved? It sounds > like the implementation may be incomple

Re: Enabling gzip for clientresource

2012-11-11 Thread Jerome Louvel
Hi Norm I'm sure this feature could be backported rather easily to v2.0. Actually, it is the DecoderService class that was enhanced in v2.1 and that you should copy/update in v2.0, and maybe related filter/representation classes. Best regards, Jerome 2012/11/8 Norm Deane > Jerome, > > I'm in

RE: Don't have more logs

2012-10-16 Thread Jerome Louvel
Hi Adrien, Did you set the LogService.loggerName property to match your log.properties file? Otherwise, could you try to use the new programmatic log control added to Engine class in version 2.1? See this document, “Programmatic configuration” section: http://wiki.restlet.org/docs_2.1

RE: Restlet client hanging when connecting to Restlet server (SunOS)

2012-10-16 Thread Jerome Louvel
Hi Noam, There are some remaining bugs in the internal/default HTTP client connector. Those are being fixed and 2.1.1 should help much. For now, you can drop org.restlet.ext.net.jar (or org.restlet.ext.httpclient.jar and dependencies) in your classpath to a more stable one. Let me know if this h

RE: Server down, ClientResource locks up

2012-10-16 Thread Jerome Louvel
Hi Derek, Yes it is, sorry nobody picked up your message. For Android clients, we still recommend relying on the org.restlet.ext.net.jar connector as we are still fixing bugs in the internal/default one. Good news is that we received a recent contribution that fixes many remaining issue (see upco

"Restlet in Action" launch party in Paris

2012-10-15 Thread Jerome Louvel
Hi all, Next Wednesday, we’ll have a launch party to celebrate the printing of “Restlet in Action” book, hosted by SFEIR in Neuilly-sur-Seine (between Paris and La Défense). If you are in the area (and speak French), there are a couple of spots remaining: http://restletinaction.eventbrit

RE: oath server/protected resource

2012-09-28 Thread Jerome Louvel
Hi Bjorn, OAuth 2.0 support is considered as experimental in version 2.1, due to the unstability of the OAuth 2.0 spec in large part which made it a moving target. This is a reason why we considered covering OAuth 2.0 in the book but preferred not to. Good news: we have received a cool contributi

Restlet Framework 2.1.0 released!

2012-09-26 Thread Jerome Louvel
Finally, we can now announced it !! http://blog.restlet.com/2012/09/27/restlet-framework-2-1-0-released-5/ We'll make a separate announce regarding the book when it is ready for sale on Amazon.com and other bookstores, but if you haven't done so already, you can find it on Manning's site :)

RE: SSL handshake failure after Upgrade from 2.1 RC5 to 2.1 RC6

2012-09-23 Thread Jerome Louvel
Hi Matl, Some issue related to SSL configuration were fixed in 2.1 RC6. However, it is possible that it introduced a regression. Could you enter an issue and help us debugging/fixing it? Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : M

RE: Re: GWT Edition does not work with latest GWT toolkit 2.5.0-rc1

2012-09-23 Thread Jerome Louvel
Hi Koen, Were you able to confirm the fix? Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Koen Maes [mailto:k...@koma.be] Envoyé : mercredi 19 septembre 2012 06:20 À : discuss@restlet.tigris.org Objet : RE: Re: GWT Edition does not work

RE: Jetty Server Error

2012-09-23 Thread Jerome Louvel
Hi Dalia, You are missing some dependency JARs for Jetty. See the lib/readme.txt files for details. You will need at least org.eclipse.jetty.jar. Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Dalia Sobhy [mailto:dalia.mohso...@hotmail.c

RE: ZipException with Restet 2.1 RC6

2012-09-12 Thread Jerome Louvel
Hi Tal, Thanks for investigation this issue. Do you mind entering an issue in GitHub with those analysis elements? Do you have additional pointers covering this IE specific behavior? One solution would be to use the TunnelService to detect that it's an IE client and adjust the encoding preference

RE: Params are null on server

2012-09-06 Thread Jerome Louvel
12 06:48 À : discuss@restlet.tigris.org; Jerome Louvel Objet : RE: Params are null on server And another thing (not sure if this is intended or if it is a bug), but even with a single parameter method, calling Request#getEntityAsText() before the business object method (such as from Filter#beforeHandle) a

RE: Params are null on server

2012-09-06 Thread Jerome Louvel
ge d'origine- De : William Ferguson [mailto:william.fergu...@xandar.com.au] Envoyé : jeudi 6 septembre 2012 03:46 À : discuss@restlet.tigris.org; Jerome Louvel Objet : RE: Params are null on server Hi Jerome, so remote interfaces like the one below aren't valid? public interface Doubl

RE: Params are null on server

2012-09-03 Thread Jerome Louvel
Hi William, Are both parameteres part of the same HTTP request entity? If so, you need to group them under a common representation bean class. Best regards, Jerome -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=30033

RE: Restlet Framework 2.1 RC6 and 2.0.15 released

2012-08-24 Thread Jerome Louvel
Hi Tal, Thanks for reporting your experience! This new NIO internal has taken a long time to get off the ground as it was a massive design and coding effort under the hood. Now, stabilization efforts are starting to pay off... We still have some way to go (especially HTTPS which doesn't work so

Restlet Framework 2.1 RC6 and 2.0.15 released

2012-08-23 Thread Jerome Louvel
Hi all, Here are some fresh releases and additional exciting news! http://blog.restlet.com/2012/08/23/restlet-framework-2-1-rc6-and-2-0-15-rele ased/ http://blog.restlet.com/2012/08/23/launching-apispark-at-gigaom-mobilize-201 2/ Thanks, Jerome -- http://www.

RE: Get single data

2012-08-18 Thread Jerome Louvel
Hello, Is there an easy way for us to reproduce the issue? Otherwise, could you try to fix the Restlet code and submit a patch? Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : phamke [mailto:p...@develop.misa.com.vn] Envoyé : mercredi 1

RE: 415 Unsupported Media Type

2012-08-18 Thread Jerome Louvel
Hi Koot, Regarding the annotation syntax, @Post("*:txt|json") should be expressed @Post(":txt|json") or @Post("txt|json") if preferences are the same for both request and response entities. Are you sure you client is properly setting the media type (Content-Type HTTP header)? Could you send a sm

RE: Uploading a file as part of a form

2012-08-18 Thread Jerome Louvel
Hi James, Thanks for your question. For binary content, it is probably better to use such code: FileRepresentation file = new FileRepresentation(filepath, MediaType.IMAGE_ALL); form.getEntries().add(new FormData("mediafile", file)); Thanks, Jerome --

RE: JAXB Unmarshaling Exception

2012-08-06 Thread Jerome Louvel
Hi Jean, I've fixed this regression in the 2.1 and master branches. Next 2.1 RC6 will include the fix. Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Jean Duteau [mailto:j...@duteaudesign.com] Envoyé : vendredi 13 juillet 2012 22:48 À 

RE: 2.1M7 - Internal HTTP Connector - Overload Error

2012-07-30 Thread Jerome Louvel
Hi Alessandro, We have made some changes on the IO controller loop to reduce CPU usage due to constant looping. We are planning to debug the remaining connector issues this week before 2.1 RC6. Will keep you posted. Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel --

RE: Restlet + Spring + Hibernte + Oauth : Injected Dao is null

2012-07-27 Thread Jerome Louvel
Hi Thierry, You should then attach (via Spring) the SpringFinder as the "next" of your OAuthAuthorizer bean. Another option is to use the setFinderClass(...) method available on OAuthAuthorizer to pass the SpringFinder class. You can do this by creating a subclass of OAuthAuthorizer or maybe set

RE: Enable only selected cipher suites

2012-07-25 Thread Jerome Louvel
Hi all, I'm happy to report that this SSL cipher configuration issue has been fixed in both 2.1 and 2.2 branches, with the help from Jim Zuber and his team at QualityLogic. The fix, which has some similarities with the changes made by Andreas, will be available in the upcoming snapshot builds. Be

RE: Restlet 2.1 to use jetty 8?

2012-07-23 Thread Jerome Louvel
Hi Tal and Tim, Jetty 8 only supports Java 6, so it can’t go into RF 2.1 which still supports Java 5. Jackson 2 adds support for XML, CSV, YAML and other media types which will require enhancing the JacksonConverter quite a bit. Also, we don’t want to force developers to adjust all their an

RE: Redirection to do Cross Domain Request

2012-07-20 Thread Jerome Louvel
d'origine- De : Thierry LAU [mailto:la...@sfeir.com] Envoyé : jeudi 19 juillet 2012 20:37 À : discuss@restlet.tigris.org; Jerome Louvel Objet : Redirection to do Cross Domain Request Hi all Let me expose my problem : I have : - One ClientA et one serverA hosted on http://localhost:8000

RE: Restlet 2.1 to use jetty 8?

2012-07-19 Thread Jerome Louvel
Hi Tal, Good news, I updated the 2.1 branch today with Jetty 7.6.5 version and 2.2/master with Jetty 8.1.5 ! Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Jerome Louvel [mailto:jerome.lou...@restlet.com] Envoyé : lundi 16 ju

RE: Redirection to do Cross Domain Request

2012-07-19 Thread Jerome Louvel
Hi Thierry, Do you mind posting again in English so everyone can follow and give help? This mailing list is English speaking only... Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Thierry LAU [mailto:la...@sfeir.com] Envoyé : mer

RE: Restlet 2.1 to use jetty 8?

2012-07-16 Thread Jerome Louvel
Hi Tal, That would be great indeed! Would you be willing/available to contribute this upgrade via GitHub (2.1 and master branches)? Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Tal Liron [mailto:tal.li...@threecrickets.com] Envo

RE: Empty server response in 2.1 RC5

2012-07-12 Thread Jerome Louvel
Hi all, Here is the migration guide updated by Thierry: http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/171-restlet/155-restl et.html In addition, Avi has quickly updated the blog post at Arc90: http:/

RE: Restlet 1.1 to use jetty 8

2012-07-04 Thread Jerome Louvel
Hi Vinod, This is possible, but you will need to patch the Jetty extension for Restlet 1.1 yourself in order to address Jetty API changes. May I ask why you want to do this upgrade? We could do this kind of work for you, but only as part of Restlet's professional services offering... You might pr

RE: Idling app has ~2MB of garbage collected every 30 seconds

2012-06-23 Thread Jerome Louvel
g Objet : Re: Idling app has ~2MB of garbage collected every 30 seconds Cool, so in essence you wouldn't need to rely on interrupts to serve an incoming request, is that correct? On 23 June 2012 21:41, Jerome Louvel wrote: Hi Ioannis, Actually, we use several queues down the ro

RE: Idling app has ~2MB of garbage collected every 30 seconds

2012-06-23 Thread Jerome Louvel
t delved deep into the code, so I may be talking out of my ass :) Cheers, Ioannis On 22 June 2012 17:41, Jerome Louvel wrote: Hi Ioannis, Regarding the GC of iterators, I've fixed the one under our control in RF 2.1 and 2.2/master branches yesterday. The second one is inside th

RE: Re: Re: Restlet Method Call with multiple parameters?

2012-06-22 Thread Jerome Louvel
Hi Philipp, I’m on the same line as Tim on this point, the actual representation that you will exchange will contain both entities and location, in the same “XML/JSON document”. So it seems logical to me to have an equivalent representation POJO that would contain both as well. One area whe

RE: Idling app has ~2MB of garbage collected every 30 seconds

2012-06-22 Thread Jerome Louvel
't a blocking queue serve better in the context of a producer/consumer scenario? On 22 Jun 2012, at 00:31, Jerome Louvel wrote: > Hi Yan, Ioannis, > > Thanks for pointing your finger on this hot spot! The GC overhead is > clearly an issue that needs to be fixed and definitel

RE: Idling app has ~2MB of garbage collected every 30 seconds

2012-06-21 Thread Jerome Louvel
Hi Yan, Ioannis, Thanks for pointing your finger on this hot spot! The GC overhead is clearly an issue that needs to be fixed and definitely worth a ticket in GitHub. A first and easy solution is to replace those two iterator objects with regular loops to prevent unnecessary garbage collection.

RE: restlet problem. urgent! Please help me!

2012-06-19 Thread Jerome Louvel
Hi Zhu, I'm happy to report that this issue is now fixed: https://github.com/restlet/restlet-framework-java/issues/437 Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : yunwu zhu [mailto:zhuywt...@gmail.com] Envoyé : dimanche 15 avril

RE: CompositeHelper returns 500 on GAE

2012-06-19 Thread Jerome Louvel
Hi Danny, Even though it took us a while, I'm happy to report that this issue is now fixed: https://github.com/restlet/restlet-framework-java/issues/437 Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Danny Leshem [mailto:dles...@gmai

RE: RestletFrameworkServlet - HTTP 500 on first request.

2012-06-19 Thread Jerome Louvel
Hi David, Even though it took us a while, I'm happy to report that this issue is now fixed: https://github.com/restlet/restlet-framework-java/issues/437 Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Crogdor [mailto:da...@davidfuchs

RE: Android + Restlet + Proguard

2012-06-17 Thread Jerome Louvel
Giuseppe, Looking at your code, this line is in cause: Log.v("Brano:", cat.getName()); Your category name is probably null. Just add a check. Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Giuseppe Porcelli [mailto:porcell

RE: Android + Restlet + Proguard

2012-06-17 Thread Jerome Louvel
Hi Giuseppe, Sorry, this went through... I can't delete messages with this mailing list hosted on Tigris. You better change your user name and/or password. Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Giuseppe Porcelli [mailto:p

RE: Android + Restlet + Proguard

2012-06-17 Thread Jerome Louvel
Hi Giuseppe, You're in luck, even connected on Sunday ;) Could you post the source code of the following classes, before and after ProGuard? com.voicepro.odata.u.b com.voicepro.odata.BraniList.a com.voicepro.odata.BraniList.d com.voicepro.odata.m.doInBackground com.voicepro.odata.m.doInBackgrou

RE: Android + Restlet + Proguard

2012-06-16 Thread Jerome Louvel
Hi Giuseppe, Could you share the detailled stack trace? Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Giuseppe Porcelli [mailto:porcelli.giuse...@gmail.com] Envoyé : samedi 16 juin 2012 11:51 À : discuss@restlet.tigris.org Objet

RE: Restlet Maven link broken

2012-06-09 Thread Jerome Louvel
FYI, this issue has now been fixed by Thierry. Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Jerome Louvel [mailto:jerome.lou...@restlet.com] Envoyé : vendredi 8 juin 2012 17:03 À : 'discuss' Objet : RE: Restlet Ma

RE: Restlet Maven link broken

2012-06-08 Thread Jerome Louvel
Hi guys, Thanks for the reports, it appears that some files can't be downloaded while other work fine.  We are investigating the issue. Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Grant [mailto:gsing...@apache.org] Envoyé : ven

RE: Trouble adding links with the Restlet OData Extentions

2012-06-01 Thread Jerome Louvel
Hi Darryl, This looks like a bug to me. We should fix it and clarify the docs at the same time. To move this forward, could you enter an issue in GitHub? Is there a way for us to do a live test? Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origi

RE: Dismayed GAE GWT example project

2012-05-25 Thread Jerome Louvel
Hi Jason, Sorry you had a bad experience with this example. It's not easy to help concretely as we are arriving a bit late in your story :-/ Some signs of hope: we are finishing the "Restlet in Action" book which covers GWT and GAE editions of Restlet in more details and in a hopefully more

RE: No buffer space available (maximum connections reached?)

2012-05-24 Thread Jerome Louvel
Hi Arjohn, Thanks for reporting this issue, it should now be fixed in 2.1 RC5 and in the master branch. We now try to properly close the Pipe when an exception occurs and by default we now relay calls made on write(OutputStream) to write(WritableByteChannel) using a blocking channel, almost li

Restlet Framework 2.1 RC5 and 2.0.14 released

2012-05-23 Thread Jerome Louvel
Hi all, The core Restlet team is happy to announce two new releases of the framework! http://blog.restlet.com/2012/05/23/restlet-framework-2-1-rc5-and-2-0-14-rele ased/ The blog post also covers exciting progress on other fronts: . next 2.2 version . book in pre-productio

RE: Nio connector doesn't close streams/channels

2012-05-01 Thread Jerome Louvel
voyé : lundi 30 avril 2012 20:59 À : discuss@restlet.tigris.org Cc : 'discuss' Objet : Re: Nio connector doesn't close streams/channels Many thanks. Any ideas on my optimization suggestion in the thread "No buffer space available"? Cheers, Arjohn On 30/04/2012 18:03, Jero

RE: Enabling gzip for clientresource

2012-04-30 Thread Jerome Louvel
Hi Chris, FYI, this feature is available by default since version 2.1 M2. Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Chris Davis [mailto:chris.da...@hullomail.com] Envoyé : vendredi 17 septembre 2010 15:42 À : discuss@restlet.

RE: Nio connector doesn't close streams/channels

2012-04-30 Thread Jerome Louvel
Hi Arjohn, Thanks for reporting this issue. It is now fixed in both 2.1 and master branches. Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Arjohn Kampman [mailto:arjohn.kamp...@aduna-software.com] Envoyé : lundi 23 avril 2012 16:

RE: Web server down - In progress

2012-04-29 Thread Jerome Louvel
FYI, the server was rebooted and all services are up again. Best regards, Jerome -- <http://www.restlet.com/> http://www.restlet.com <http://twitter.com/#!/jlouvel> http://twitter.com/#!/jlouvel De : Jerome Louvel [mailto:jerome.lou...@restlet.com] Envoyé : samedi 2

<    1   2   3   4   5   6   7   8   9   10   >