SolrSearch: Solr connection is invalid

Hi everyone,

I have successfully set up an Omeka development environment on my QNAP NAS TS-412, however, the SolrSearch plugin is giving me a rather hard time. Tomcat and Solr are up and running. The solr-core from the plugin archive is installed under the name of "omeka" and responds to queries and pings.

Tomcat admin panel is accessible on 10.5.6.3:7080, Solr on 10.5.6.3:7080/solr respectively. The core url, as shown in queries for example, is: http://10.5.16.3:7080/solr/omeka/select?q=*%3A*&wt=json&indent=true

When I enter the server configuration info on "omeka/admin/solr-search/server", I keep getting a "Solr connection is invalid." response.

Server Host: 10.5.16.3
Port: 7080
Core URL: /solr/omeka/

Out of curiosity, I set up a local XAMPP environment, basically mirroring the NAS set up, i.e. exporting the mysql, copying the omeka folder and using the same solr setup... well, guess what: the plugin can connect to the solr core without any trouble.

Here are some of the relevant logs, cached right before, while and after entering above data.

Thanks for any hints or pieces of advice!

***Tomcat Solr.log***

INFO - 2014-11-12 18:02:11.455; org.apache.solr.core.CoreContainer; registering core: omeka
INFO - 2014-11-12 18:02:11.465; org.apache.solr.servlet.SolrDispatchFilter; user.dir=/share/MD0_DATA/.qpkg/Tomcat/tomcat/bin
INFO - 2014-11-12 18:02:11.466; org.apache.solr.servlet.SolrDispatchFilter; SolrDispatchFilter.init() done
INFO - 2014-11-12 18:02:57.912; org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null path=/admin/cores params={indexInfo=false&wt=json&_=1415815374015} status=0 QTime=19
INFO - 2014-11-12 18:02:58.088; org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null path=/admin/info/system params={wt=json&_=1415815374147} status=0 QTime=70
INFO - 2014-11-12 18:03:00.134; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/file/ params={file=admin-extra.menu-top.html&contentType=text/html;charset%3Dutf-8&_=1415815376249} status=0 QTime=9
INFO - 2014-11-12 18:03:00.148; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/file/ params={file=admin-extra.menu-bottom.html&contentType=text/html;charset%3Dutf-8&_=1415815376250} status=0 QTime=1
INFO - 2014-11-12 18:03:00.242; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/luke params={show=index&numTerms=0&wt=json&_=1415815376361} status=0 QTime=6
INFO - 2014-11-12 18:03:00.261; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/replication params={wt=json&command=details&_=1415815376363} status=0 QTime=8
INFO - 2014-11-12 18:03:00.288; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/system params={wt=json&_=1415815376364} status=0 QTime=17
INFO - 2014-11-12 18:03:00.293; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/file/ params={file=admin-extra.html&_=1415815376365} status=0 QTime=1
INFO - 2014-11-12 18:03:00.326; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={action=status&wt=json&_=1415815376366} status=0 QTime=13
INFO - 2014-11-12 18:03:59.209; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=4
INFO - 2014-11-12 18:03:59.211; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=6
INFO - 2014-11-12 18:04:14.037; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=7
INFO - 2014-11-12 18:04:14.039; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=9
INFO - 2014-11-12 18:04:17.587; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=3
INFO - 2014-11-12 18:04:17.589; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=5
INFO - 2014-11-12 18:04:23.005; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=13
INFO - 2014-11-12 18:04:23.007; org.apache.solr.core.SolrCore; [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=15

***Tomcat localhost access log***
10.5.16.6 - admin [12/Nov/2014:18:02:55 +0000] "GET /manager/html HTTP/1.1" 200 17508
10.5.16.6 - - [12/Nov/2014:18:02:57 +0000] "GET /solr/ HTTP/1.1" 200 5913
10.5.16.6 - - [12/Nov/2014:18:02:57 +0000] "GET /solr/admin/cores?wt=json&indexInfo=false&_=1415815374015 HTTP/1.1" 200 410
10.5.16.6 - - [12/Nov/2014:18:02:58 +0000] "GET /solr/admin/info/system?wt=json&_=1415815374147 HTTP/1.1" 200 2324
10.5.16.6 - - [12/Nov/2014:18:02:58 +0000] "GET /solr/tpl/index.html?_=1415815374291 HTTP/1.1" 200 6141
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/omeka/admin/file/?file=admin-extra.menu-top.html&contentType=text/html;charset=utf-8&_=1415815376249 HTTP/1.1" 200 926
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/omeka/admin/file/?file=admin-extra.menu-bottom.html&contentType=text/html;charset=utf-8&_=1415815376250 HTTP/1.1" 200 928
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/tpl/dashboard.html?_=1415815376251 HTTP/1.1" 200 5331
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/omeka/admin/luke?wt=json&show=index&numTerms=0&_=1415815376361 HTTP/1.1" 200 575
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/omeka/replication?command=details&wt=json&_=1415815376363 HTTP/1.1" 200 491
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/omeka/admin/file/?file=admin-extra.html&_=1415815376365 HTTP/1.1" 200 1068
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/omeka/admin/system?wt=json&_=1415815376364 HTTP/1.1" 200 2778
10.5.16.6 - - [12/Nov/2014:18:03:00 +0000] "GET /solr/omeka/admin/ping?action=status&wt=json&_=1415815376366 HTTP/1.1" 200 191
10.5.16.6 - - [12/Nov/2014:18:03:33 +0000] "GET / HTTP/1.1" 200 11243
10.5.16.3 - - [12/Nov/2014:18:03:59 +0000] "HEAD /solr/omeka/admin/ping HTTP/1.1" 200 -
10.5.16.3 - - [12/Nov/2014:18:04:14 +0000] "HEAD /solr/omeka/admin/ping HTTP/1.1" 200 -
10.5.16.3 - - [12/Nov/2014:18:04:17 +0000] "HEAD /solr/omeka/admin/ping HTTP/1.1" 200 -
10.5.16.3 - - [12/Nov/2014:18:04:23 +0000] "HEAD /solr/omeka/admin/ping HTTP/1.1" 200 -

***Tomcat Catalina.out***

66905 [http-bio-10.5.16.3-7080-exec-6] INFO org.apache.solr.servlet.SolrDispatchFilter – [admin] webapp=null path=/admin/cores params={indexInfo=false&wt=json&_=1415815374015} status=0 QTime=19
67081 [http-bio-10.5.16.3-7080-exec-7] INFO org.apache.solr.servlet.SolrDispatchFilter – [admin] webapp=null path=/admin/info/system params={wt=json&_=1415815374147} status=0 QTime=70
69127 [http-bio-10.5.16.3-7080-exec-9] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/file/ params={file=admin-extra.menu-top.html&contentType=text/html;charset%3Dutf-8&_=1415815376249} status=0 QTime=9
69141 [http-bio-10.5.16.3-7080-exec-10] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/file/ params={file=admin-extra.menu-bottom.html&contentType=text/html;charset%3Dutf-8&_=1415815376250} status=0 QTime=1
69235 [http-bio-10.5.16.3-7080-exec-3] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/luke params={show=index&numTerms=0&wt=json&_=1415815376361} status=0 QTime=6
69254 [http-bio-10.5.16.3-7080-exec-2] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/replication params={wt=json&command=details&_=1415815376363} status=0 QTime=8
69281 [http-bio-10.5.16.3-7080-exec-1] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/system params={wt=json&_=1415815376364} status=0 QTime=17
69286 [http-bio-10.5.16.3-7080-exec-6] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/file/ params={file=admin-extra.html&_=1415815376365} status=0 QTime=1
69319 [http-bio-10.5.16.3-7080-exec-5] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={action=status&wt=json&_=1415815376366} status=0 QTime=13
128202 [http-bio-10.5.16.3-7080-exec-3] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=4
128204 [http-bio-10.5.16.3-7080-exec-3] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=6
143030 [http-bio-10.5.16.3-7080-exec-8] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=7
143032 [http-bio-10.5.16.3-7080-exec-8] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=9
146580 [http-bio-10.5.16.3-7080-exec-5] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=3
146582 [http-bio-10.5.16.3-7080-exec-5] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=5
151998 [http-bio-10.5.16.3-7080-exec-6] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} hits=0 status=0 QTime=13
152000 [http-bio-10.5.16.3-7080-exec-6] INFO org.apache.solr.core.SolrCore – [omeka] webapp=/solr path=/admin/ping params={} status=0 QTime=15

***Apache main.log***

10.5.16.6 - - [12/Nov/2014:19:00:30 +0100] "GET /omeka/admin/solr-search/server HTTP/1.1" 200 2391 "http://10.5.16.3/omeka/admin/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:00:37 +0100] "POST /omeka/admin/solr-search/server HTTP/1.1" 200 2384 "http://10.5.16.3/omeka/admin/solr-search/server" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:03:46 +0100] "POST /omeka/admin/solr-search/server HTTP/1.1" 200 2386 "http://10.5.16.3/omeka/admin/solr-search/server" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:03:50 +0100] "POST /omeka/admin/solr-search/server HTTP/1.1" 200 2386 "http://10.5.16.3/omeka/admin/solr-search/server" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:03:58 +0100] "POST /omeka/admin/solr-search/server HTTP/1.1" 200 2386 "http://10.5.16.3/omeka/admin/solr-search/server" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:04:12 +0100] "POST /omeka/admin/solr-search/server HTTP/1.1" 200 2393 "http://10.5.16.3/omeka/admin/solr-search/server" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:04:16 +0100] "POST /omeka/admin/solr-search/server HTTP/1.1" 200 2393 "http://10.5.16.3/omeka/admin/solr-search/server" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:04:21 +0100] "POST /omeka/admin/solr-search/server HTTP/1.1" 200 2393 "http://10.5.16.3/omeka/admin/solr-search/server" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
10.5.16.6 - - [12/Nov/2014:19:09:49 +0100] "GET / HTTP/1.1" 200 245 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"

