do you really need a multicore configuration?
start with a single core first.
On Wed, Apr 1, 2009 at 10:31 AM, Udaya <ukvign...@gmail.com> wrote:
>
>
> Shalin Shekhar Mangar wrote:
>>
>> On Tue, Mar 31, 2009 at 7:04 PM, Udaya <ukvign...@gmail.com> wrote:
>>
>>>
>>> 3.   The solr configuration xml files are placed inside the directory
>>> structure
>>> C:\web1\solr1\test\DIH\conf.
>>> 5.    I have set the java option in tomcat configuration as
>>> -Dsolr.solr.home=C:\web1\solr1\test(It is here that the solr.xml and DIH
>>> folder are located
>>> inside which the conf folder is located)
>>>
>>> When I try to run the apache-solr-1.3.war thats deployed in the tomcat,
>>> it
>>> results to
>>> "Welcome to Solr" page with a "Solr Admin" hyper link in it. When
>>> clicking
>>> on "Solr Admin"
>>> it results to an error page"HTTP Status 404 - missing core name in path"
>>>
>>
>> It seems you need only a single Solr index. The solr.xml is needed only
>> when
>> you want to use multiple Solr indices -- the example-DIH provides a db and
>> an rss example, therefore it uses a solr.xml. Point your solr home to the
>> test/DIH directory which contains the conf directory.
>>
>> --
>> Regards,
>> Shalin Shekhar Mangar.
>>
>>
>
>
>
> Hi Shalin,
> Thank you,
> I do added the java option of the tomcat configuration as your suggestion
> i.e
> -Dsolr.solr.home=C:\web1\solr1\test\DIH
> After setting when i tried running the apache-solr-1.3 from tomcat I get the
> following exceptions
> 1.org.xml.sax.SAXParseException: Content is not allowed in prolog. at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)........
> 2.org.apache.solr.handler.dataimport.DataImportHandlerException: Exception
> occurred while initializing context Processing Document # at
> org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:176)
> at
> org.apache.solr.handler.dataimport.DataImporter.<init>(DataImporter.java:93)
> at ......
> 3.org.apache.solr.common.SolrException: FATAL: Could not create importer.
> DataImporter config invalid at
> org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHandler.java:114)
> at
> org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:311)
> at........
>
>
> My tomcat is protected with password, i.e we do have to give the username
> and password when trying to access the web applications that are deployed in
> it. My doubt is how do we overcome this when Solr tries to access resource
> from tomcat?
> I do tried to add the username and password in the datasource tag of
> dataconfig.xml as follows
> <dataSource type="HttpDataSource" user="admin" password="password"/>
> Even then the exceptions do occur....
> Suggestions would be of great help....
> Thanks,
> Udaya
> --
> View this message in context: 
> http://www.nabble.com/Your-attention-is-needed%21-Solr-to-be-used-with-a-web-application.-tp22804930p22819854.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
--Noble Paul

Reply via email to