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 Performance <dc...@crossview.com> on 2009/01/06 02:35:05 UTC

Re: DataImport

I have been following this tutorial but I can't seem to get past an error
related to not being able to load the DB2 Driver.  The user has all the
right config to load the JDBC driver and Squirrel works fine.  Do I need to
update and path within Solr?



muxa wrote:
> 
> Looked through the tutorial on data import, section "Full Import
> Example".
> 1) Where is this dataimport.jar? There is no such file in the
> extracted example-solr-home.jar.
> 2) "Use the solr folder inside example-data-config folder as your
> solr home." What does this mean? Anyway, there is no folder
> example-data-config.
>  Ar cieņu, Mihails
> 

-- 
View this message in context: http://www.nabble.com/DataImport-tp17730791p21301571.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: DataImport

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com>.
Which approach worked? I suggested three
Jetty automatically loads jars in WEB-INF/lib
it is the responsibility of Solr to load jars from solr.ome/lib
it is the responsibility of the JRE to load jars from JAVA_HOME/lib/ext

On Tue, Jan 6, 2009 at 6:18 PM, Performance <dc...@crossview.com> wrote:
>
> Paul,
>
> Thanks for the feedback and it does work.  So if I understand this the app
> server code (Jetty) is not reading in the environment variables for the
> other libraries I need.  How do I add the JDBC files to the path so that I
> don't need to copy the files into the directory?  Does jetty have a config
> file I should look at?
>
>
> Noble Paul നോബിള്‍ नोब्ळ् wrote:
>>
>> The driver can be put directly into the WEB-INF/lib of the solr web
>> app or it can be put into ${solr.home}/lib dir.
>>
>> or if something is really screwed up you can try the old fashioned way
>> of putting your driver jar into JAVA_HOME/lib/ext
>>
>> --Noble
>>
>>
>> On Tue, Jan 6, 2009 at 7:05 AM, Performance <dc...@crossview.com> wrote:
>>>
>>> I have been following this tutorial but I can't seem to get past an error
>>> related to not being able to load the DB2 Driver.  The user has all the
>>> right config to load the JDBC driver and Squirrel works fine.  Do I need
>>> to
>>> update and path within Solr?
>>>
>>>
>>>
>>> muxa wrote:
>>>>
>>>> Looked through the tutorial on data import, section "Full Import
>>>> Example".
>>>> 1) Where is this dataimport.jar? There is no such file in the
>>>> extracted example-solr-home.jar.
>>>> 2) "Use the solr folder inside example-data-config folder as your
>>>> solr home." What does this mean? Anyway, there is no folder
>>>> example-data-config.
>>>>  Ar cieņu, Mihails
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/DataImport-tp17730791p21301571.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> --Noble Paul
>>
>>
>
> --
> View this message in context: http://www.nabble.com/DataImport-tp17730791p21309725.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
--Noble Paul

Re: DataImport

Posted by Performance <dc...@crossview.com>.
Paul,

Thanks for the feedback and it does work.  So if I understand this the app
server code (Jetty) is not reading in the environment variables for the
other libraries I need.  How do I add the JDBC files to the path so that I
don't need to copy the files into the directory?  Does jetty have a config
file I should look at?


Noble Paul നോബിള്‍ नोब्ळ् wrote:
> 
> The driver can be put directly into the WEB-INF/lib of the solr web
> app or it can be put into ${solr.home}/lib dir.
> 
> or if something is really screwed up you can try the old fashioned way
> of putting your driver jar into JAVA_HOME/lib/ext
> 
> --Noble
> 
> 
> On Tue, Jan 6, 2009 at 7:05 AM, Performance <dc...@crossview.com> wrote:
>>
>> I have been following this tutorial but I can't seem to get past an error
>> related to not being able to load the DB2 Driver.  The user has all the
>> right config to load the JDBC driver and Squirrel works fine.  Do I need
>> to
>> update and path within Solr?
>>
>>
>>
>> muxa wrote:
>>>
>>> Looked through the tutorial on data import, section "Full Import
>>> Example".
>>> 1) Where is this dataimport.jar? There is no such file in the
>>> extracted example-solr-home.jar.
>>> 2) "Use the solr folder inside example-data-config folder as your
>>> solr home." What does this mean? Anyway, there is no folder
>>> example-data-config.
>>>  Ar cieņu, Mihails
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/DataImport-tp17730791p21301571.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> --Noble Paul
> 
> 

-- 
View this message in context: http://www.nabble.com/DataImport-tp17730791p21309725.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: DataImport

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com>.
The driver can be put directly into the WEB-INF/lib of the solr web
app or it can be put into ${solr.home}/lib dir.

or if something is really screwed up you can try the old fashioned way
of putting your driver jar into JAVA_HOME/lib/ext

--Noble


On Tue, Jan 6, 2009 at 7:05 AM, Performance <dc...@crossview.com> wrote:
>
> I have been following this tutorial but I can't seem to get past an error
> related to not being able to load the DB2 Driver.  The user has all the
> right config to load the JDBC driver and Squirrel works fine.  Do I need to
> update and path within Solr?
>
>
>
> muxa wrote:
>>
>> Looked through the tutorial on data import, section "Full Import
>> Example".
>> 1) Where is this dataimport.jar? There is no such file in the
>> extracted example-solr-home.jar.
>> 2) "Use the solr folder inside example-data-config folder as your
>> solr home." What does this mean? Anyway, there is no folder
>> example-data-config.
>>  Ar cieņu, Mihails
>>
>
> --
> View this message in context: http://www.nabble.com/DataImport-tp17730791p21301571.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
--Noble Paul