***Omeka Error log***
Request Data

Request URI: /omeka/admin/solr-search/server
Params:
Array
(
[admin] => 1
[action] => server
[module] => solr-search
[controller] => admin
[solr_search_host] => 10.5.16.3
[solr_search_port] => 7080
[solr_search_core] => /solr/omeka/
[submit] => Save Settings
)
Post Data

Array
(
[solr_search_host] => 10.5.16.3
[solr_search_port] => 7080
[solr_search_core] => /solr/omeka/
[submit] => Save Settings
)
Session Data

Array
(
[Default] => Array
(
[redirect] => /
)

[Zend_Auth] => Array
(
[storage] => 1
)

[__ZF] => Array
(
[FlashMessenger] => Array
(
[ENNH] => 1
)

)

)
Server Data

Array
(
[REDIRECT_APPLICATION_ENV] => development
[REDIRECT_STATUS] => 200
[APPLICATION_ENV] => development
[HTTP_HOST] => 10.5.16.3
[HTTP_CONNECTION] => keep-alive
[CONTENT_LENGTH] => 105
[HTTP_CACHE_CONTROL] => max-age=0
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[HTTP_ORIGIN] => http://10.5.16.3
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36
[CONTENT_TYPE] => application/x-www-form-urlencoded
[HTTP_REFERER] => http://10.5.16.3/omeka/admin/solr-search/server
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_LANGUAGE] => de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4,zh-CN;q=0.2,zh;q=0.2,zh-TW;q=0.2,it;q=0.2,ja;q=0.2,fr;q=0.2,ru;q=0.2,es;q=0.2
[HTTP_COOKIE] => 996f2326da1aa2d7dd42d2501841c0b3=a18e67e7424e37ed7e44a168f1df1d85; PHPSESSID=b8f19d31d6e4c7bcd233ed390b4f2825; showAllAp=true; QMS_SID=720d3fea88831c70d084ecdfb4086f28; psrw=239; NAS_USER=admin; NAS_SID=1gf9q9v0; home=1; showQuickStart=1; QT=1415817105943
[PATH] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin
[SERVER_SIGNATURE] =>
Apache Server at 10.5.16.3 Port 80

[SERVER_SOFTWARE] => Apache
[SERVER_NAME] => 10.5.16.3
[SERVER_ADDR] => 10.5.16.3
[SERVER_PORT] => 80
[REMOTE_ADDR] => 10.5.16.6
[DOCUMENT_ROOT] => /share/Web
[SERVER_ADMIN] => admin@NAS
[SCRIPT_FILENAME] => /share/Web/omeka/admin/index.php
[REMOTE_PORT] => 65209
[REDIRECT_URL] => /omeka/admin/solr-search/server
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => POST
[QUERY_STRING] =>
[REQUEST_URI] => /omeka/admin/solr-search/server
[SCRIPT_NAME] => /omeka/admin/index.php
[PHP_SELF] => /omeka/admin/index.php
[REQUEST_TIME] => 1415817110
[argv] => Array
(
)

[argc] => 0
)

Routing Data

Current Route: solrSearchAdmin
Defined routes:
Route Name Matches Current Request Assembled with current params
default true solr-search/admin/server/admin/1/solr_search_host/10.5.16.3/solr_search_port/7080/solr_search_core/%2Fsolr%2Fomeka%2F/submit/Save+Settings
id false Could not assemble: id is not specified
page false Could not assemble: page is not specified
pluginInstall false Could not assemble: name is not specified
exhibitAction false exhibits/server/admin/1/module/solr-search/controller/admin/solr_search_host/10.5.16.3/solr_search_port/7080/solr_search_core/%2Fsolr%2Fomeka%2F/submit/Save+Settings
exhibitBase false Could not assemble: page is not specified
exhibitStandard false Could not assemble: id is not specified
exhibitSimple false Could not assemble: slug is not specified
exhibitShow false Could not assemble: slug is not specified
exhibitItem false Could not assemble: slug is not specified
exhibitBrowse false Could not assemble: page is not specified
neatline false Could not assemble: slug is not specified
neatlineFullscreen false Could not assemble: slug is not specified
neatlineAction false neatline/server
neatlineActionId false Could not assemble: id is not specified
neatlineExhibitsId false Could not assemble: id is not specified
neatlineRecords false neatline/records
neatlineRecordsId false Could not assemble: id is not specified
neatlineItemsId false Could not assemble: id is not specified
timelineActionRoute false Could not assemble: id is not specified
timelineDefaultRoute false neatline-time/timelines/server
timelineRedirectRoute false neatline-time
timelinePaginationRoute false neatline-time/timelines
solrSearchAdmin true solr-search
solrSearchResults false solr-search