Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 39993 invoked from network); 12 Jan 2011 14:42:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2011 14:42:13 -0000 Received: (qmail 12894 invoked by uid 500); 12 Jan 2011 14:42:12 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 12538 invoked by uid 500); 12 Jan 2011 14:42:10 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 12529 invoked by uid 99); 12 Jan 2011 14:42:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 14:42:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 14:42:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0CEfjEX000127 for ; Wed, 12 Jan 2011 14:41:45 GMT Message-ID: <20389926.313801294843305698.JavaMail.jira@thor> Date: Wed, 12 Jan 2011 09:41:45 -0500 (EST) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled In-Reply-To: <4623696.302301294794765387.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard S. Hall updated FELIX-2775: ----------------------------------- Affects Version/s: framework-3.0.7 Fix Version/s: framework-3.2.0 > GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled > --------------------------------------------------------------------------------------------------------------------- > > Key: FELIX-2775 > URL: https://issues.apache.org/jira/browse/FELIX-2775 > Project: Felix > Issue Type: Bug > Components: Framework Security > Affects Versions: framework-3.0.7 > Environment: Host OS: Ubuntu Linux > JamVM-1.5.4 + patch (fixed protection domain checking code) > GNU Classpath 0.98 + patch (added missing methods from apache harmony) > felix framework - 3.0.7/3.1.0-SNAPSHOT > framework.security - org.apache.felix.framework.security-1.4.1.jar > Reporter: Samba > Fix For: framework-3.2.0 > > Attachments: classpath.patch, felix-cache.tar.gz, felix.log, jamvm.patch > > > JamVM-1.5.4 + patch (see jamvm.patch attached to this bug) > ======================================= > To apply patch: > #1 Download jamvm 1.5.4 > #2 untar package > #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch > #4 configure jamvm > ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls > #make; make install > GNU Classpath 0.98 + patch (see classpath.patch) > ================================ > #1 Download classpath > #2 cd classpath-0.98; patch -p1 < classpath.patch > #3 configure classpath > ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix= > #4 make; make install > Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT) > =========================================== > #1 download felix-framwork-3.0.7 and untar the distribution > #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory > #3 cd felix-framework-3.0.7 > #4 Add the following contents to java.policy and put it in the conf directory > grant { > permission java.security.AllPermission; > } > grant codeBase "http://felix.extensions:9/" { > permission java.security.AllPermission; > }; > #5 start the framework > /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy -jar bin/felix.jar > # The framework won;t start and it causes a stack over flow. see felix.log in the attachment -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.