Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AF7592A4 for ; Sat, 24 Mar 2012 14:25:51 +0000 (UTC) Received: (qmail 795 invoked by uid 500); 24 Mar 2012 14:25:50 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 708 invoked by uid 500); 24 Mar 2012 14:25:49 -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 693 invoked by uid 99); 24 Mar 2012 14:25:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 14:25:49 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tribon1980@gmail.com designates 209.85.214.177 as permitted sender) Received: from [209.85.214.177] (HELO mail-ob0-f177.google.com) (209.85.214.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 14:25:41 +0000 Received: by obbup16 with SMTP id up16so4829836obb.22 for ; Sat, 24 Mar 2012 07:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ei3RybZMUzXJDY2Sz6y0SwKL+TpoOoeT0i1NVQkV2SM=; b=Jb57SZD3IX/Qwj5/PszNfeNPk1nFU9I0vvz66nbQ0c4bQVufXg+liDJ/O/wZ8iXCd8 Rc1J+b4gTgO5aOMwvdNREQJecbhnU4lEiNUDYK5gIAoRSol26JsqmNA/Me7iFcSUm1VL pMeQrSITB8myHMGiVOmcgOWLaOE2lcGwG6/bKCv3tkkaHRt2e0NbvKxJ0q05WO0V9H1F lxPUnPrhHHczfo4+xqI5+PHV8d/6pRhboocmiUzo5eULJVTivQeErGhzN0zwIr1CHQia 6boWN+QQojzQGs3l5KsZLeNjjtreWNVr+k3u5yYqkj/dPDu03KCmTpeREN06O6MnQGCo S1TA== MIME-Version: 1.0 Received: by 10.60.28.137 with SMTP id b9mr19237644oeh.57.1332599120349; Sat, 24 Mar 2012 07:25:20 -0700 (PDT) Received: by 10.182.222.9 with HTTP; Sat, 24 Mar 2012 07:25:20 -0700 (PDT) In-Reply-To: References: Date: Sat, 24 Mar 2012 22:25:20 +0800 Message-ID: Subject: Re: MySQL in Apache Felix From: Tribon Cheng To: users@felix.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c4ae324a3604bbfde9e9 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c4ae324a3604bbfde9e9 Content-Type: text/plain; charset=ISO-8859-1 Make sure that the package "javax.naming" is exported in right version. On Wed, Mar 14, 2012 at 6:02 PM, elMateo wrote: > Hello all, > > I want to use persistence in Apache Felix. For this I have a MySQL > database. > > When I start my bundle Apache Felix show this exception: > > java.sql.SQLException: java.lang.NoClassDefFoundError: javax/naming/RefAddr > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) > at com.mysql.jdbc.Util.handleNewInstance(Util.java:435) > at > com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381) > at > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java > :305) > at java.sql.DriverManager.getConnection(Unknown Source) > at java.sql.DriverManager.getConnection(Unknown Source) > > Does anyone have any idea about what is going on? > > I tried to import in the manifest file the javax.naming librery too. > > Thanks in advance, Jesus > -- Contribute to Enterprise Integration --e89a8ff1c4ae324a3604bbfde9e9--