Hi 
Following is the data-config.xml

<dataConfig> 
    <dataSource type="JdbcDataSource"
driver="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://192.168.1.120:1433;DatabaseName=g2" user="sa"
password="mima1234@"/> 

    <document name="user"> 
            <entity name="t_user_principle"  query="select * from
t_user_principle" 
                > 
            <field column="userName" name="user_name" /> 
            <field column="IsLoggedIn" name="is_logged_in" /> 
            <field column="DN" name="distinguished_name" /> 
        </entity> 
    </document> 
</dataConfig> 

Not sure what is the error here, really stuck...
Thanks,
Ashish


Noble Paul നോബിള്‍  नोब्ळ् wrote:
> 
> can u paste the data-config.xml
> looks like there are some errors in the xml.
> --Noble
> 
> On Mon, Mar 9, 2009 at 8:35 AM, Ashish P <ashish.ping...@gmail.com> wrote:
>>
>> I am getting following exception on configuring dataImporthandler in
>> SolrConfig.xml
>>
>> INFO: Processing configuration from solrconfig.xml:
>> {config=data-config.xml}
>> [Fatal Error] :1:1: Content is not allowed in prolog.
>> Mar 9, 2009 12:01:37 PM
>> org.apache.solr.handler.dataimport.DataImportHandler
>> inf
>> orm
>> SEVERE: Exception while loading DataImporter
>> org.apache.solr.handler.dataimport.DataImportHandlerException: Exception
>> occurre
>> d while initializing context Processing Document #
>>        at
>> org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataIm
>> porter.java:176)
>>
>> Please let me know if any clues..
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/problem-using-dataimporthandler-tp22406450p22406450.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> --Noble Paul
> 
> 

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

Reply via email to