Aparajith,

Since this is a problem in Commons Logging, please ask on their mailing lists. I guess the solution is to setup commons logging programmatically, instead of relying on System properties, BEFORE making any calls to HttpClient.

Cheers

Ortwin

Aparajith Srinivasan Vangal wrote:

Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission
org.apache.commons.logging.LogFactory.HashtableImpl 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.logging.LogFactory.createFactoryStore(LogFactory.java
:320)

            at
org.apache.commons.logging.LogFactory.<clinit>(LogFactory.java:1725)

            ... 26 more


--
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
       finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to