Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic accessControlException

Radha Sirisha
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. access denied (java.util.PropertyPermission org.apache.commons.discovery.log.level

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(
at org.apache.commons.discovery.log.DiscoveryLogFactory.<clinit>(
at org.apache.commons.discovery.jdk.JDK12Hooks.<clinit>(
at org.apache.commons.discovery.jdk.JDKHooks.<clinit>(
at org.apache.axis.components.logger.LogFactory$
at Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(
at org.apache.axis.components.logger.LogFactory.<clinit>(
at org.apache.axis.handlers.BasicHandler.<clinit>(
at org.apache.axis.client.Service.getAxisClient(
at org.apache.axis.client.Service.<init>(
Caused by: access denied
(java.util.PropertyPermission org.apache.commons.discovery.log.level
at Source)
at 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>(
... 25 more
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic