English 中文(简体)
未能启动太阳能炉sol服务器
原标题:Failure starting sunspot solr server

我在启用太阳站服务器方面存在问题。 上周,它像一个药店一样工作,但现在,在一台 run太阳站时,它就错了:索尔:鲁

我的产出:

C:contractbeheersysteem2>rake sunspot:solr:run --trace
** Invoke sunspot:solr:run (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute sunspot:solr:run
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
2012-05-14 10:10:28.077::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2012-05-14 10:10:28.374::INFO:  jetty-6.1.3
2012-05-14 10:10:28.670::INFO:  Extract jar:file:/H:/RailsInstaller/Ruby1.9.3/li
b/ruby/gems/1.9.1/gems/sunspot_solr-1.3.1/solr/webapps/solr.war!/ to C:DOCUME~1
ksonnemaLOCALS~1TempJetty_0_0_0_0_8982_solr.war__solr__-2c5peuwebapp
[Fatal Error] :107:17: Open quote is expected for attribute "{1}" associated wit
h an  element type  "name".
2012-05-14 10:10:31.577::INFO:  Started SocketConnector @ 0.0.0.0:8982

希望有人知道问题是什么。

最佳回答

删除了位于贵方根名录内的散射地图。 和洗 ran太阳站:sol。 现在,将在根基目录中建立一个新的索尔图。

问题回答

我有这个问题,而凯斯建议的解决办法对我来说是徒劳的。 在乌本图,我只得提高我的信任度,解决了这一问题。 指令sudo apt-get set openjdk-version-here处理对我的最新消息。

它还值得检查贵国的系统监测,以确保 st骨 instances已经开。





相关问题
Error while connecting to a remote solr instance from Sunspot

I am using Sunspot rails(1.1.0). Everything works when I run my Rails application and the Solr server on the same machine. When I run Solr server on a different machine, I get the following error: ...

Changing params for search with rails and sunspot

This seems like a common task, I m sure others have come across it. If my controller says this : def index s = Sunspot.search Organization do |query| query.keywords params[:q] unless params[:q]...

Can sunspot-solr filter_by nested attributes?

Let s say I have People, and People has_many Watermelon . I have a filter_by that can work for People attributes, for example : :filter_by => has_eaten_today But can I do a :filter_by for the ...

NoMethodError in rails

The extracted source is below : Showing /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/templates/rescues/diagnostics.erb where line # raised: private method `gsub called for #&...

Sunspot-Solr was started and won t attach to database

Background: Did a switchamaroo to a cluster server from a solo box. As a result, a few things were overwritten in the transfer. Of them, was that sunspot-solr doesn t read the database anymore. I ...

Exclude draft articles from Solr index with Sunspot

I have an indexed model called Article and I don t want solr to index unpublished articles. class Article < ActiveRecord::Base searchable do text :title text :body end end How can I ...

热门标签