<?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://permalink.gmane.org/gmane.comp.java.restlet">
    <title>gmane.comp.java.restlet</title>
    <link>http://permalink.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://permalink.gmane.org/gmane.comp.java.restlet/7033"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7032"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7031"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7030"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7029"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7028"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7027"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7026"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7025"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7024"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7023"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7022"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7021"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7020"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7019"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7018"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7017"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7016"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7015"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.restlet/7014"/>
      </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://permalink.gmane.org/gmane.comp.java.restlet/7033">
    <title>RE: 204 switched to 404 in handleGet</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7033</link>
    <description>That works great.

Thanks for the fast response!

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

</description>
    <dc:creator>Ryan Niemeyer</dc:creator>
    <dc:date>2008-12-03T21:09:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7032">
    <title>RE: 204 switched to 404 in handleGet</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7032</link>
    <description>Hi Ryan,

This sounds like a bug to me. I have made the following change in SVN branch 1.1 and trunk:

                if ((getResponse().getStatus() == null)
                        || (getResponse().getStatus().isSuccess() &amp;&amp; !Status.SUCCESS_NO_CONTENT
                                .equals(getResponse().getStatus()))) {
                    getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
                } else {
                    // Keep the current status as the developer might prefer a
                    // special status like 'method not authorized'.
                }

Let me know if it works fine.

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 : Ryan Niemeyer [mailto:ryan.niemeyer&lt; at &gt;gmail.com] 
Envoye : mercredi 3 decembre 2008 17:31
A : discuss&lt; at &gt;restlet.tigris.org
Objet : RE: 204 switched to 404 in handleGet

A better solution than overriding handleGet is </description>
    <dc:creator>Jerome Louvel</dc:creator>
    <dc:date>2008-12-03T19:20:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7031">
    <title>RE: Tutorial Missing Info</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7031</link>
    <description>Hi Simon,

Thanks for reporting this. It is now fixed online!

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 : Simon Earnshaw [mailto:simon.earnshaw&lt; at &gt;forestry.gov.uk] 
Envoye : mercredi 3 decembre 2008 18:11
A : discuss&lt; at &gt;restlet.tigris.org
Objet : Tutorial Missing Info

At this point in the tutorial:

http://www.restlet.org/documentation/1.0/firstResource#part07

where it says:

"This client application must be run as a standalone Java application using a couple of JARs:

    * org.restlet.jar
    * com.noelios.restlet.jar
    * com.noelios.restlet.ext.httpclient.jar
    * org.apache.commons.httpclient.jar"

it has missed out some jars that seem to be crucial in getting the server to work properly - nameley:

org.apache.commons.logging.jar
org.apache.commons.codec.jar

- just thought the docs should be updated to show that you need to include these jars too.

Cheers
Simon

</description>
    <dc:creator>Jerome Louvel</dc:creator>
    <dc:date>2008-12-03T18:47:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7030">
    <title>RE: Restlet and Java 6</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7030</link>
    <description>Hi Raif,

Thanks for the updates. I'm glad you found a solution!

The conclusion, there is an integration issue between Tomcat 6.0, JDK 6 and Restlet 1.1... We need to have a look as it might be a
common scenario.

Do you have some reproducible code (ideally a WAR with source would be perfect) that could help us debug this?

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 : Raif S. Naffah [mailto:tigris&lt; at &gt;naffah-raif.name] 
Envoye : mercredi 3 decembre 2008 10:33
A : discuss&lt; at &gt;restlet.tigris.org
Objet : Re: Restlet and Java 6

hello again,

On Wednesday 03 December 2008 06:46:39 pm Raif S. Naffah wrote:

the above did not work.  the input stream returned (as it was before) an 
EOF --last call that is not returning the correct (read expected) 
characters is a sun.nio.cs.StreamDecoder.read([char,int,int) although the 
(Restlet) Entity.getSize() and .getAvailableSize() both return</description>
    <dc:creator>Jerome Louvel</dc:creator>
    <dc:date>2008-12-03T18:23:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7029">
    <title>Important changes to Restlet mailing lists</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7029</link>
    <description>Hi all,
 
A few days ago, Tigris.org completed a major upgrade on their open source hosting platform, where the Restlet project partly lives.
 
As a result, some settings where changed in the mailing lists, potentially affecting some of you. I have just done some adjustments
to the configuration that should solve most obvious issues such as moderation of some subscribers not registered with Tigris. Please
report any remaining issue that you encounter.
 
The good news is that they have added new features such as online posting without being subscribed. This could be useful for
newcomers or people rarely posting.
 
Finally, I have fully rewritten the mailing lists page with the greatest options to get you connected to the Restlet community
(Tigris, Nabble, GMane):
http://www.restlet.org/community/lists
 
Best regards,
Jérôme Louvel
--
Restlet ~ Founder and Lead developer ~  &lt;http://www.restlet.org/&gt; http://www.restlet.org
Noelios Technologies ~ Co-founder ~  &lt;http://www.noelios.com/&gt; http://www.noelios.com

</description>
    <dc:creator>Jerome Louvel</dc:creator>
    <dc:date>2008-12-03T18:04:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7028">
    <title>Tutorial Missing Info</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7028</link>
    <description>At this point in the tutorial:

http://www.restlet.org/documentation/1.0/firstResource#part07

where it says:

"This client application must be run as a standalone Java application using a couple of JARs:

    * org.restlet.jar
    * com.noelios.restlet.jar
    * com.noelios.restlet.ext.httpclient.jar
    * org.apache.commons.httpclient.jar"

it has missed out some jars that seem to be crucial in getting the server to work properly - nameley:

org.apache.commons.logging.jar
org.apache.commons.codec.jar

- just thought the docs should be updated to show that you need to include these jars too.

Cheers
Simon

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

</description>
    <dc:creator>Simon Earnshaw</dc:creator>
    <dc:date>2008-12-03T17:11:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7027">
    <title>Re: another missing method due to using http client connector</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7027</link>
    <description>Hello Thilo,

it seems you are mixing the httpclient extension of Restlet 1.1 and the 
api of Restlet 1.0...
Could you check that you get the right java archives?



Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com

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

</description>
    <dc:creator>Thierry Boileau</dc:creator>
    <dc:date>2008-12-03T16:47:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7026">
    <title>RE: 204 switched to 404 in handleGet</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7026</link>
    <description>A better solution than overriding handleGet is probably returning Representation.createEmpty() instead of null for 204 responses.

That works fine, though it does seem like null should be an appropriate response too.

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

</description>
    <dc:creator>Ryan Niemeyer</dc:creator>
    <dc:date>2008-12-03T16:30:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7025">
    <title>another missing method due to using http client connector</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7025</link>
    <description>Hello together,
currently I´m "fighting" with restlet to connect our database resources via
url to the web. I want to run the service in the  tomcat container. Without
tomcat I can use the apache httpclient to connect to a url. In tomcat the
same code does not work anymore. I don´t know what dependencies are not
fullfilled. If I use the httpclient directly everything works fine but it´s
not as elegant in comparison to the http client in restlet api. The code is
quite simple:

...getRepresentation(...)

Client client = new Client(Protocol.HTTP);
Response response = client.get(url);
in comparison to
    HttpClient httpClient = new HttpClient();
    GetMethod getMetadataRequest = new GetMethod(url);
        try {
            httpClient.executeMethod(getMetadataRequest);
            BufferedReader in = new BufferedReader(new InputStreamReader(
                    getMetadataRequest.getResponseBodyAsStream()));
        } catch (HttpException e)
            e.printStackTrace();
        } catch (IOException e) {</description>
    <dc:creator>Thilo Wehrmann</dc:creator>
    <dc:date>2008-12-03T15:45:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7024">
    <title>another missing method</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7024</link>
    <description>Hello together,
currently I´m "fighting" with restlet to connect our database resources
via url to the web. I want to run the service in the  tomcat container.
Without tomcat I can use the apache httpclient to connect to a url. In
tomcat the same code does not work anymore. I don´t know what
dependencies are not fullfilled. If I use the httpclient directly
everything works fine but it´s not as elegant in comparison to the http
client in restlet api. The code is quite simple:

...getRepresentation(...)

Client client = new Client(Protocol.HTTP);
Response response = client.get(url);
in comparison to
    HttpClient httpClient = new HttpClient();
    GetMethod getMetadataRequest = new GetMethod(url);
        try {
            httpClient.executeMethod(getMetadataRequest);
            BufferedReader in = new BufferedReader(new InputStreamReader(
                    getMetadataRequest.getResponseBodyAsStream()));
        } catch (HttpException e)
            e.printStackTrace();
        } catch (IOException e) {</description>
    <dc:creator>Thilo Wehrmann</dc:creator>
    <dc:date>2008-12-03T15:42:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7023">
    <title>204 switched to 404 in handleGet</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7023</link>
    <description>On line 501 in version 1.1.1 of org.restlet.resource.Resource.handleGet(), there's logic that sets the response status to 404 if the representation is null and the response status is 200-299.  That logic doesn't seem to account for status 204, which by definition should not contain a message body.

In my resource, I was overriding represent(Variant) and in certain situations setting the response status to 204 and returning a null response, however the base class flipped that to a 404 on me.

I can obviously work around this by overriding handleGet() (any other suggestions?), but ideally line 501 in handleGet would be changed to account for 204/null being an acceptable GET response.

Code snippet in question...

            if (selectedRepresentation == null) {
                if ((getResponse().getStatus() == null)
                        || getResponse().getStatus().isSuccess()) {
                    getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
                } else {
                    // Keep</description>
    <dc:creator>Ryan Niemeyer</dc:creator>
    <dc:date>2008-12-02T20:22:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7022">
    <title>Envoyez vos cartes de voeux personnalisees a bas prix</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7022</link>
    <description/>
    <dc:creator>cartes de voeux</dc:creator>
    <dc:date>2008-12-03T06:59:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7021">
    <title>Re: Posting a form with a file</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7021</link>
    <description>Hi all,

I finally manage to send properties by a restlet form and a X509
certificate by a GWT form, and receive them in my restlet server
packaged in a war in JBoss. Both forms are sent with one click button.
User and certificate properties are then writeable and viewable via
the restlet server. That's great.

This Proof-Of-Concept will certainly help me to make my chief change
his mind and may be adopt those technologies in our future project.

I'm just expecting restlet (may be in 1.2) to handle an unique form
containing &lt;input text...&gt; and &lt;input file...&gt; properties.
Best regards,
Jérémy

2008/11/28 Jerome Louvel &lt;jerome.louvel&lt; at &gt;noelios.com&gt;:

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

</description>
    <dc:creator>Jérémy Bogatirsky</dc:creator>
    <dc:date>2008-12-03T16:23:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7020">
    <title>RE: Re: No available xxx connector supports the required protocols</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7020</link>
    <description>hi there,

i've already attached a patch to that issue to handle "init-param" elements both in the component and the attach elements.


cheers;
rsn

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

</description>
    <dc:creator>Raif S. Naffah</dc:creator>
    <dc:date>2008-12-03T09:59:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7019">
    <title>Re: Restlet and Java 6</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7019</link>
    <description>hello again,

On Wednesday 03 December 2008 06:46:39 pm Raif S. Naffah wrote:

the above did not work.  the input stream returned (as it was before) an 
EOF --last call that is not returning the correct (read expected) 
characters is a sun.nio.cs.StreamDecoder.read([char,int,int) although the 
(Restlet) Entity.getSize() and .getAvailableSize() both return the right 
length.

i switched to Jetty (6.1.14) and everything works with jdk1.6.0_11.

thanks everybody for your help.




cheers;
rsn

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&amp;dsMessageId=978780</description>
    <dc:creator>Raif S. Naffah</dc:creator>
    <dc:date>2008-12-03T09:33:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7018">
    <title>Re: Restlet and Java 6</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7018</link>
    <description>hello Mark,

On Wednesday 03 December 2008 09:50:38 am Mark Derricutt wrote:

i'll give that a go with jdk6u11 which btw. also didn't work.  if it works 
i'll post a reply to this thread so other users may benefit.


wrote:


cheers;
rsn

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&amp;dsMessageId=978728</description>
    <dc:creator>Raif S. Naffah</dc:creator>
    <dc:date>2008-12-03T07:46:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7017">
    <title>Re: Restlet and Java 6</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7017</link>
    <description>hello Stephan,

On Wednesday 03 December 2008 08:32:21 am Stephan Koops wrote:

no i'm not using it.




cheers;
rsn

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&amp;dsMessageId=978725</description>
    <dc:creator>Raif S. Naffah</dc:creator>
    <dc:date>2008-12-03T07:45:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7016">
    <title>Re: Restlet and Java 6</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7016</link>
    <description>hello Rob,

On Wednesday 03 December 2008 01:11:39 am Rob Heittman wrote:

yesterday i tracked it down to a method in the org.restlet.util.ByteUtils (i 
think the toString() method) returning an empty string when the resource's 
data is all available (double-checked with wireshark).


&lt;tigris&lt; at &gt;naffah-raif.name&gt;wrote:


cheers;
rsn

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&amp;dsMessageId=978724</description>
    <dc:creator>Raif S. Naffah</dc:creator>
    <dc:date>2008-12-03T07:43:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7015">
    <title>Re: Should Restlet ever hold on to a TCP port after calling Component.stop()</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7015</link>
    <description>Hello Ian,

which server connector are you using? The one based on Jetty, Simple, 
Grizzly or the internal one?


Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


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

</description>
    <dc:creator>Thierry Boileau</dc:creator>
    <dc:date>2008-12-03T07:18:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7014">
    <title>Re: Restlet and Java 6</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7014</link>
    <description>We used to get LOTS of JVM crashes with Restlet under JDK 6 update 10,
the "solution" (aka work around) was to add:

-XX:CompileCommand=exclude,com/noelios/restlet/http/HeaderReader,readValue

to our JVM init script, having hotspot recompile that method all the
time seemed to trigger very ungraceful behaviour.

On Wed, Dec 3, 2008 at 10:32 AM, Stephan Koops &lt;Stephan.Koops&lt; at &gt;web.de&gt; wrote:



</description>
    <dc:creator>Mark Derricutt</dc:creator>
    <dc:date>2008-12-02T22:50:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.restlet/7013">
    <title>Re: Restlet and Java 6</title>
    <link>http://permalink.gmane.org/gmane.comp.java.restlet/7013</link>
    <description>Hi Raif,

if you use the JAXB extension of Restlet, you could get some problems, 
because Java 6 contains JAXB in a different version, I think.

If you need it and will have a good solution, Jerome and Thierry will be 
happy, if you could contribute.

best regards
   Stephan

Raif S. Naffah schrieb:

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

</description>
    <dc:creator>Stephan Koops</dc:creator>
    <dc:date>2008-12-02T21:32:21</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>
