Re: Post problems when using Restlet Javascript Edition...

2012-02-15 Thread Richard Berger
Thanks again for your help. I downloaded tcpmon and made the suggested changes to my Java client. I then did a post through Java and below are the Request and the Response. Request POST /commitments/ HTTP/1.1 Date: Wed, 15 Feb 2012 22:19:58 GMT Content-Length: 109 Content-Type: application/j

Routing problem - Escaped '/' character in URL

2012-02-15 Thread John Wismar
Hey, all- I'm using Restlet 2.1RC2. I have a search resource that is working fine, except we came across a case where the search term has a '/' character in it. I'm already expecting the search terms to come in URL encoded, and the request that's being sent (to search for "a/b" for example) lo

RE: ClientResource Examples?

2012-02-15 Thread guillaume.m...@gmail.com
I've some question about the sample code: 1. How to retrieve the list of customers/users ? 2. What type must I use (ArrayList, Set, List, act...) ? Because I try to retrieve a list but I got an exception java.lang.NoClassDefFoundError: com/sun/syndication/feed/synd/SyndFeed My code Server si

Gwt 2.4 + restlet2.1RC2 return null

2012-02-15 Thread Gabriel Pulido
Hello, I have a restlet JSE server and a ServerResource that serves a resource: @Get public ArrayList retrieveObjects() { ArrayList test = new ArrayList(); test.add("item0"); return test; } The server is using the following libraries from the 2.1RC2 restlet J2E p

Re: Restlet + GAE + JAX-RS

2012-02-15 Thread guillaume.m...@gmail.com
Finally it"s ok I misspell the parameter-name (the evil copy/paste) but thank you for focusing me on these line. Thank you very much -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Restlet-GAE-JAX-RS-tp3890645p7288677.html Sent from the Restlet Discuss mailing list

Re: Restlet + GAE + JAX-RS

2012-02-15 Thread guillaume.m...@gmail.com
Same error I added org.reslet.application com.restletexample.JaxRsEntryPoint I think the the parameter "org.reslet.application" expect a class of that type but my class JaxRsEntryPoint is of type JaxRsApplication

Re: Restlet + GAE + JAX-RS

2012-02-15 Thread Thierry Boileau
Hello Guillaume, is there any information in the GAE's logs? To my mind, I think that the servlet called "RestletServlet" is not properly initiated. It must have a "org.reslet.application" parameter, with the full path of your Restlet-based application, in your case, I think it corresponds to the

Re: Restlet + GAE + JAX-RS

2012-02-15 Thread guillaume.m...@gmail.com
I try the code provide in the http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/57-restlet.html?showComments=true#daisycomment151 wiki but it don't work for me, Google App engine say me Error: Not Found !. I tried with version (GAE Edition) 2.0.11 and 2.1rc2. My web.xml look like: org.

Re: Post problems when using Restlet Javascript Edition...

2012-02-15 Thread Thierry Templier
Hello Richard, It could be either an HTTP header not correctly in the JS part or a problem on methods signatures within ServerResource class... Can you give me the request content of both calls from Java and JS? - For Java, simply active tracing mode on the ClientResource client (http://templt

Re: Restlet v2.0.4 not working with jetty v7.6.0

2012-02-15 Thread Thierry Boileau
Hello Victoria, I can only tell you that between two versions of the Jetty library, the API may change a little bit which should have an impact on the integration made inside Restlet. >From what I notice, Restlet 2.0.11 integrates well with Jetty 7.4.5, even if this release of Restlet has only bee

Restlet v2.0.4 not working with jetty v7.6.0

2012-02-15 Thread Victoria Chin
Wonder if this is a problem with my project configuration or a problem with restlet itself. Recently I tried to upgrade the jetty version from the one provided with the restlet installer (v7.1.6) to v7.6.0. My application runs fine but I am unable to access it through a browser, it keeps throwin

Re: Restlet server 2.0.11 Threads increase

2012-02-15 Thread Thierry Boileau
Hello Liem, you can set it as follow : server.setContext(new Context()); Generally, such connector is used inside a Component, which automatically adjust the connector's context. Best regards, Thierry Boileau My server stops serving after some connections and I would like to increase > the numb

Restlet server 2.0.11 Threads increase

2012-02-15 Thread Liem Truong
My server stops serving after some connections and I would like to increase the number of threads. try { Server server = new Server(Protocol.HTTP, m_iPort, ContentProvider.class); server.start(); } catch (Exception e) { e.printStackTrace(); } This line below would return a null Cont

Re: Post problems when using Restlet Javascript Edition...

2012-02-15 Thread Richard Berger
First - thank you for your message and the work that you are doing. I downloaded the latest .js files and the previously reported error is indeed fixed. But my post() is still not being received on the server side when called from Javascript. From Javascript, I am able to succesfully call get an