Hello,
I am getting the following exception when I try to run my applet with a Restlet
client.
Sep 30, 2010 2:53:41 PM org.restlet.engine.http.connector.HttpClientHelper start
INFO: Starting the default HTTP client
Sep 30, 2010 2:53:42 PM org.restlet.resource.ClientResource handle
INFO: A recoverable error was detected (1001), attempting again in 2000 ms.
Sep 30, 2010 2:53:45 PM org.restlet.resource.ClientResource handle
INFO: A recoverable error was detected (1001), attempting again in 2000 ms.
Communication Error (1001) - Connection refused: connect
at org.restlet.resource.ClientResource.handle(ClientResource.java:854)
at org.restlet.resource.ClientResource.handle(ClientResource.java:759)
at org.restlet.resource.ClientResource.get(ClientResource.java:492)
at
com.enabletv.applet.VideoProcessingApplet.init(VideoProcessingApplet.java:427)
at sun.applet.AppletPanel.run(AppletPanel.java:424)
at java.lang.Thread.run(Thread.java:619)
1. I don't get this when I access my server Application outside of an applet
hosted in Eclipse. I altered the org.restlet.example.tutorial.Part02a.java from
the tutorials section and it successfully connects to my server.
2. I have seen
http://wiki.restlet.org/docs_2.0/13-restlet/333-restlet/338-restlet.html
and have followed the guidance there to no avail.
3. I can build my applet outside of Eclipse and run it in a browser with or
without the solution in 2.
4. config notes:
- Restlet 2.01
- only jar file referenced is org.restlet.jar
What else I should try? I'm not sure how much additional information is needed,
but I don't think I'm doing anything crazy and someone else must have this
issue.
Thanks,
Darin
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2666702