Thanks for assistance. Actually I installed jdk 6 and my problem was
resolved. But now I am getting this exception:-
org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to
execute query: select PkMenuId from WCM_Menu Processing Document # 1
        at
org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.<init>(JdbcDataSource.java:186)
        at ---

The changes the db-dataconfig.xml file are as :-
<dataConfig>
                <document>                                                      
                                <entity name="WCM_Menu" query="select PkMenuId 
from WCM_Menu"
fetchSize="1">
                                          <field column="PkMenuId" name="id1" 
/>                                         
                                </entity>                                       
                
                        </document>
</dataConfig>

I don't think, there is some problem with missing hyphen. Please anybody
suggest me some way to resolve this error?

Manish Bawne
Software Engineer
Biz Integra Systems
www.bizhandel.com











Chantal Ackermann wrote:
> 
> Hi Manish,
> 
> is this a typo in your e-mail or is your config file really missing a 
> hyphen? (Your repeating the name without second hyphen several times.)
> 
> Cheers,
> Chantal
> 
> manishkbawne schrieb:
>>   <str name="config">db-data-config.xml</str>
>> 
>> The changes that I have done in the db-dataconfig.xml file  is :-
> 
> 

-- 
View this message in context: 
http://old.nabble.com/solr-search-tp26125183p26228077.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to