Ari Block
unread,Feb 1, 2012, 4:27:23 AM2/1/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit Contributors
I am runing this code :
Class.forName("net.sourceforge.jtds.jdbc.Driver");
con = DriverManager.getConnection("jdbc:jtds:sqlserver://localhost:
1433/Registration;namedPipe=true","sa","sa");
// Create and execute an SQL statement that returns some data.
String SQL = "SELECT TOP 1000 [Test] FROM [Registration].[dbo].
[Test]";
and getting security errors, all over the web they are talking about
adding security in the policy files
and man did I add all primisions to all policy file ( there is a lot
of them)!!!
java.security.AccessControlException: access denied
("java.io.FilePermission" "C:\Users\ablock\AppData\Local\Temp" "read")
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
366)
at
java.security.AccessController.checkPermission(AccessController.java:
555)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
549)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityMa
then i get pissed, and say ok if we have eliminated all that is
positional it must be the impossible.
as it turns out once turning off the Google App engine all works.
Google whats up with that app engine ???
if there is a Google developer here give me a buzz, i will provide all
logs and info.
Good luck guys, live long and prosper, RE-Block