<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.java.restlet">
    <title>gmane.comp.java.restlet</title>
    <link>http://blog.gmane.org/gmane.comp.java.restlet</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15345"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15342"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15332"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15330"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15324"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15322"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15320"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15313"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15311"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15299"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15298"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15297"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15295"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15271"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15268"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15267"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15264"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15259"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15249"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.restlet/15248"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15345">
    <title>Dismayed GAE GWT example project</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15345</link>
    <description>&lt;pre&gt;I have been struggling the last few days to set up the GAE GWT Restlet example project for 2.1 M6.  I have been finding the process very challenging.  There are for example, different versions of org.restlet.jar for JavaSE, GWT, and GAE even though they are named the same way.  

Normally GWT projects and GAE projects are built together, but I read on stack overflow the GWT component had to be compiled seperately, and then add the static html and js files back into the GAE project.  

I finally managed to get the JavaSE example running and communicating pulling objects from the GAE implementation using the default "http://localhost:8888/contact/123" address.  However if I try to open that same address in a web browser I get an exception in GAE.  How is it an API if it is so fragile and can only be accessed by one specific software on the other side?

Since everything is so poorly documented and I cannot find any other complete example projects I am very tempted to give up and try Jersey or some other technol&lt;/pre&gt;</description>
    <dc:creator>Jason Obtestatio</dc:creator>
    <dc:date>2012-05-25T12:45:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15342">
    <title>OAuth2: How to resolve "Unable to get the template authorize.html."</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15342</link>
    <description>&lt;pre&gt;I am working through the oAuth2 sample code and have hit a Restlet issue that
has stymied me for a while.  Following the sample code, I have:
HttpOAuthHelper.setAuthPageTemplate("authorize.html", getContext());

However, when AuthPageServerResource.getPage() is called the following code
is unable to find "authorize.html":

  Configuration config = new Configuration();
ContextTemplateLoader ctl = new ContextTemplateLoader(getContext(),
"clap:///");
config.setTemplateLoader(ctl);
getLogger().fine("loading: " + authPage);
TemplateRepresentation result = new TemplateRepresentation(authPage,
config, MediaType.TEXT_HTML);
Specifically, result.template is null.  The message that I see is:
WARNING: Unable to get the template authorize.html. Error message: Template
authorize.html not found.

The first problem I fixed was adding the CLAP protocol.  My web.xml file
had:
&amp;lt;context-param&amp;gt;
&amp;lt;param-name&amp;gt;org.restlet.clients&amp;lt;/param-name&amp;gt;
&amp;lt;param-value&amp;gt;HTTP HTTPS CLAP &amp;lt;/param-value&amp;gt; 
&amp;lt;/context-param&amp;gt;
but that didn't se&lt;/pre&gt;</description>
    <dc:creator>Richard Berger</dc:creator>
    <dc:date>2012-05-25T00:53:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15332">
    <title>Restlet Framework 2.1 RC5 and 2.0.14 released</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15332</link>
    <description>&lt;pre&gt;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-production

.         GitHub migration

.         JavaScript editions

 

Best regards,

Jerome

--

 &amp;lt;http://www.restlet.com/&amp;gt; http://www.restlet.com

 &amp;lt;http://twitter.com/#!/jlouvel&amp;gt; http://twitter.com/#!/jlouvel

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&amp;amp;dsMessageId=2964687&lt;/pre&gt;</description>
    <dc:creator>Jerome Louvel</dc:creator>
    <dc:date>2012-05-23T20:53:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15330">
    <title>NullPointerException at MetadataReader.java:516</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15330</link>
    <description>&lt;pre&gt;I'm getting an NPE, full stack trace below below:

See stacktrace_XML-22900.txt

The code in gov.pa.dep.egov.restlet.FormsModernizationServicesService was generated based on this note:
http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/287-restlet.html

The code
gov.pa.dep.egov.client.ClientServiceImpl.getAddress(ClientServiceImpl.java:101),
is a wrapper around the generated code to retrieve an address for a given client.  

I can run the query that it generates in Internet Explorer without an error.  I can also run the same code in a STANDALONE client without an error.  It only throws this error when I'm running my web application on the embedded (IntegratedWebLogicServer) with JDeveloper 11.1.2

It appears that the startDocument code inside of the org.restlet.ext.odata.internal.edm.MetadataReader class (that sets up the structure that is later referenced at line 516) is NOT called when it's running the web application, which would explain the
NPE in that class.  I don't know why it wouldn't be called t&lt;/pre&gt;</description>
    <dc:creator>Eric Givler</dc:creator>
    <dc:date>2012-05-23T16:37:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15324">
    <title>How to measure the performance of an app using Restlet 2.1</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15324</link>
    <description>&lt;pre&gt;Hiii alll,

