Sorry to state the obvious but if: As soon as I added the getSessionIdStr() for debugging purposes, I get the IncompatibleRemoteServiceException Could not locate requested method getSessionIdStr(), etc.
the obvious is either a) you have not added the new method to your RPC servlet implementation (or you have spelled it wrong or used the asynch signature etc) or b) you have not recompiled and deployed successfully the new version of it to your target Tomcat instance. There is no reason why what you have done should not work, so.... are you quite sure it is not one of these? regards gregor On Jan 6, 5:00 pm, Nick <[email protected]> wrote: > No, I'm running a fresh installed tomcat with nothing else in it. But > this does bring up a question, I have MyService.java and > MyServiceAsync.java with my client code so it don't get compiled into > a .class file and get moved to my WEB-INF/classes. Guessing this > isn't the issue cause it's worked before, but thought I'd bring it > up. > > It almost feels like a cache isnt getting cleared. > > On Jan 6, 11:56 am, Bakulkumar <[email protected]> wrote: > > > Do u have Service and ServiceAsync interface in other projects? If > > yes, then you forgot to export the compiled jar of it in to web-app's > > WEB-INF/lib directory. > > > -Bakul. > > > On Jan 6, 11:13 am, Nick <[email protected]> wrote: > > > > Ok, let me add on something else I've found. I've not removed the > > > getSessionIdStr() which was causing my problems. Of course everything > > > works again. > > > Next I've made a change to the original method that did work. I > > > changed: > > > getMyEvents(int num) > > > to > > > getMyEvents(int num, boolean b) > > > > Of course I made the changes in all files so it would compile and run > > > in hosted browser, but it gives me the same exception when running in > > > an outside tomcat. Could > > > not locate requested method getMyEvents(int num, boolean b). > > > > I rebooted my server and still nada. I have to be missing something > > > simple...any clues? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
