Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 78380 invoked from network); 7 Dec 2009 07:33:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Dec 2009 07:33:42 -0000 Received: (qmail 69854 invoked by uid 500); 7 Dec 2009 07:33:42 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 69756 invoked by uid 500); 7 Dec 2009 07:33:41 -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 69745 invoked by uid 99); 7 Dec 2009 07:33:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 07:33:41 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 07:33:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7F31B234C1F1 for ; Sun, 6 Dec 2009 23:33:18 -0800 (PST) Message-ID: <1412996447.1260171198519.JavaMail.jira@brutus> Date: Mon, 7 Dec 2009 07:33:18 +0000 (UTC) From: "Bulat Nigmatullin (JIRA)" To: dev@felix.apache.org Subject: [jira] Closed: (FELIX-1909) Apache Felix on JDK7 In-Reply-To: <1484319083.1259656882255.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bulat Nigmatullin closed FELIX-1909. ------------------------------------ Resolution: Not A Problem Thank you for help! > Apache Felix on JDK7 > --------------------- > > Key: FELIX-1909 > URL: https://issues.apache.org/jira/browse/FELIX-1909 > Project: Felix > Issue Type: Bug > Components: Main > Affects Versions: felix-2.0.2 > Environment: Ubuntu Linux 9.04 64-bit > java version "1.7.0-ea" > Java(TM) SE Runtime Environment (build 1.7.0-ea-b76) > Java HotSpot(TM) 64-Bit Server VM (build 17.0-b05, mixed mode) > Reporter: Bulat Nigmatullin > Priority: Minor > Attachments: config.properties, stdout.log > > > I tried to start our OSGi application on JDK7, but got a lot of errors like this > Unresolved constraint in bundle javax.mail.mail [20]: package; (package=javax.activation) > I've modified Apache Felix config.properties: > org.osgi.framework.system.packages.extra= \ > javax.activation; \ > javax.crypto; \ > javax.crypto.interfaces; \ > javax.crypto.spec; \ > javax.management; \ > javax.naming; \ > javax.naming.directory; \ > javax.naming.spi; \ > javax.net; \ > javax.net.ssl; \ > javax.security.auth; \ > javax.security.auth.callback; \ > javax.security.auth.x500; \ > javax.security.cert; \ > javax.security.sasl; \ > javax.sql; \ > javax.swing; \ > javax.swing.border; \ > javax.swing.event; \ > javax.swing.plaf; \ > javax.swing.plaf.basic; \ > javax.swing.table; \ > javax.swing.text; \ > javax.swing.tree; \ > javax.xml.namespace; \ > javax.xml.parsers; \ > javax.xml.stream; \ > javax.xml.transform; \ > javax.xml.transform.dom; \ > javax.xml.transform.stream; \ > org.ietf.jgss; \ > org.xml.sax; \ > org.xml.sax.helpers; \ > org.w3c.dom; > But one error remained: > org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.org.dom4j [18]: package; (&(package=javax.xml.stream)(version>=1.0.1)(!(version>=2.0.0))) > My application work on JDK6 without all that extra packages. But now Felix requires them. Is this behaviour correct? > How to fix this javax.xml.stream import? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.