Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.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 => ''
gem 'sunspot_rails', :git => ''

Can someone help me with this problem or confirm its appearence after updating Java on OS X?

share|improve this question

We could fix it with the help of one of the contributors from sunspot rails and returned to a release candidate gem verioned before the last update.

gem 'sunspot_rails', :git => '', :ref => '79175ea'
gem 'sunspot_solr', :git => '', :ref => '79175ea'

This fixed the issue for us be we are pretty sure that it was caused by the Mac OS Java update.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.