I really need help with Dspace Discovery set up.  When I run bin/dspace
update-discovery-index we get the following error in our dspace log:

Internal Server Error

request: http://localhost:8080/solr/search/update?wt=javabin&version=1
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttp
SolrServer.java:435)
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttp
SolrServer.java:244)
        at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(Abstract
UpdateRequest.java:105)
        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:64)
        at 
org.dspace.discovery.SolrServiceImpl.writeDocument(SolrServiceImpl.java:558
)
        at 
org.dspace.discovery.SolrServiceImpl.buildDocument(SolrServiceImpl.java:585
)
        at 
org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:177)
        at 
org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:320)
        at org.dspace.discovery.IndexClient.main(IndexClient.java:121)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
2011-10-26 12:24:48,041 INFO  org.dspace.discovery.IndexClient @ Done with
indexing
2011-10-26 12:24:48,123 ERROR org.dspace.kernel.DSpaceKernelManager @ WARN
Failed to unregister the MBean:
org.dspace:name=74bb7542-186c-4be0-bdfb-7cc1f1cb31c3,type=DSpaceKernel



We have the following in the dspace-solr-search.cfg

##### Search Indexing #####
solr.search.server = http://localhost:8080/solr/search


I've tried a few curl command so see if I get any reponse,

Curl http://localhost:8080/solr seems to work find, however the rest of
the following return either 400 or 404 responses:

[root@dspace dspace-1.7.1]# wget localhost:8080/solr/search
--2011-10-26 12:29:43--  http://localhost:8080/solr/search
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-10-26 12:29:43 ERROR 404: Not Found.

[root@dspace dspace-1.7.1]# wget
localhost:8080/solr/search/update?wt=javabin&version=1
[1] 17005
[root@dspace dspace-1.7.1]# --2011-10-26 12:30:12--
http://localhost:8080/solr/search/update?wt=javabin
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 400 Bad Request
2011-10-26 12:30:12 ERROR 400: Bad Request.


-------------------------
Philip Shafer
Web Developer
Rowan University
Library Services
Ph: 856-256-4418
E-mail: [email protected]


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to