Hi,
This sounds like it is postgres specific, did you add the allowed ip address in your postgres configuration files to allow the postgress (postmaster server), and are you running the postmaster (internet damen for postgress) ? You probably want to try something like http://squirrel-sql.sourceforge.net first before worring about attaching a new application, just to see if postgres is set up and running correctly. Cheers, Scott www.adligo.com All my demos run on postgress :) On May 18, 12: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: I need to add the permissions for > java.net.SocketPermission to localhost on port 5432, and I think this > because I get the following error when trying to connect to my > database after loading the JDBC driver for postgresql: > > "org.postgresql.util.PSQLException: Your security policy has prevented > the connection from being attempted. You probably need to grant the > connect java.net.SocketPermission to the database server host and port > that you wish to connect to." > > I've tried adding such a security policy to all of my JRE's /jre/lib/ > security/java.policy files, but no luck - still get the error. Am I > creating the policy wrong in those files, or is it that when the GWT > debugs/compiles it obeys a different policy file? > > Please let me know, thanks in advance, and please pardon me if this > has already 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 -~----------~----~----~----~------~----~------~--~---
