RE: Re: Restlet GWT RPC 2.0 ** SOLVED **
Hi Kevin, Thanks for the feed-back. Feel free to update the related wiki page. In the current source code, we do log a message if no matching converter is found. If you have a chance to try again with 2.0 M7 for example, please let us know if you still can't see any warning message. Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -Message d'origine- De : Kevin Daly [mailto:ked...@sqm.ca] Envoyé : jeudi 7 janvier 2010 16:55 À : discuss@restlet.tigris.org; Jerome Louvel Objet : RE: Re: Restlet GWT RPC 2.0 ** SOLVED ** I got it working, the issue was dependencies. I needed to include the gwt extension in classpath of my Servlet Based application. I also needed to add the GWT 2.0 libraries to the Servlet app. I will write up a document with examples so that anyone else that has this problem can fix it. I would also like to suggest throwing an error when a certain type is requested in the http header and the Restlet framework does not have a converter for it. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2448286
RE: Re: Restlet GWT RPC 2.0
Hello Niclas and all, sorry for not having reported that before, but this bug has been fixed by the 2.0m7. You should be able to plainly use IDEA. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2448308
Re: Re: Restlet GWT RPC 2.0
And suddenly a new one showed up (I don't use ServiceList AFAIK); [INFO] [ERROR] Errors in 'jar:file:/Users/niclas/.m2/repository/org/restlet/gwt/org.restlet/2.0-SNAPSHOT/org.restlet-2.0-SNAPSHOT.jar!/org/restlet/client/util/ServiceList.java' [INFO] [ERROR] Line 66: The method isAssignableFrom(Classcapture#1-of ? extends Service) is undefined for the type ClassT [INFO] [ERROR] Line 104: The method isAssignableFrom(Classcapture#3-of ? extends Service) is undefined for the type Classcapture#2-of ? extends Service Apparently, the code that ends up inside the GWT module is not fully GWT compatible, which may be a sideeffect from trying to re-use too much code. Cheers On Wed, Jan 13, 2010 at 11:50 PM, Niclas Hedhman nic...@hedhman.org wrote: On Wed, Jan 13, 2010 at 9:46 PM, Kevin Daly ked...@sqm.ca wrote: It's now compiling for me. The errors don't seem to cause any issues. I guess it will all be worked out in the next milestone. see this post in the bug tracker. http://restlet.tigris.org/issues/show_bug.cgi?id=1004 Not sure if we are observing the same problem. I have all the while had the GWT served from one webapp (.war) and the Restlet based server in a different webapp. All the while the GWT edition of org.restlet (and servlet) has been separated from the JEE edition during compile, so I don't think it is related. (Or do I misunderstand your explaination?) I have worked off the HEAD for a while, but can't pinpoint the time of breakage, whether it was something that changed in Restlet, my introduction of GWT 2.0 OR some statement that I have added that triggers the problem. After all, doesn't GWT only traverse the usage graphs of classes when it decides what to be pulled in? I'll see if I can pull together a really tiny testcase... Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2437598
RE: Re: Restlet GWT RPC 2.0
It's now compiling for me. The errors don't seem to cause any issues. I guess it will all be worked out in the next milestone. see this post in the bug tracker. http://restlet.tigris.org/issues/show_bug.cgi?id=1004 My last post is how I got it all working. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2437013
Re: Re: Restlet GWT RPC 2.0
It's still pretty annoying to have to drag in servlets. Is it really too hard to extract the important parts of GwtShellServlet into a Restlet? --tim On Wed, Jan 13, 2010 at 8:46 AM, Kevin Daly ked...@sqm.ca wrote: It's now compiling for me. The errors don't seem to cause any issues. I guess it will all be worked out in the next milestone. see this post in the bug tracker. http://restlet.tigris.org/issues/show_bug.cgi?id=1004 My last post is how I got it all working. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2437013 -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2437033
Re: Re: Restlet GWT RPC 2.0
On Wed, Jan 13, 2010 at 9:46 PM, Kevin Daly ked...@sqm.ca wrote: It's now compiling for me. The errors don't seem to cause any issues. I guess it will all be worked out in the next milestone. see this post in the bug tracker. http://restlet.tigris.org/issues/show_bug.cgi?id=1004 Not sure if we are observing the same problem. I have all the while had the GWT served from one webapp (.war) and the Restlet based server in a different webapp. All the while the GWT edition of org.restlet (and servlet) has been separated from the JEE edition during compile, so I don't think it is related. (Or do I misunderstand your explaination?) I have worked off the HEAD for a while, but can't pinpoint the time of breakage, whether it was something that changed in Restlet, my introduction of GWT 2.0 OR some statement that I have added that triggers the problem. After all, doesn't GWT only traverse the usage graphs of classes when it decides what to be pulled in? I'll see if I can pull together a really tiny testcase... Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2437053
RE: Re: Restlet GWT RPC 2.0 ** SOLVED **
I got it working, the issue was dependencies. I needed to include the gwt extension in classpath of my Servlet Based application. I also needed to add the GWT 2.0 libraries to the Servlet app. I will write up a document with examples so that anyone else that has this problem can fix it. I would also like to suggest throwing an error when a certain type is requested in the http header and the Restlet framework does not have a converter for it. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2435507