I am now in the final stage of my restlet app,

I want to know what are the tools available for measuring the /performance
of an application/ using *Restlet 2.1*.....

Pleaseeeee helppppppppppppp

--
View this message in context: http://restlet-discuss.1400322.n2.nabble.com/How-to-measure-the-performance-of-an-app-using-Restlet-2-1-tp7571360.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

&lt;/pre&gt;</description>
    <dc:creator>Dalia Sobhy</dc:creator>
    <dc:date>2012-05-22T15:33:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15322">
    <title>Header-based routing</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15322</link>
    <description>&lt;pre&gt;Hey there,

I want to use Restlet to offer some REST-based services. For example

GET http://localhost/user/

should return a list with users. Until now that is not a problem at all.

Now I want to call a different class/service if the same url is called by a mobile client (can detect mobile-client by some header-inforamtion). 

As far as I had a look at the source code my idea was to override the Routers "getNext(Request, Response)"-method to check the header for mobile information and return another result als usual. Is there any other or better way?

Best regards,
Jan L.

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

&lt;/pre&gt;</description>
    <dc:creator>Jan Loebel</dc:creator>
    <dc:date>2012-05-22T12:50:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15320">
    <title>ClientResource, wrap and other best practices</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15320</link>
    <description>&lt;pre&gt;We recently have been hitting some issues with our use of Restlet 2.1/HTTPClient hanging and have tracked them down to not fully consuming the response.  This is well documented (http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/328-restlet/285-restlet.html) that it can happen and that we should do it, but what is still a bit of mystery to me is what are the best practices here.  

For instance, on the link above, the Java example uses the wrap method and then just does the retrieve.  Nowhere in the code does it show calling exhaust/release afterwards.  I realize that is a toy example, but it would be good to know what proper code should look like.  If you are using the wrap() functionality, how and when should one call exhaust/release afterwards?  For now, we seem to find the best approach (at least it fixes our issue) is:
ClientResource cr = ...
try{

WrappedResource = cr.wrap(...)
...
catch(){
//
}
finally{
cr.getResponseEntity().exhaust()
cr.getResponseEntity().release()
}

Is that right?  Is the wr&lt;/pre&gt;</description>
    <dc:creator>Grant</dc:creator>
    <dc:date>2012-05-21T14:54:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15313">
    <title>GAEAuthenticator and Android - anyone make this work?</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15313</link>
    <description>&lt;pre&gt;Although I was able to make GAEAuthenticator work fine with a browser client
(simple html posts/gets are authenticated with Google Accounts and all the
right things happen) and through java test code (getting an authentication
token, setting a cookie in the client proxy, making the post/get), I wasn't
able to make it work with an Android client.  

I am about to move on trying to create an oAuth2 server, but I was just
curious if anyone else has made it work.  The google search for:

GAEAuthenticator Android

returns only 7 results (!) - which reminded me of the old GoogleWhacking
phase (for those of you old enough to remember :) ).

Thanks!
RB

PS - I have a feeling that to make GAEAuthenticator work I have to override
the authenticate() method and do something other than a redirect when the
initial authentication fails.  But since I am moving to oAuth2 I was more
curious than anything else.

--
View this message in context: http://restlet-discuss.1400322.n2.nabble.com/GAEAuthenticator-and-Android-anyone-ma&lt;/pre&gt;</description>
    <dc:creator>Richard Berger</dc:creator>
    <dc:date>2012-05-19T06:16:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15311">
    <title>[Restlet] Unsupported media type</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15311</link>
    <description>&lt;pre&gt;Hello,

I try to etablish a connection beetween a server and an android client with Restlet 2.2. The server code is :

&amp;lt; at &amp;gt;Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());

router.attachDefault(new Directory(getContext(), "war:///"));
router.attach("/connection", ServiceConnectionImpl.class);
}

and the android code is :

        ClientResource cr = new ClientResource(
        "http://....appspot.com/connection");
        cr.setRequestEntityBuffering(true);

        ServiceConnection conn = cr.wrap(ServiceConnection.class);
      
        String temp = conn.connect(connect);


When I launch the client, I have the following message :

 E/AndroidRuntime(1079): Unsupported Media Type (415) - Unsupported Media Type
E/AndroidRuntime(1079): at $Proxy5.connect(Native Method)

And in the appengine logs, there is the following message :

/connection 415 16ms 0kb Restlet-Framework/2.2snapshot
"PUT /connexion HTTP/1.1" 415 777 - "Restlet-Framework/2.2snapshot" ".&lt;/pre&gt;</description>
    <dc:creator>titi</dc:creator>
    <dc:date>2012-05-17T21:21:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15299">
    <title>Issue with custom statusservice or status service in general</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15299</link>
    <description>&lt;pre&gt;Hi

