Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D1949533 for ; Wed, 28 Mar 2012 17:45:46 +0000 (UTC) Received: (qmail 90419 invoked by uid 500); 28 Mar 2012 17:45:45 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 90390 invoked by uid 500); 28 Mar 2012 17:45:45 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 90376 invoked by uid 99); 28 Mar 2012 17:45:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 17:45:45 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 17:45:40 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SCwvw-0003zB-2G for users@camel.apache.org; Wed, 28 Mar 2012 10:45:20 -0700 Date: Wed, 28 Mar 2012 10:45:20 -0700 (PDT) From: raad To: users@camel.apache.org Message-ID: <1332956720064-5601253.post@n5.nabble.com> Subject: C3P0 cannot load Jtds Driver in OSGi env MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org So i have wrapped the Jtds and c3p0 jars under install wrap command and I still get the following when connection is being established: 13:37:14,941 | WARN | er$PoolThread-#1 | DriverManagerDataSource | 268 - com.mchange.v2.c3p0 - 0.9.1.2 | Could not load driverClass net.sourceforge.jtds.jdbc.Driver java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver not found by com.mchange.v2.c3p0 [268] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71) I've looked for blogs with similar issues but they refer to manifest changes that need to happen. I import all the packages needed in the pom: hereis what I have: ... net.sourceforge.jtds.jdbc, net.sourceforge.jtds.jdbcx, com.mchange.v2.c3p0, * anyone? -- View this message in context: http://camel.465427.n5.nabble.com/C3P0-cannot-load-Jtds-Driver-in-OSGi-env-tp5601253p5601253.html Sent from the Camel - Users mailing list archive at Nabble.com.