New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.1.2 not working on Windows XP #752
Comments
Are you using the default HTTP server in org.restlet.jar? If so you can work around the issue but adding the Simple or Jetty extension in the classpath. |
Yes, the default. I ll stick to 2.1.1 for now but will try simple/jetty extension. |
Finally found some time to give it a try. Yes, using the Simple extention in the classpath works on XP. |
The current internal connector is not fully stabilized yet, we prefer tell you to use either the Simple of Jetty extensions which are fully approved for production. |
now i use the restlet 2.1.4, i meet the same question ,how can i get the Simple or Jetty extensions |
You need to download the Java SE edition of Restlet. |
i download the java EE google find the Simple extensions (org.restlet.ext.simple 2.1.4) and i got this |
thanks |
Thanks for this thread, it solves the problem I had (using Simple HTTP Server). Jérôme, Thierry, don't you think this piece of information should appear in http://restlet.org as a prerequisite, or a side note to the "First Server" entry in the user guide ? Amazing job all anyway ! |
@Zzirconium Thanks for your feed-back. Have you tried RF 2.1.7? The default HTTP server shouldn't have this issue anymore, thus not requiring usage of the extension connectors (Jetty or Simple)? It would be great if you could let us know. |
Since I was running under 2.1.6, my first reaction yesterday was to try with the newer version. And I still had the same trouble : server starts, and when attempting to connect using a browser, nothing happens although some connection exists since the browser keeps waiting for an answer. I will give a new try next week for I might have made a mistake swatching jar file, and i'll confirm |
Hmmm I checked again and 2.1.7 still have the problem on XP (it's a 64 bits juste to be exact). Here is my classpath in case you think there might be a side effect from other libs :
Here is the import section :
And finally the server start code:
|
Let's clarify this before next release (2.2 RC3 and potentially 2.1.8). Between 2.1.6 and 2.1.7 it is likely that there was no change made to org.restlet.jar source code, enhance the same binary size, but this is worth double checking. Assigned to @thboileau |
OK maybe a bit late. I tried the last RC2 of 2.2 and it works fine on XP now with the embedded HTTP server. So that's good and so will most probably be the case of stable 2.2. Sorry for the mess ! |
Thanks for the clarification, indeed the internal HTTP server was only changed in the 2.2 branch, not in the 2.1 branch. One of my previous comment might have misled you. To summarize before closing this issue: please update to 2.2 RC2 or above to fix stability issues with internal HTTP connectors observed in 2.1 or previous 2.2 releases. |
On Fri, Feb 28, 2014 at 7:23 PM, Jerome Louvel notifications@github.comwrote:
|
Oops, you're correct Tim, I meant 2.2 RC2. 2.2 RC3 should be realized very soon however, hence the confusion |
Updated my previous comment |
@Tembrel 2.2 RC3 is now available. From our point of view, the issues related to the internal HTTP server are now fully solved. |
Restlet 2.1.2 (e.g. HelloServer and HelloClient) is not running Windows XP. My real app is working with no problems on 7 and Vista, but not on XP.
The server starts, the ports are listening. The clients seems to connect but nothing happens, it simply hangs.
If I close the server, the clients shows errors.
2.1.1 is running like a charm.
The text was updated successfully, but these errors were encountered: