you either remove the  name="mySource" from the dataSource tag or add
dataSource="mySource" in the entity 'item'

On Wed, Dec 17, 2008 at 2:26 AM, Plaatje, Patrick
<patrick.plaa...@getronics.com> wrote:
> Hi All,
>
> I'm trying to use the Data import handler, with the data config below
> (snippet):
>
> <dataSource type="JdbcDataSource" name="mySource"
> driver="com.mysql.jdbc.Driver" url="jdbc:mysql://myhost/myDB"
> user="username" password="password"/>
>    <document name="post">
>
> The variables are all good (userrname+password, etc), but I'm getting
> the following exception, any thoughts?
>
> org.apache.solr.handler.dataimport.DataImportHandlerException: No
> dataSource :null available for entity :item Processing Document #
>
>
> Best,
>
> Patrick
>



-- 
--Noble Paul

Reply via email to