• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.security. accessControlException  RSS feed

 
Radha Sirisha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a java application (runs from JWS) which makes a web service call. However, I am getting an accessControlException in the java console.
java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.discovery.log.level
read)


Most of the solutions that I came acros were specific to an applet rather than an application. Also, I am using axis 1.1 with jboss 4.0.1. Below is the full stack trace. Any help with this is greatly appreciated. Thanks for your time!

Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at org.apache.commons.discovery.log.DiscoveryLogFactory._newLog(DiscoveryLogFactory.java:94)
at org.apache.commons.discovery.log.DiscoveryLogFactory.<clinit>(DiscoveryLogFactory.java:57)
at org.apache.commons.discovery.jdk.JDK12Hooks.<clinit>(JDK12Hooks.java:35)
at org.apache.commons.discovery.jdk.JDKHooks.<clinit>(JDKHooks.java:29)
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:366)
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:332)
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
at org.apache.axis.client.Service.getAxisClient(Service.java:104)
at org.apache.axis.client.Service.<init>(Service.java:113)
Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission org.apache.commons.discovery.log.level
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 org.apache.commons.discovery.log.SimpleLog.<clinit>(SimpleLog.java:108)
... 25 more
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!