Return-Path: X-Original-To: apmail-incubator-connectors-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-connectors-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D05D9999 for ; Thu, 19 Jan 2012 19:42:24 +0000 (UTC) Received: (qmail 97924 invoked by uid 500); 19 Jan 2012 19:42:24 -0000 Delivered-To: apmail-incubator-connectors-user-archive@incubator.apache.org Received: (qmail 97876 invoked by uid 500); 19 Jan 2012 19:42:23 -0000 Mailing-List: contact connectors-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-user@incubator.apache.org Delivered-To: mailing list connectors-user@incubator.apache.org Received: (qmail 97868 invoked by uid 99); 19 Jan 2012 19:42:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 19:42:23 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.245.88] (HELO na3sys010aog110.obsmtp.com) (74.125.245.88) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Jan 2012 19:42:15 +0000 Received: from mail-iy0-f170.google.com ([209.85.210.170]) (using TLSv1) by na3sys010aob110.postini.com ([74.125.244.12]) with SMTP ID DSNKTxhyAc1TitJrlrwVjIYtz99Q7pAjbuaY@postini.com; Thu, 19 Jan 2012 11:41:54 PST Received: by mail-iy0-f170.google.com with SMTP id o28so625369iao.1 for ; Thu, 19 Jan 2012 11:41:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.161.10 with SMTP id r10mr23497327icx.22.1327002113121; Thu, 19 Jan 2012 11:41:53 -0800 (PST) Received: by 10.50.61.37 with HTTP; Thu, 19 Jan 2012 11:41:53 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Jan 2012 14:41:53 -0500 Message-ID: Subject: Re: Cannot find OracleDriver From: Matthew Parker To: connectors-user@incubator.apache.org Content-Type: multipart/alternative; boundary=90e6ba21244f919ef104b6e6c1ae X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba21244f919ef104b6e6c1ae Content-Type: text/plain; charset=ISO-8859-1 I have the latest release from the Apache Manifold site (i.e. 0.3-incubating). I checked the driver jar file with winzip, and the driver name is still the same (oracle.jdbc.OracleDriver). I'm running java 1.6.0_18-b7 on Windows XP SP 3. On Thu, Jan 19, 2012 at 2:27 PM, Karl Wright wrote: > MCF's Oracle support was written against earlier versions of the > Oracle driver. It is possible that they have changed the driver > class. If the driver winds up in the dist/connector-lib directory > (I'm assuming you are using trunk or 0.4-incubating), then it should > be accessible. > > Could you please try the following: > > jar -tf ojdbc6.jar | grep "oracle/jdbc/OracleDriver" > > ... assuming you are using Linux? > > If the driver class IS found, then the other possibility is that the > jar is compiled against a later version of Java than the one you are > using to run MCF. > > Please let me know what you find. > > Karl > > On Thu, Jan 19, 2012 at 1:43 PM, Matthew Parker > wrote: > > I downloaded MCF and started playing with the default setup under Jetty > and > > Derby. It starts up without any issue. > > > > I would like to connect to our ORACLE database and import data into SOLR. > > > > I placed the ojdbc6.jar file in the connectors/jdbc/jdbc-drivers > directory > > as stated in the README instruction file to use the ORACLE driver. > > > > I ran "ant build" from the main directory, and restarted the example in > > dist/example using Jetty. > > > > When I setup a connector, MCF throws an exception stating that it cannot > > find oracle.jdbc.OracleDriver class. > > > > Looking in the connector-lib directory, the oracle jar is there. > > > > I also tried placing the ojdbc6.jar in the dist/example/lib directory, > but > > that didn't fix the problem either. > > > > Can anyone point me in the right direction? > > > > TIA > > > > ------------------------------ > > This e-mail and any files transmitted with it may be proprietary. Please > > note that any views or opinions presented in this e-mail are solely > those of > > the author and do not necessarily represent those of Apogee Integration. > > > -- Regards, Matt Parker (CTR) Senior Software Architect Apogee Integration, LLC 5180 Parkstone Drive, Suite #160 Chantilly, Virginia 20151 703.272.4797 (site) 703.474.1918 (cell) www.apogeeintegration.com ------------------------------ This e-mail and any files transmitted with it may be proprietary. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Apogee Integration. --90e6ba21244f919ef104b6e6c1ae Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have the latest release from the Apache Manifold site (i.e. 0.3-incubatin= g).

I checked the driver jar file with winzip, and the driver name = is still the same (oracle.jdbc.OracleDriver).

I'm running java = 1.6.0_18-b7 on Windows XP SP 3.

On Thu, Jan 19, 2012 at 2:27 PM, Karl Wright= <daddywri@gmail= .com> wrote:
MCF's Oracle support was written against earlier versions of the
Oracle driver. =A0It is possible that they have changed the driver
class. =A0If the driver winds up in the dist/connector-lib directory
(I'm assuming you are using trunk or 0.4-incubating), then it should be accessible.

Could you please try the following:

jar -tf ojdbc6.jar | grep "oracle/jdbc/OracleDriver"

... assuming you are using Linux?

If the driver class IS found, then the other possibility is that the
jar is compiled against a later version of Java than the one you are
using to run MCF.

Please let me know what you find.

Karl

On Thu, Jan 19, 2012 at 1:43 PM, Matthew Parker
<mparker@apogeeintegrat= ion.com> wrote:
> I downloaded MCF and started playing with the default setup under Jett= y and
> Derby. It starts up without any issue.
>
> I would like to connect to our ORACLE database and import data into SO= LR.
>
> I placed the ojdbc6.jar file in the connectors/jdbc/jdbc-drivers direc= tory
> as stated in the README instruction file to use the ORACLE driver.
>
> I ran "ant build" from the main directory, and restarted the= example in
> dist/example using Jetty.
>
> When I setup a connector, MCF throws an exception stating that it cann= ot
> find oracle.jdbc.OracleDriver class.
>
> Looking in the connector-lib directory, the oracle jar is there.
>
> I also tried placing the ojdbc6.jar in the dist/example/lib directory,= but
> that didn't fix the problem either.
>
> Can anyone point me in the right direction?
>
> TIA
>
> ------------------------------
> This e-mail and any files transmitted with it may be proprietary. =A0P= lease
> note that any views or opinions presented in this e-mail are solely th= ose of
> the author and do not necessarily represent those of Apogee Integratio= n.
>



--
Regards,
=A0
Matt Parker (CTR)
Senior Software Architect
Apogee Integration, = LLC
5180 Parkstone Drive, Suite #160
Chantilly, Virginia 20151
703.272.4797 (site)
703.474.1918 (cell)
www.apogeeintegration.com

------------------------------
This e-mail and any files transmitted with it may be proprietary.  Please=
 note that any views or opinions presented in this e-mail are solely thos=
e of the author and do not necessarily represent those of Apogee Integrat=
ion.
=0D
--90e6ba21244f919ef104b6e6c1ae--