I feel a bit sheepish about it.But the Failure was much simpler then you all could imagine (obviously):
simply i missed "extends RemoteService" ! but now it seems i got a real problem: the 3rd party class the server side uses jpa2 as mentioned before. and its code now throws "no persistence unit found". But the unit exists: in fact this 3rd party jar is executable and its running fine stand alone (the persistence.xml is contained in jar file, packed by maven-assembly- plugin). so it seems that the access to "persistence.xml" is some how restricted if the jar is accessed thru jetty/myApp? On 17 Mrz., 16:03, tanteanni <tantea...@hotmail.com> wrote: > (this is my last attempt to get a message through the moderators - my > last 2 question seem to be ignored) > > at the moment i am working on my first gwt application (after going > through the (great) stockwatcher tutorial). I am facing problem on > getting server side services to work. on starting my app in > development mode i get: > > 15:41:13.749 [ERROR] [myApp] Unable to load module entry point class > myPackage.client.myApp (see associated exception for details) > > java.lang.RuntimeException: Deferred binding failed for > 'myPackage.client.services.AgsService' (did you forget to inherit a > required module?) > at > com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) > at com.google.gwt.core.client.GWT.create(GWT.java:98) > at myPackage.client.GWZmenu.<init>(GWZmenu.java:39) > at myPackage.client.myApp.onModuleLoad(myApp.java:35) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: > 25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: > 396) > at > com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: > 183) > at > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: > 510) > at > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: > 352) > at java.lang.Thread.run(Thread.java:619) > Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see > previous log entries) > at > com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: > 503) > at > com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) > at com.google.gwt.core.client.GWT.create(GWT.java:98) > at myPackage.client.GWZmenu.<init>(GWZmenu.java:39) > at myPackage.client.myApp.onModuleLoad(myApp.java:35) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: > 25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: > 396) > at > com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: > 183) > at > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: > 510) > at > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: > 352) > at java.lang.Thread.run(Thread.java:619) > > The Serviceinterface is: > @RemoteServiceRelativePath("AgsService") > public interface AgsService { > Map<String, String[]> getFedLandsCounties(); > Map<String, String[]> getFedLandsComm(); > Map<String, String[]> getCountiesComm(); > > } > > The Implementation uses a jar that connects via jpa2 to a db to get > the Maps. I am using Maven the app was generated via appcreator (- > maven). > > with this interface i went through the according part of stockwatcher- > tutorial (added Impl(emantation), an Async interface, updated web.xml) > > the web.xml looks like this: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app> > > <!-- Servlets --> > <servlet> > <servlet-name>AgsServiceImpl</servlet-name> > <servlet-class>myPackage.server.AgsServiceImpl</servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>AgsServiceImpl</servlet-name> > <url-pattern>/myApp/AgsService</url-pattern> > </servlet-mapping> > > <!-- Default page to serve --> > <welcome-file-list> > <welcome-file>myApp.html</welcome-file> > </welcome-file-list> > > </web-app> > > is there anybody whi can say what i did wrong or could say how / where > to look to solve this problem? > > thx in advance -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.