Hi Pascarelli, Sorry for to many questions, but I have problems when upgrade my Solr. I have DSpace 3.X + CRIS Module (I download from https://github.com/Cineca/dspace-cris/) but for error a member of my team (that now is not here) put Solr 3.5 and not Solr 4.1.0 :( So, I want to migrate to Solr 4.1.0. I do these steps: 1) Download Solr 4.1.0: http://archive.apache.org/dist/lucene/solr/4.1.0/solr-4.1.0.zip 2) Unzip 3) Copy war /solr4/solr-4.1.0/dist/solr-4.1.0.war to my Tomcat webapps. 4) Deploy war in context '/solr' 5) I check that in 'dspace.cfg' the configuration of server of solr it's OK. default.solr.server = ${dspace.baseUrl}/solr 6) Edit '/dspace/webapps/solr/WEB-INF/web.xml' and uncoment /edit: <env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-value>/dades/dspace/solr</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> The directory that I install dspace is '/dades/dspace' 7) Restart Tomcat but when I'm going to: http://portalrecerca-dev.cesca.cat/solr/ I get error: collection1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load config for solrconfig.xml 8) I try to execute /dspace/bin .dspace update-discovery-index but I get an error too: What I'm doing wrong? :( Very thanks in advance!! INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=5017caa7-a37a-4d1e-b1f4-3e2110836394,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1233) - Loading from classloader: file:/dades/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1233) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1233) - Loading: /dades/dspace/config/log4j.properties Exception: null java.lang.NullPointerException at org.dspace.app.cris.discovery.CrisSearchService.indexProperty(CrisSearchService.java:457) at org.dspace.app.cris.discovery.CrisSearchService.indexCrisObject(CrisSearchService.java:313) at org.dspace.app.cris.discovery.CrisSearchService.createCrisIndex(CrisSearchService.java:670) at org.dspace.app.cris.discovery.CrisSearchService.createCrisIndex(CrisSearchService.java:357) at org.dspace.app.cris.discovery.CrisSearchService.updateCrisIndex(CrisSearchService.java:366) at org.dspace.app.cris.discovery.CrisSearchService.updateIndex(CrisSearchService.java:196) at org.dspace.discovery.IndexClient.main(IndexClient.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) Daniel El 25/11/13 18:39, Pascarelli Luigi
Andrea ha escrit:
Dear Daniel, |
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette