You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Shalin Shekhar Mangar <sh...@gmail.com> on 2009/04/02 16:43:26 UTC
Re: Error in Importing from Oracle
On Thu, Apr 2, 2009 at 6:57 PM, Radha C. <cr...@ceiindia.com> wrote:
> Hello List,
>
> I am trying to do full import from remote oracle server. I am getting the
> below error,
>
> Can anyone please help me what configuration I am missing? Thanks in
> advance.
>
> Apr 2, 2009 6:46:39 PM org.apache.solr.handler.dataimport.DataImporter
> doFullImport
> SEVERE: Full Import failed
> org.apache.solr.handler.dataimport.DataImportHandlerException:
> java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
>
It looks like your Oracle jdbc driver depends on some native code
libraries which are missing in your environment. I suggest that you
look in the documentation of the jdbc driver. However, I'm quite
certain that there exists a pure java jdbc driver for Oracle too.
--
Regards,
Shalin Shekhar Mangar.
RE: Error in Importing from Oracle
Posted by "Radha C." <cr...@ceiindia.com>.
Thanks guys,
I used pure java driver. That works.
-----Original Message-----
From: Noble Paul നോബിള് नोब्ळ् [mailto:noble.paul@gmail.com]
Sent: Friday, April 03, 2009 8:59 AM
To: solr-user@lucene.apache.org
Subject: Re: Error in Importing from Oracle
put your native dll/iso file in the LD_LIBRARY_PATH and start Solr with that. Or the best solution is to use a pure java driver
On Thu, Apr 2, 2009 at 8:13 PM, Shalin Shekhar Mangar <sh...@gmail.com> wrote:
> On Thu, Apr 2, 2009 at 6:57 PM, Radha C. <cr...@ceiindia.com> wrote:
>> Hello List,
>>
>> I am trying to do full import from remote oracle server. I am getting
>> the below error,
>>
>> Can anyone please help me what configuration I am missing? Thanks in
>> advance.
>>
>> Apr 2, 2009 6:46:39 PM
>> org.apache.solr.handler.dataimport.DataImporter
>> doFullImport
>> SEVERE: Full Import failed
>> org.apache.solr.handler.dataimport.DataImportHandlerException:
>> java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
>>
>
> It looks like your Oracle jdbc driver depends on some native code
> libraries which are missing in your environment. I suggest that you
> look in the documentation of the jdbc driver. However, I'm quite
> certain that there exists a pure java jdbc driver for Oracle too.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
--
--Noble Paul
Re: Error in Importing from Oracle
Posted by Noble Paul നോബിള് नोब्ळ् <no...@gmail.com>.
put your native dll/iso file in the LD_LIBRARY_PATH and start Solr
with that. Or the best solution is to use a pure java driver
On Thu, Apr 2, 2009 at 8:13 PM, Shalin Shekhar Mangar
<sh...@gmail.com> wrote:
> On Thu, Apr 2, 2009 at 6:57 PM, Radha C. <cr...@ceiindia.com> wrote:
>> Hello List,
>>
>> I am trying to do full import from remote oracle server. I am getting the
>> below error,
>>
>> Can anyone please help me what configuration I am missing? Thanks in
>> advance.
>>
>> Apr 2, 2009 6:46:39 PM org.apache.solr.handler.dataimport.DataImporter
>> doFullImport
>> SEVERE: Full Import failed
>> org.apache.solr.handler.dataimport.DataImportHandlerException:
>> java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
>>
>
> It looks like your Oracle jdbc driver depends on some native code
> libraries which are missing in your environment. I suggest that you
> look in the documentation of the jdbc driver. However, I'm quite
> certain that there exists a pure java jdbc driver for Oracle too.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
--
--Noble Paul