Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 5270 invoked from network); 28 May 2008 07:39:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 07:39:50 -0000 Received: (qmail 10853 invoked by uid 500); 28 May 2008 07:39:47 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 9955 invoked by uid 500); 28 May 2008 07:39:45 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 9944 invoked by uid 99); 28 May 2008 07:39:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 00:39:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wwagner4@gmail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 07:38:51 +0000 Received: by wf-out-1314.google.com with SMTP id 28so2333493wff.27 for ; Wed, 28 May 2008 00:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=tIn4Io1oZs9FHbJGWlRHXOlquEiOmAI3crZsKinOV90=; b=uELr26krT9AMkizQ5dg1ygf85MJKfrX5DGovmso/QKWoBssXmHPivGRUp25peQSMIeP//pP9U94EcBd3MjdVBFLOPLyd2bTtRXMd8R2EFvte1Hy103YximlpMcfrMv4Yg8fqB4YLiD2cqQulIRrtL+60nAeLoduASoI1v0NEa/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TeWl8EMJvxUk6R+pgdJbVNogDzpWRCEKkTxogDR7f9IGz+m+bYXk1yfKYZDiYZrICDYccYNpjirZqnLnBrdmS3mI7AWFE2Jq/7SKwa/DDt+XJJkhHQUcc6vdlBVe23i6cT53Rd/xrcRg9Jg/emLgTYIhcjjpxBZ9jP6V4jFgXtY= Received: by 10.142.44.11 with SMTP id r11mr902926wfr.178.1211960352220; Wed, 28 May 2008 00:39:12 -0700 (PDT) Received: by 10.142.216.16 with HTTP; Wed, 28 May 2008 00:39:12 -0700 (PDT) Message-ID: Date: Wed, 28 May 2008 09:39:12 +0200 From: "Wolfgang Wagner" To: user@commons.apache.org Subject: [commons-logging] cannot use commons-logging (or any library that uses it) in secure client MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi I have a problem starting my client in a secure context when I use a library that uses commons-logging. (e.g. spring) Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError at org.springframework.util.ClassUtils.(Class Utils.java:73) at org.springframework.core.io.DefaultResourceLoader. (DefaultResourceLoader.java:52) (...) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.logging.LogFactory.HashtableImp l read) at java.security.AccessControlContext.checkPermission (Unknown Source) at java.security.AccessController.checkPermission(Unk nown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPropertyAccess(Unkn own Source) at java.lang.System.getProperty(Unknown Source) at org.apache.commons.logging.LogFactory.createFactor yStore(LogFactory.java:320) at org.apache.commons.logging.LogFactory.(Log Factory.java:1725) ... 34 more private static final Hashtable createFactoryStore() { Hashtable result = null; String storeImplementationClass = System.getProperty(HASHTABLE_IMPLEMENTATION_PROPER TY); if (storeImplementationClass == null) { storeImplementationClass = WEAK_HASHTABLE_CLASSNAME; I do not get the Problem If I sign the jars and use the 'permision-all' tag in my jnlp, but that is not what I want. Does anyone have an idea how to overcome that problem ??? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org