Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Neha Jatav
Got it! There's an authenticator with the tomcat and the cookies are missing when I do an update. Thanks all. On Monday, January 28, 2013, Stefan Matheis wrote: > Neha > > One thing that made me think is the line "SimplePostTool: WARNING: Solr returned an error #302 Found" - Status Code 302 is no

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Stefan Matheis
Neha One thing that made me think is the line "SimplePostTool: WARNING: Solr returned an error #302 Found" - Status Code 302 is no real error .. it's a forward/redirect to another url. so, you want to check the used url with curl/wget/or maybe even a normal browser, to see where it gets redirec

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Rafał Kuć
Hello! What Gora says is valid. Just point the SimplePostTools to the correct host, core name and handler and it should work just fine, of course if Solr is up and running. For example the following works just fine with Solr running on 8080: java -Durl=http://localhost:8080/solr/collection1/updat

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Neha Jatav
(a) I am not using jetty, I am using tomcat as mentioned in the subject line (b) I am using some other port number and that I have included in the url On Monday, January 28, 2013, Gora Mohanty wrote: > On 28 January 2013 16:11, Neha Jatav wrote: >> Dear Gora Mohanty, >> >> I am not using litera

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Gora Mohanty
On 28 January 2013 16:11, Neha Jatav wrote: > Dear Gora Mohanty, > > I am not using literally. I am using the localhost url slash > solr. Again, please read the documentation. As mentioned earlier: (a) You do not need -Durl=... if using built-in Jetty, (b) and the URL should include the 8983 por

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Neha Jatav
Dear Gora Mohanty, I am not using literally. I am using the localhost url slash solr. On Monday, January 28, 2013, Gora Mohanty wrote: > On 28 January 2013 15:30, Neha Jatav wrote: > [...] >> I am not able to files to SOLR using post.jar. I am getting the following >> message. I get 0 results

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Gora Mohanty
On 28 January 2013 15:30, Neha Jatav wrote: [...] > I am not able to files to SOLR using post.jar. I am getting the following > message. I get 0 results upon querying:- > > > > C:\Developer\solr-4.1.0\example\exampledocs>java -Durl=/update > -jar post.jar *.xml [...] Please read and follow the in