Hi,

On 28/01/11 02:19, Michael White wrote:
> When I run "stats-log-importer" (as the "tomcat" user that DSpace 
> runs under) I get a Not Found error: [...]
> 
> request: 
> http://localhost/solr/statistics/update?wt=javabin&version=2.2 
> org.apache.solr.common.SolrException: Not Found
> 
> SOLR appears to be accessible via localhost - if I "curl 
> http://localhost/solr/"; from the command line, it dumps back HTML 
> that looks like what I'd expect . .

>From what I've seen, accessing solr via 'localhost' can cause problems.
Something related to the way 'localhost' is resolved to an IP address by
the Java code.

The usual suggestion seems to be to use 127.0.0.1 instead of localhost.
Also, it may be a good idea to give the port as well to make solr
requests bypass apache -- so 127.0.0.1:8080 or whatever port your tomcat
listens to.

cheers,
Andrea

-- 
Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to