Hello,

I'm currently trying to create my own implementation of the secured
login design presented in the following link:

http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ

Everything seems to work just fine concerning the RPC and UI, however
once the user tries to insert data in mysql while the application is
run on developing / debugging mode, I get the following error:


com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure

The last packet sent successfully to the server was 0 milliseconds
ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
                           ...
                           ...

And the cause is:

Caused by: java.security.AccessControlException: access denied
(java.net.SocketPermission localhost resolve)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323)
                          ...
                          ...

I searched the web for any useful information but it led to nowhere,
however all I got was an assumption of the problem being related to
the Jetty default GWT server which is blocking my request for security
reasons. I tried configuring it but the lack of information on where
Jetty's file are located and on how to configure them, prevented me to
progress any further.

So, if someone might have the solution, please share it on this
thread.
Any help will do,

Thank you so much!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to