Since you are trying to use MySQL as your database, you can't use Google's App Engine. It is its own data store. So, look at the properties of your project. There should be a Google section. The App Engine will be checked. Uncheck it. You can't use App Engine and your own database.
HTH, Chad On Sep 7, 2:41 am, GumbyGWTBeginner <[email protected]> wrote: > OK > > I got ot to work now using a solution I found on this site. > > Can anyone tellme what this means and how this will effect further > works? > > if you are using eclipse, > try to go under Project->properties->google->App Engine > and disable "Use Google App Engine" checkbox . > > With the above turn ON the CONNECTION wont work. > > The server is running athttp://localhost:8080/ > Sep 7, 2009 7:39:24 AM > com.google.appengine.tools.development.ApiProxyLocalImpl log > SEVERE: [1252309164265000] javax.servlet.ServletContext log: Exception > while dispatching incoming RPC call > com.google.gwt.user.server.rpc.UnexpectedException: Service method > 'public abstract java.lang.String > com.ddd.client.GreetingService.greetServer(java.lang.String)' threw an > unexpected exception: java.lang.NullPointerException > at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure > (RPC.java:360) > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > (RPC.java:546) > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > (RemoteServiceServlet.java:166) > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > (RemoteServiceServlet.java:86) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 487) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > (ServletHandler.java:1093) > at > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter > (TransactionCleanupFilter.java:43) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > (ServletHandler.java:1084) > at com.google.appengine.tools.development.StaticFileFilter.doFilter > (StaticFileFilter.java:124) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > (ServletHandler.java:1084) > at org.mortbay.jetty.servlet.ServletHandler.handle > (ServletHandler.java:360) > at org.mortbay.jetty.security.SecurityHandler.handle > (SecurityHandler.java:216) > at org.mortbay.jetty.servlet.SessionHandler.handle > (SessionHandler.java:181) > at org.mortbay.jetty.handler.ContextHandler.handle > (ContextHandler.java:712) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 405) > at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle > (DevAppEngineWebAppContext.java:54) > at org.mortbay.jetty.handler.HandlerWrapper.handle > (HandlerWrapper.java:139) > at com.google.appengine.tools.development.JettyContainerService > $ApiProxyHandler.handle(JettyContainerService.java:313) > at org.mortbay.jetty.handler.HandlerWrapper.handle > (HandlerWrapper.java:139) > at org.mortbay.jetty.Server.handle(Server.java:313) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 506) > at org.mortbay.jetty.HttpConnection$RequestHandler.content > (HttpConnection.java:844) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > at org.mortbay.io.nio.SelectChannelEndPoint.run > (SelectChannelEndPoint.java:396) > at org.mortbay.thread.BoundedThreadPool$PoolThread.run > (BoundedThreadPool.java:442) > Caused by: java.lang.NullPointerException > at com.ddd.server.GreetingServiceImpl.greetServer > (GreetingServiceImpl.java:29) > 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.user.server.rpc.RPC.invokeAndEncodeResponse > (RPC.java:527) > ... 27 more > > On Sep 7, 9:48 am, GumbyGWTBeginner <[email protected]> wrote: > > > > > Found the Quick Fix. > > > But still not sure on how to include the code on Server Side or how > > this Qucik Fix applies to my problem. > > > Stephan > > > On Sep 7, 9:18 am, GumbyGWTBeginner <[email protected]> wrote: > > > > How would do this "Quick Fix". Not really sure how you would do this. > > > > Stephan > > > > On Sep 6, 11:15 pm, Christian Goudreau <[email protected]> > > > wrote: > > > > > Just do a quick fix and the message will desapear. You need this on > > > > server > > > > side, so you need to do it. > > > > > Christian > > > > > On Sun, Sep 6, 2009 at 7:53 AM, GumbyGWTBeginner > > > > <[email protected]>wrote: > > > > > > I have downloaded Driver. > > > > > I have in Ellcipse -> Build Path -> Add External Archives and added > > > > > the ZIP file with the JAR files. And it seamed to add ok. > > > > > > I now get the following error in the IDE (seen below) which sort of > > > > > suggest that the JAR files wont be available in my server side code. > > > > > > Is this correct? and how do I make it so my Code on the server can > > > > > connect to theMySQLDB? > > > > > > P.S. Thanks for all the help guys. Its been a great. > > > > > > Errors: > > > > > The following classpath entry 'C:\Program Files\Java\mysql-connector- > > > > > java-5.1.8\mysql-connector-java-5.1.8-bin.jar' will not be available > > > > > on the server's classpath > > > > > The following classpath entry 'C:\Program Files\Java\mysql-connector- > > > > > java-5.1.8.zip' will not be available on the server's classpath > > > > > > Stephan > > > > > > On Sep 5, 8:28 pm, Yanick <[email protected]> wrote: > > > > > > Download the jar here > > > > > > >http://dev.mysql.com/downloads/connector/j/5.1.html > > > > > > > Read the documentation here > > > > > > >http://dev.mysql.com/doc/refman/5.0/en/connector-j.html-Hidequotedtext > > > > > > - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
