I recently updated Java for Mac OS X 10.7-Update 1. After that I recognized that in my local development application under Rails 3.0.10 with sunspot/solr the solr-server starts correctly
0:03.80 /usr/bin/java -Dsolr.data.dir=/var/folders/j0/h6j1w2px233bb_g2461l8pnr0000gn/T -Dsolr.solr.home=/Users/XXXXXXX/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sunspot-a32d14da2650/sunspot_solr/solr/solr -jar start.jar
But if I send a fully functional search request I get a connection refused error:
Errno::ECONNREFUSED (Connection refused - connect(2))
One of my collegues recently updated its installation of OS X Snow Leopard with the Java Update for OS X 10.6-Update 6 and is getting the same error, so we determined the Java Update as a possible reason, since solr is Java based.
I am using on Rails 3.0.10 following gems:
gem 'sunspot_solr', :git => 'https://github.com/sunspot/sunspot' gem 'sunspot_rails', :git => 'https://github.com/sunspot/sunspot.git'
Can someone help me with this problem or confirm its appearence after updating Java on OS X?