As mentioned before, this is because you appear to have Google App Engine enabled, not from Jetty itself. You need to remove GAE from your project. If you see something like:
-server com.google.appengine.tools.development.gwt.AppEngineLauncher in the arguments, you are running with GAE. To remove this, open Properties under the project, click on Google->App Engine and uncheck "Use Google App Engine". On Apr 20, 11:31 am, keyboard_samurai <[email protected]> wrote: > The Jetty Environment does not let me create database connections as > it has restricted the API usage.:) > > and hence i am getting an exception which has been described in the > first post. > > Thanks! > > On Apr 20, 10:05 pm, kozura <[email protected]> wrote: > > > > > Not sure where your trouble spot is, but the easiest way is just to > > use GWT-RPC, as described here with an example: > > >http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat... > > > Create a Synchronous and matching Asynchronous interface, then in the > > server code implement the Synchronous interface to do all your server- > > side stuff, access databases, whatever. When you start Hosted/Dev > > mode, GWT will start a Jetty (or tomcat in older GWT versions) server > > which runs your server code concurrently with your client code so that > > you can debug them together. > > > On Apr 20, 10:45 am, keyboard_samurai <[email protected]> wrote: > > > > "Not at all, you can do anything you want in Java on the server side, > > > including connecting to databases etc, and have it work in hosted > > > (development) mode. " > > > > Can you tell me how ??? > > > > Thanks !! -- 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.