I have an intermittent issue with a restful webservice where  the throwable
object is null on  the status object  albeit the status is 500 , this issue
is quite random and I have not managed to reproduce it , What are the
scenarios where the throwable is null for an internal server exception, any
pointers on how i should proceed with the investigation of this  problem
are appreciated.

Thankyou

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&amp;amp;dsMessageId=2960827&lt;/pre&gt;</description>
    <dc:creator>qns.java</dc:creator>
    <dc:date>2012-05-15T09:20:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15298">
    <title>Is it possible to (easily) have authenticated/non-authenticated versions...</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15298</link>
    <description>&lt;pre&gt;As I am working on implementing authentication, I was wondering if I could
configure createInboundRoute to attach the GAEAuthenticator guard only to
uris of the form /v1/.... (to implement authentication) and allow uris of
the form /v0/... to pass through without authentication.  

My code currently is...
public final Restlet createInboundRoot() {
  ...
  Router router = new Router(getContext());
  router.attach("/v1/path", SomeServerResource.class);
  .....
  router.attach("/v1/otherpath", SomeOtherServerResource.class);
  GaeAuthenticator guard = new GaeAuthenticator(getContext());
  router.attach(VERSION_PATH, guard);
  guard.setNext(router); 
  return guard;
...

I am assuming that what I want is not easily done (that is fine), but I
wanted to make sure before moving on (to trying to do hard things or just
not doing it).  

Thanks in advance!
RB


--
View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Is-it-possible-to-easily-have-authenticated-non-authenticated-versions-tp7557195.&lt;/pre&gt;</description>
    <dc:creator>Richard Berger</dc:creator>
    <dc:date>2012-05-14T19:50:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15297">
    <title>Access to Request in Enroler</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15297</link>
    <description>&lt;pre&gt;This interface is too narrow:

    public void enrole(ClientInfo clientInfo);

I need access to the Request in this method and I don't like the ThreadLocal "solution". Enhancement issue on github?

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

&lt;/pre&gt;</description>
    <dc:creator>Christian Bauer</dc:creator>
    <dc:date>2012-05-11T13:07:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15295">
    <title>Turning Nagel's algo on/off for ClientResource</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15295</link>
    <description>&lt;pre&gt;I'm wondering how to turn on/off Nagel's algo for my simple app that basically sends a request to a server. Here's the skeleton of my app:

ClientResource cr = new ClientResource(hosturi);
MyClass m = cr.wrap(MyClass.class);
m.create();

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

&lt;/pre&gt;</description>
    <dc:creator>Vishal Verma</dc:creator>
    <dc:date>2012-05-11T00:17:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15271">
    <title>mounting resources and final slash</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15271</link>
    <description>&lt;pre&gt;Hi everyone.

I'm mounting resources like this:

/proxy/

and it actually matter if I use the final slash or not. In fact, with
that declaration, the app does answer a 404 on /proxy without the
final slash. That's fine.
But if I use that same declaration and I do call

/proxy/anything

I still get a 404.
I can I make the very same resource java file to get all the /proxy/* calls?

Thanks.

&lt;/pre&gt;</description>
    <dc:creator>Daniele Dellafiore</dc:creator>
    <dc:date>2012-05-07T08:36:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15268">
    <title>File extensions content negotiation for POST</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15268</link>
    <description>&lt;pre&gt;I've got a ServerResource all nicely set up to use the file extension from the URL path to determine how to format the response (tsv or xls).

Now I need to implement the same for POST, so that the response format is determined by the extension of the request.  But it's not working, the request does not appear to get routed, I just get a 404 response.

Any suggestions?

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

&lt;/pre&gt;</description>
    <dc:creator>Lee Nave</dc:creator>
    <dc:date>2012-05-04T23:27:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15267">
    <title>Android client timeout for HTTPS</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15267</link>
    <description>&lt;pre&gt;Hi,
I try using the following code to set HTTPS connection timeout without success:

HttpClientHelper helper = new HttpClientHelper(null);
helper.getHelpedParameters().set("connectTimeout", "5000");
helper.getHelpedParameters().set("readTimeout", "5000");
Engine.getInstance().getRegisteredClients().clear();
Engine.getInstance().getRegisteredClients().add(helper);

The code can access my restlet server service using https but it will not timeout if the server service is not available.
I know another way to set timeout is using Client class, but I failed to access https if using Client method (OK with HTTP protocol only).
Using client class with HTTPS in Android will cause Internal connector error.
Thanks for any reply.

Regards,
Soon

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&amp;amp;dsMessageId=2957684&lt;/pre&gt;</description>
    <dc:creator>Falcon Soon</dc:creator>
    <dc:date>2012-05-04T15:49:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15264">
    <title>Save authentication data in Android between acivities</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15264</link>
    <description>&lt;pre&gt;Hi. 

When i launch my app appears activity (AuthActivity) where i enter my login
and password. I authorize on the server and move on to another activity
where I'm trying to get a resource from the server. But in response I'm
getting a 401 error - Unathorized.

How can I don't make to authenticate every time when move between activities

I use DigestAuthenticator.

--
View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Save-authentication-data-in-Android-between-acivities-tp7523306.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

&lt;/pre&gt;</description>
    <dc:creator>Sultan Kosaev</dc:creator>
    <dc:date>2012-05-03T11:32:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15259">
    <title>Anchor # (hash) in querystring</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15259</link>
    <description>&lt;pre&gt;I can't retrieve the part after # in the request object. Is this possible in Restlet?

/theresource?thequery#theanchor

I can't get the #anchor part from the request.

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

&lt;/pre&gt;</description>
    <dc:creator>Dencel</dc:creator>
    <dc:date>2012-05-01T23:46:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15249">
    <title>"Restlet in Action". Error in the listing 9.10.</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15249</link>
    <description>&lt;pre&gt;Hi

I use Jackson extension in my app. And when i write some code like this 

*List&amp;lt;News&amp;gt; lNews = (new JacksonRepresentation&amp;lt;List&amp;amp;lt;News&amp;gt;&amp;gt;(rep1,
List&amp;lt;News&amp;gt;.class).getObject();*

, The errors I get from Eclipse are: "List cannot be resolved to a variable"
and "News cannot be resolved to a variable". 

but my code follows the code from the "Restlet in action" book (listing
9.10)

Please help me and give a solution to this problem

How workaround this problem

--
View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Restlet-in-Action-Error-in-the-listing-9-10-tp7519398.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

&lt;/pre&gt;</description>
    <dc:creator>Sultan Kosaev</dc:creator>
    <dc:date>2012-05-02T08:31:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15248">
    <title>Issue with restlet 2.1-RC4 under light load</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15248</link>
    <description>&lt;pre&gt;Hello fellow listers,

I'm using 2.1-RC4 and i'm load testing my system. I discovered that even under light load (5 requests/sec) i'm randomly getting the following in the logs

"A response with a 200 (Ok) status should have an entity. Make sure that resource "http://localhost:8111/v1/security?ticker=AAA" returns one or set the status to 204 (No content)."

The code that's under test is the following

&amp;lt; at &amp;gt;Override
    public Securities getSecurities() {
        Securities securities = new Securities();
        return securities;
    }

and that's it really. There was a DAO there which I've removed as I was unsure whether it was causing the issue, but as it turns out, it doesn't.

Any ideas why i'm getting this?

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

&lt;/pre&gt;</description>
    <dc:creator>Ioannis Mavroukakis</dc:creator>
    <dc:date>2012-05-01T18:31:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.restlet/15246">
    <title>Put Method Problems (Help needed)</title>
    <link>http://comments.gmane.org/gmane.comp.java.restlet/15246</link>
    <description>&lt;pre&gt;I making a simple put method to update a patient's address, it updates the
patient but it takes a lot of time and enters an infinite loop so thats
weird and it outputs the following exceptions: 

At the client: 
Exception in thread "main" Communication Error (1001) - The connector failed
to complete the communication with the server 
        at
org.restlet.resource.ClientResource.doError(ClientResource.java:582) 
        at
org.restlet.engine.resource.ClientInvocationHandler.invoke(ClientInvocationHandler.java:236) 
        at $Proxy9.putAddress(Unknown Source) 
        at testsultan.client.TestClient.main(TestClient.java:59) 
Java Result: 1 

At the server: 
Starting the internal [HTTP/1.1] server on port 8182 
in Hbase Server 
This patient is already available 
Patient Added 
2012-04-2722:53:44127.0.0.1--8182PUT/test/addpatient-2000-160
http://localhost:8182        Restlet-Framework/2.1rc3- 
in Hbase Server 
123456 
info:address =&amp;gt; 
Janaklees; info:bloodGroup =&amp;gt; 
B; info:dateOfBirth =&amp;gt; 
Thu No&lt;/pre&gt;</description>
    <dc:creator>Dalia Sobhy</dc:creator>
    <dc:date>2012-05-01T09:19:30</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.restlet">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.restlet</link>
  </textinput>
</rdf:RDF>

