• Post Reply Bookmark Topic Watch Topic
  • New Topic

rgdg java.security  RSS feed

 
san jan
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi am using jdk1.3 on linux. i ran the program under root login. still i get the following exception. any help in this regard would be appreciated. any possible reasons???
Exception got is:
java.security.AccessControlException: access denied (java.util.PropertyPermissio
n user.dir read)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
at java.security.AccessController.checkPermission(AccessController.java:
399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:12
78)
at java.lang.System.getProperty(System.java:560)
at java.io.UnixFileSystem.resolve(UnixFileSystem.java:108)
at java.io.File.getAbsolutePath(File.java:393)
at com.....Storage.getDirName(Storage.java:619
)
at com.....Storage.getJarName(Storage.java:634
)
at com.....Storage.getBundleContents(Storage.j
ava:231)
at com.....FrameworkController.installBundle(F
rameworkController.java:603)
at com.....FrameworkController.installBundle(F
rameworkController.java:540)
at com.....BundleContextImpl.installBundle(Bun
dleContextImpl.java:298)
at com.....Framework$5.run(Framework.java:961)
at com.....Framework.run(Framework.java:1672)
at com.....Framework.main(Framework.java:235)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!