Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5416218F80 for ; Wed, 21 Oct 2015 07:11:34 +0000 (UTC) Received: (qmail 12224 invoked by uid 500); 21 Oct 2015 07:11:28 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 12196 invoked by uid 500); 21 Oct 2015 07:11:27 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 12168 invoked by uid 99); 21 Oct 2015 07:11:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2015 07:11:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B42922C1F5F for ; Wed, 21 Oct 2015 07:11:27 +0000 (UTC) Date: Wed, 21 Oct 2015 07:11:27 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3983) Failed to start openjpa bundle - javax.transaction.SystemException not found 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/KARAF-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966345#comment-14966345 ] Freeman Fang commented on KARAF-3983: ------------------------------------- Thanks Christian! I will revert my change soon. > Failed to start openjpa bundle - javax.transaction.SystemException not found > ---------------------------------------------------------------------------- > > Key: KARAF-3983 > URL: https://issues.apache.org/jira/browse/KARAF-3983 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.0.1 > Environment: OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~deb7u1) on Debian Linux > Reporter: Mihael Schmidt > Assignee: Freeman Fang > Fix For: 4.0.3 > > > I need the feature openjpa, jpa and transaction for my application. > If I only install the feature openjpa (version doesn't matter) everything is fine. The javax.transaction package is imported from the bundle org.apache.geronimo.specs.geronimo-jta_1.1_spec. > But if I also install the feature transaction the openjpa bundle doesn't gets its optional import packages resolved for javax.transaction [1.1.0,1.2). > And the Activator of the bundle openjpa bails out with: > {code} > Caused by: org.osgi.framework.BundleException: Activator start error in bundle org.apache.openjpa [98]. > at org.apache.felix.framework.Felix.activateBundle(Felix.java:2270)[org.apache.felix.framework-5.0.1.jar:] > at org.apache.felix.framework.Felix.startBundle(Felix.java:2138)[org.apache.felix.framework-5.0.1.jar:] > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)[org.apache.felix.framework-5.0.1.jar:] > at org.apache.karaf.bundle.command.Start.executeOnBundle(Start.java:38)[23:org.apache.karaf.bundle.core:4.0.1] > at org.apache.karaf.bundle.command.BundlesCommand.doExecute(BundlesCommand.java:64)[23:org.apache.karaf.bundle.core:4.0.1] > ... 12 more > Caused by: java.lang.NoClassDefFoundError: javax/transaction/SystemException > at org.apache.openjpa.persistence.osgi.PersistenceActivator.start(PersistenceActivator.java:61) > at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:2220) > ... 16 more > Caused by: java.lang.ClassNotFoundException: javax.transaction.SystemException not found by org.apache.openjpa [98] > at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)[org.apache.felix.framework-5.0.1.jar:] > at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)[org.apache.felix.framework-5.0.1.jar:] > at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)[org.apache.felix.framework-5.0.1.jar:] > at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_75] > ... 19 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)