You have no restriction in a non app-eng application in eclipse. I think it is a configuration issue, after unchecking the appengine you have to remove all the appengine stuff in the war/WEB-INF/lib folder. Try to create a new gwt project (non appengine) from scratch using eclipse wizard, and you could test that you can write in the file system, open sockets, etc in server side without problem. Another issue in 2.0.x development mode is that you have to add the parameter '-bindAddress 0.0.0.0' if you want to use non localhost browsers.
-Manolo On Sun, Apr 4, 2010 at 8:09 PM, whitewash <[email protected]> wrote: > Hello, > I'm developing an app which requires socket connection by some of its > RPC (and also non-RPC) servlets. This connection is needed for example > by a JDBC driver. > > In GWT 2.0, the Dev mode (jetty server) now disallows socket > connections, so I've been searching way to overcome this restriction > (I won't be using the app on AppEngine, so I don't need to comply with > its restrictions anyway). There are many discussions (such as this: > http://groups.google.com/group/google-web-toolkit/browse_thread/thread/e14f17aa30e8e044/9f8514741bfb8719?lnk=gst&q=socket#9f8514741bfb8719 > )in which disabling the appengine (e.g. uncheck Use Appengine in > Eclipse project's properties) is suggested. However, when I disable > Appengine, the dev mode no longer works (jetty server keeps responding > with HTTP403 or throws bunch of exceptions in Eclipse's console) > > So, basically, my question is: How to overcome the Socket restriction > AND still be able to run/debug the project via Eclipse? The > application is targetted for Glassfish3, so if there was a way to > debug on glassfish directly from Eclipse, that would completely > suffice ;) > > Thanks 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 [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. > > -- 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.
