If you are using the Google Eclipse Plugin, is your project marked as an appengine project? If so, you'll want to unselect that option to use a regular database.
-jason On May 28, 2009, at 3:01 AM, SmartGWT_D wrote: > > Hi, did you find a solution for your problem, because I've the same. > And I yould like to add some information : I can access the DataBase > with my IP adress so thats not the cause of my problem. > > > On May 18, 7:57 pm, "[email protected]" <[email protected]> wrote: >> I've just set up the GWT today as plugin to Eclipse (3.4.1) after >> installing PostgreSQL (8.3). I'm pretty new to these applications, >> and >> have been having minor snag after minor snag that's resulting in a >> rather large hole in my shirt. >> >> Right now I have a problem that isn't GWT's fault, per se, but I >> don't >> know where to look in the Eclipse project to find the appropriate >> permissions file. >> >> Long story short: Ineedto add the permissions >> forjava.net.SocketPermissionto localhost onport5432, and I think this >> because I get the following error when trying toconnectto >> mydatabaseafter loading the JDBC driver for postgresql: >> >> "org.postgresql.util.PSQLException:Yoursecuritypolicyhasprevented >> theconnectionfrombeingattempted. >> Youprobablyneedtogranttheconnectjava.net.SocketPermissionto >> thedatabaseserverhostandport >> thatyouwishtoconnectto." >> >> I've tried adding such asecuritypolicyto all of my JRE's /jre/lib/ >> security/java.policyfiles, but no luck - still get the error. Am I >> creating thepolicywrong in those files, or is it that when the GWT >> debugs/compiles it obeys a differentpolicyfile? >> >> Please let me know, thanks in advance, and please pardon me if >> thishasalready been covered... but I've been googling around for an >> hour >> or so, and the only answers I've found pertain to TomCat servers, >> which I'm pretty sure I'm not using. Thanks again :) > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
