Return-Path: Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: (qmail 44014 invoked from network); 16 Feb 2009 17:22:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2009 17:22:26 -0000 Received: (qmail 74941 invoked by uid 500); 16 Feb 2009 17:22:26 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 74584 invoked by uid 500); 16 Feb 2009 17:22:25 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 74573 invoked by uid 99); 16 Feb 2009 17:22:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 09:22:25 -0800 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 heavy@ungoverned.org designates 67.222.38.27 as permitted sender) Received: from [67.222.38.27] (HELO outbound-mail-127.bluehost.com) (67.222.38.27) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Feb 2009 17:22:14 +0000 Received: (qmail 9191 invoked by uid 0); 16 Feb 2009 17:21:52 -0000 Received: from unknown (HELO host118.hostmonster.com) (74.220.207.118) by outboundproxy4.bluehost.com with SMTP; 16 Feb 2009 17:21:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=kf/GCIW4sIqxH5uRQjDIkqAxkLc2evsZr2REkWWDzkUrmNVXoTdt9kwJiVQwiKESG8S2carhpmqifd1qH2qF1OwTpeGmxoI3onwmtnAZmwAAiFu/DCuoO2Hu4USLQlKl; Received: from c-24-9-139-135.hsd1.co.comcast.net ([24.9.139.135] helo=heavyweight.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LZ7AG-0007OG-9z for users@felix.apache.org; Mon, 16 Feb 2009 10:21:52 -0700 Message-ID: <4999A0AF.4000708@ungoverned.org> Date: Mon, 16 Feb 2009 10:21:51 -0700 From: "Richard S. Hall" User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: users@felix.apache.org Subject: Re: felix on websphere with security enabled? References: <7A5837CEF4D4834E97721F3BCC46D7F71BB83CA59B@darth-malak.gx.local> In-Reply-To: <7A5837CEF4D4834E97721F3BCC46D7F71BB83CA59B@darth-malak.gx.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 24.9.139.135 authed with heavy@ungoverned.org} X-Virus-Checked: Checked by ClamAV on apache.org I think you need to try a newer version of Felix. I am fairly certain there was an issue fixed related to this situation. -> richard Bram de Kruijff wrote: > Hi all, > > We're having some trouble deploying our webapp (that embeds felix) on a websphere platform with security enabled. Below is the stacktrace we get that basically indicates a recursion that kicks in when the first bundle is started. We are not actually using any OSGi security features at the application level but obviously they kick in. I am not sure how to deal with this or if it even is supposed to work with Felix framework 1.2.1 / IBM Websphere 6.1.0.0. > > To summarize my questions. Is this supposed to work or not supported (yet)? Did anybody get this to work before and, if so, how? Any additional suggestions/pointers would be much appreciated! > > Thanks, > Bram > > Caused by: java.lang.StackOverflowError > at org.osgi.framework.AdminPermission.createName(AdminPermission.java:261) > at org.osgi.framework.AdminPermission.(AdminPermission.java:246) > at org.apache.felix.framework.BundleImpl.getLocation(BundleImpl.java:157) > at org.osgi.framework.AdminPermission$1.run(AdminPermission.java:686) > at java.security.AccessController.doPrivileged(AccessController.java:192) > at org.osgi.framework.AdminPermission.getProperties(AdminPermission.java:680) > at org.osgi.framework.AdminPermission.implies(AdminPermission.java:421) > at org.osgi.framework.AdminPermissionCollection.implies(AdminPermission.java:916) > at org.eclipse.osgi.framework.internal.core.ConditionalPermissionSet.implies(ConditionalPermissionSet.java:224) > at org.eclipse.osgi.framework.internal.core.BundleCombinedPermissions.implies(BundleCombinedPermissions.java:124) > at java.security.ProtectionDomain.implies(ProtectionDomain.java:225) > at java.security.AccessController.checkPermission(AccessController.java:94) > at java.lang.SecurityManager.checkPermission(SecurityManager.java:547) > at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:212) > at org.apache.felix.framework.BundleImpl.getLocation(BundleImpl.java:157) > at org.osgi.framework.AdminPermission$1.run(AdminPermission.java:686) > at java.security.AccessController.doPrivileged(AccessController.java:192) > at org.osgi.framework.AdminPermission.getProperties(AdminPermission.java:680) > ----recursion here --- > at org.osgi.framework.AdminPermission.getProperties(AdminPermission.java:680) > at org.osgi.framework.AdminPermission.implies(AdminPermission.java:421) > at org.osgi.framework.AdminPermissionCollection.implies(AdminPermission.java:916) > at org.eclipse.osgi.framework.internal.core.ConditionalPermissionSet.implies(ConditionalPermissionSet.java:224) > at org.eclipse.osgi.framework.internal.core.BundleCombinedPermissions.implies(BundleCombinedPermissions.java:124) > at java.security.ProtectionDomain.implies(ProtectionDomain.java:225) > at java.security.AccessController.checkPermission(AccessController.java:94) > at java.lang.SecurityManager.checkPermission(SecurityManager.java:547) > at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:212) > at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:332) > at nl.gx.webmanager.services.dbcpprovider.mysql.ProviderService.start(ProviderService.java:35) > ... 24 more > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org