Hi,
I'm building a GWT apps which works as expected from the hosted mode
in Eclipse. I require an access to mysql in my which is hosted on my
server. To make hosted mode work, I make an ssh tunnel to my server
and like I said, I can select and update my mysql db. When I deploy
my app on my server, the same that hosts mysql, I can read my db
(select) but I can't update it anymore. Looks like it's read-only.
Here's what I'm getting.
23-Nov-2009 2:07:47 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
java.security.AccessControlException: access denied
(java.lang.reflect.ReflectPermission suppressAccessChecks) ^Iat
java.security.AccessControlContext.checkPermission
(AccessControlContext.java:323) ....
I added those lines to catalina.policy:
grant codeBase "file:${catalina.home}/webapps/-" {
permission java.net.SocketPermission "192.168.36.9:3306",
"connect";
permission java.net.SocketPermission "localhost:3306", "connect";
};
Using GWT1.7, ubuntu 8.04, tomcat, mysql.
--
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=.