Java permission error with DB2 UDB 
Author Message
 Java permission error with DB2 UDB

Please tell me how to solve this permission error?

I used the policy editor and added and entry for the db2java.zip object that
contains on the client.
I am not sure how to add an entry for the db2 instance.

java.lang.ExceptionInInitializerError: java.security.AccessControlException:
access denied (java.util.PropertyPermission ibm.db2.instance.path 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.ibm.db2.jdbc.app.DB2Driver.<init>(DB2Driver.java:170)

 at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(DB2Driver.java:129)

 at java.lang.Class.forName0(Native Method)

 at java.lang.Class.forName(Unknown Source)

 at ObRun.ObDatabase.ObDatabaseMgr.connect(ObDatabaseMgr.java:132)

 at AISCMPACK.CM8x9F_ObFnc.ObRun(CM8x9F_ObFnc.java:124)

 at ObRun.ObFunction.ObLocalJavaCall.call(ObCall.java:185)

 at ObRun.ObFunction.ObCallMgr.obCallFunction(ObCallMgr.java:133)

 at ObRun.ObFunction.ObCallMgr.obCallFunction(ObCallMgr.java:111)

 at ObRun.ObFunction.ObApplication.obCallFunction(ObApplication.java:374)

 at AISCMMISC.CM9acF_ObFnc.ObSbr_CM9acF8(CM9acF_ObFnc.java:837)

 at AISCMMISC.CM9acF_ObFnc.ObSbr_CM9acF5(CM9acF_ObFnc.java:526)

 at AISCMMISC.CM9acF_ObFnc.ObSbr_CM9acF4(CM9acF_ObFnc.java:464)

 at AISCMMISC.CM9acF_ObFnc.ObRun(CM9acF_ObFnc.java:179)

 at ObRun.ObFunction.ObLocalJavaCall.call(ObCall.java:185)

 at ObRun.ObFunction.ObCallMgr.obCallFunction(ObCallMgr.java:133)

 at ObRun.ObFunction.ObCallMgr.obCallFunction(ObCallMgr.java:111)

 at ObRun.ObFunction.ObApplication.obCallFunction(ObApplication.java:374)

 at AISCMPNL.CM9asF_ObFnc.ObSbr_CM9asF29(CM9asF_ObFnc.java:5169)

 at AISCMPNL.CM9asF_ObFnc.ObSbr_CM9asF1(CM9asF_ObFnc.java:1296)

 at AISCMPNL.CM9asF_ObFnc.ObRun(CM9asF_ObFnc.java:168)

 at ObRun.ObFunction.ObLocalJavaCall.call(ObCall.java:185)

 at ObRun.ObFunction.ObCallMgr.obCallFunction(ObCallMgr.java:133)

 at ObRun.ObFunction.ObCallMgr.obCallFunction(ObCallMgr.java:111)

 at ObRun.ObFunction.ObApplication.obCallFunction(ObApplication.java:374)

 at ObRun.ObPanel.ObLaunch$ObApplet.run(ObLaunch.java:163)



Mon, 13 Sep 2004 20:13:38 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Error in Java Program, when it accesses DB2 UDB 7.2 from DB2 UDB 5.2 Client

2. DB2 UDB 7.2 and DB2 UDB for AS/400 V5R1

3. Restoring DB2 UDB 5.2 to UDB 7.2 question.

4. DB2 UDB 7.2 on RedHat7.3/intel install error (tcpip)

5. DB2 Text Extender on UDB 7.2 - Internal Error Location 406, 3

6. Help: ODBC Driver Errors and DB2 UDB on NT

7. Connecting from DB2 UDB V8 Client to DB2 VM 7.2

8. SQL -30061 when trying to reach DB2 UDB from DB2 MVS

9. DB2 and DB2 UDB

10. DB2 Connect PE and DB2 UDB Workgroup on Linux

11. DB2 UDB 7.1 fp3 AIX 4.3.3 db2 command processor and crontab

12. Difference between DB2 UDB 7.2 and DB2/400


 
Powered by phpBB® Forum Software