Hi
I have an problem with the pervasive jdbc driver in a applet. I get this error on runtime
java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.pervasive.jdbc.common.Encoding.getSystemEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.setNewEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.<init>(Unknown Source)
at com.pervasive.jdbc.lna.LNAObject.setEncoding(Unknown Source)
at com.pervasive.jdbc.v2.Connection.<init>(Unknown Source)
at com.pervasive.jdbc.v2.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at TrivialApplet.init(TrivialApplet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.pervasive.jdbc.common.Encoding.getSystemEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.setNewEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.<init>(Unknown Source)
at com.pervasive.jdbc.lna.LNAObject.setEncoding(Unknown Source)
at com.pervasive.jdbc.v2.Connection.<init>(Unknown Source)
at com.pervasive.jdbc.v2.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at TrivialApplet.init(TrivialApplet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can anybody give me a push in the right direction
Cheers
Ab2002
I have an problem with the pervasive jdbc driver in a applet. I get this error on runtime
java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.pervasive.jdbc.common.Encoding.getSystemEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.setNewEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.<init>(Unknown Source)
at com.pervasive.jdbc.lna.LNAObject.setEncoding(Unknown Source)
at com.pervasive.jdbc.v2.Connection.<init>(Unknown Source)
at com.pervasive.jdbc.v2.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at TrivialApplet.init(TrivialApplet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.pervasive.jdbc.common.Encoding.getSystemEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.setNewEncoding(Unknown Source)
at com.pervasive.jdbc.common.Encoding.<init>(Unknown Source)
at com.pervasive.jdbc.lna.LNAObject.setEncoding(Unknown Source)
at com.pervasive.jdbc.v2.Connection.<init>(Unknown Source)
at com.pervasive.jdbc.v2.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at TrivialApplet.init(TrivialApplet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can anybody give me a push in the right direction
Cheers
Ab2002