I started with an entirely clean & new dspace 1.8.2 source folder and hand copied all customizations to it. After building and updating, now the dspace xmlui interface will not load at all. The errors I receive and the 404 "The requested resource () is not available." error in the browser are almost identical to those experienced by Kai Bjørnenak in this thread:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg18736.html

Things I have tried from that thread:
-replacing the spring-dspace-addon-discovery-configuration-services.xml and restarting tomcat
-disabling discovery and restarting tomcat
-changing ownership of all /dspace to dspace.dspace and permissions to 775 and restarting tomcat
-starting from scratch with a fresh dspace 1.8.2 source code and adding all customizations manually, restarting tomcat
-defining an xmlui-context path in server.xml (this was already defined) and restarting tomcat

I have also tried all of the above followed by a rebuild and update of dspace code. The errors still persist and the xmlui interface will not load.

dspace/bin/dspace update-discovery-index runs fine.

At this point I've wasted far too much time on this and just want to disable discovery search for 1.8.2, hoping that it may be easier to get working with dspace 3.0. However, I cannot get my test server back to a workable state even after disabling discovery!

The dspace log does not list any errors, even in debug, but here's what it does report on a tomcat restart:

2012-11-28 15:27:33,409 DEBUG net.sf.ehcache.CacheManager @ CacheManager already shutdown
2012-11-28 15:27:37,988 DEBUG net.sf.ehcache.CacheManager @ Creating new CacheManager with InputStream
2012-11-28 15:27:37,992 DEBUG net.sf.ehcache.config.ConfigurationFactory @ Configuring ehcache from InputStream
2012-11-28 15:27:38,004 DEBUG net.sf.ehcache.config.DiskStoreConfiguration @ Disk Store Path: /var/cache/tomcat6/work/Catalina/localhost/xmlui/cache-dir/
2012-11-28 15:27:38,009 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No CacheManagerEventListenerFactory class specified. Skipping...
2012-11-28 15:27:38,022 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No BootstrapCacheLoaderFactory class specified. Skipping...
2012-11-28 15:27:38,022 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No CacheExceptionHandlerFactory class specified. Skipping...
2012-11-28 15:27:38,027 DEBUG net.sf.ehcache.util.UpdateChecker @ Checking for update...
2012-11-28 15:27:38,051 DEBUG net.sf.ehcache.store.MemoryStore @ Initialized net.sf.ehcache.store.MemoryStore for cocoon-ehcache
2012-11-28 15:27:38,051 DEBUG net.sf.ehcache.Cache @ Initialised cache: cocoon-ehcache
2012-11-28 15:27:38,298 INFO  net.sf.ehcache.util.UpdateChecker @ New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]
2012-11-28 15:27:38,496 DEBUG net.sf.ehcache.store.MemoryStore @ cocoon-ehcache is persistent. Spooling 0 elements to the disk store.
2012-11-28 15:27:40,063 INFO  net.sf.ehcache.util.UpdateChecker @ New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]
2012-11-28 15:27:42,978 DEBUG net.sf.ehcache.CacheManager @ Creating new CacheManager with InputStream
2012-11-28 15:27:42,981 DEBUG net.sf.ehcache.config.ConfigurationFactory @ Configuring ehcache from InputStream
2012-11-28 15:27:42,988 DEBUG net.sf.ehcache.config.DiskStoreConfiguration @ Disk Store Path: /var/cache/tomcat6/work/Catalina/localhost/_/cache-dir/
2012-11-28 15:27:42,993 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No CacheManagerEventListenerFactory class specified. Skipping...
2012-11-28 15:27:43,005 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No BootstrapCacheLoaderFactory class specified. Skipping...
2012-11-28 15:27:43,005 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No CacheExceptionHandlerFactory class specified. Skipping...
2012-11-28 15:27:43,009 DEBUG net.sf.ehcache.util.UpdateChecker @ Checking for update...
2012-11-28 15:27:43,022 DEBUG net.sf.ehcache.store.MemoryStore @ Initialized net.sf.ehcache.store.MemoryStore for cocoon-ehcache
2012-11-28 15:27:43,022 DEBUG net.sf.ehcache.Cache @ Initialised cache: cocoon-ehcache
2012-11-28 15:27:43,074 INFO  net.sf.ehcache.util.UpdateChecker @ New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]
2012-11-28 15:27:43,275 DEBUG net.sf.ehcache.store.MemoryStore @ cocoon-ehcache is persistent. Spooling 0 elements to the disk store.

Here is the error message from tomcat's catalina.out log:

Nov 28, 2012 3:27:32 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Nov 28, 2012 3:27:33 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Nov 28, 2012 3:27:33 PM org.apache.solr.core.SolrCore close
INFO: [search]  CLOSING SolrCore org.apache.solr.core.SolrCore@51762a
Nov 28, 2012 3:27:33 PM org.apache.solr.update.DirectUpdateHandler2 close
INFO: closing DirectUpdateHandler2{commits=0,autocommit maxDocs=10000,autocommit maxTime=10000ms,autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
Nov 28, 2012 3:27:33 PM org.apache.solr.update.DirectUpdateHandler2 close
INFO: closed DirectUpdateHandler2{commits=0,autocommit maxDocs=10000,autocommit maxTime=10000ms,autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
Nov 28, 2012 3:27:33 PM org.apache.solr.core.SolrCore closeSearcher
INFO: [search] Closing main searcher on request.
Nov 28, 2012 3:27:33 PM org.apache.solr.search.SolrIndexSearcher close
INFO: Closing Searcher@2a7640 main
    fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=2,evictions=0,size=2,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    documentCache{lookups=0,hits=0,hitratio=0.00,inserts=14,evictions=0,size=14,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
Nov 28, 2012 3:27:33 PM org.apache.solr.core.SolrCore close
INFO: [statistics]  CLOSING SolrCore org.apache.solr.core.SolrCore@c069ec
Nov 28, 2012 3:27:33 PM org.apache.solr.update.DirectUpdateHandler2 close
INFO: closing DirectUpdateHandler2{commits=0,autocommit maxDocs=10000,autocommit maxTime=900000ms,autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
Nov 28, 2012 3:27:33 PM org.apache.solr.update.DirectUpdateHandler2 close
INFO: closed DirectUpdateHandler2{commits=0,autocommit maxDocs=10000,autocommit maxTime=900000ms,autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
Nov 28, 2012 3:27:33 PM org.apache.solr.core.SolrCore closeSearcher
INFO: [statistics] Closing main searcher on request.
Nov 28, 2012 3:27:33 PM org.apache.solr.search.SolrIndexSearcher close
INFO: Closing Searcher@1016505 main
    fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=2,evictions=0,size=2,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
Nov 28, 2012 3:27:33 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xmlui] has not been started
Nov 28, 2012 3:27:33 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Nov 28, 2012 3:27:33 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Nov 28, 2012 3:27:33 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Nov 28, 2012 3:27:34 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-sun-1.6.0.33/jre/lib/i386/client:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33/jre/lib/i386:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Nov 28, 2012 3:27:34 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
Nov 28, 2012 3:27:34 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
Nov 28, 2012 3:27:35 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 28, 2012 3:27:35 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 504 ms
Nov 28, 2012 3:27:35 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 28, 2012 3:27:35 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
log4j:WARN No appenders could be found for logger (org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
Failed to startup the DSpace Service Manager: failure starting up spring service manager: Configuration problem: Failed to register bean definition with name 'org.dspace.discovery.SearchService'
Offending resource: URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.dspace.discovery.SearchService' defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]: Cannot register bean definition [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] for bean 'org.dspace.discovery.SearchService': There is already [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-provider-1.7.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] bound.
Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Configuration problem: Failed to register bean definition with name 'org.dspace.discovery.SearchService'
Offending resource: URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.dspace.discovery.SearchService' defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]: Cannot register bean definition [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] for bean 'org.dspace.discovery.SearchService': There is already [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-provider-1.7.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] bound.:java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Configuration problem: Failed to register bean definition with name 'org.dspace.discovery.SearchService'
Offending resource: URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.dspace.discovery.SearchService' defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]: Cannot register bean definition [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] for bean 'org.dspace.discovery.SearchService': There is already [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-provider-1.7.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] bound.
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
Loading catalog: file:/usr/share/tomcat6/work/Catalina/localhost/xmlui/cocoon_xml_resolver_entities/catalog
Nov 28, 2012 3:27:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 28, 2012 3:27:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/xmlui] startup failed due to previous errors
Nov 28, 2012 3:27:38 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Nov 28, 2012 3:27:38 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
log4j:WARN No appenders could be found for logger (org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
Nov 28, 2012 3:27:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 2Merritt
Nov 28, 2012 3:27:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Nov 28, 2012 3:27:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sample
Nov 28, 2012 3:27:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory oai
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
Nov 28, 2012 3:27:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
log4j:WARN No appenders could be found for logger (org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
Failed to startup the DSpace Service Manager: failure starting up spring service manager: Configuration problem: Failed to register bean definition with name 'org.dspace.discovery.SearchService'
Offending resource: URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.dspace.discovery.SearchService' defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]: Cannot register bean definition [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] for bean 'org.dspace.discovery.SearchService': There is already [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-provider-1.7.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] bound.
Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Configuration problem: Failed to register bean definition with name 'org.dspace.discovery.SearchService'
Offending resource: URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.dspace.discovery.SearchService' defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]: Cannot register bean definition [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] for bean 'org.dspace.discovery.SearchService': There is already [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-provider-1.7.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] bound.:java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Configuration problem: Failed to register bean definition with name 'org.dspace.discovery.SearchService'
Offending resource: URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.dspace.discovery.SearchService' defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]: Cannot register bean definition [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-solr-1.8.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] for bean 'org.dspace.discovery.SearchService': There is already [Generic bean: class [org.dspace.discovery.SolrServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/data/dspace/webapps/xmlui/WEB-INF/lib/dspace-discovery-provider-1.7.2.jar!/spring/spring-dspace-addon-discovery-services.xml]] bound.
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
Loading catalog: file:/usr/share/tomcat6/work/Catalina/localhost/_/cocoon_xml_resolver_entities/catalog
Nov 28, 2012 3:27:43 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 28, 2012 3:27:43 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Nov 28, 2012 3:27:43 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Nov 28, 2012 3:27:43 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Nov 28, 2012 3:27:43 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory solr
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: Using JNDI solr.home: /dspace/solr
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/dspace/solr/'
Nov 28, 2012 3:27:43 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: Using JNDI solr.home: /dspace/solr
Nov 28, 2012 3:27:43 PM org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /dspace/solr/solr.xml
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: Using JNDI solr.home: /dspace/solr
Nov 28, 2012 3:27:43 PM org.apache.solr.core.CoreContainer <init>
INFO: New CoreContainer: solrHome=/dspace/solr/ instance=3483042
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/dspace/solr/'
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/dspace/solr/search/'
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrConfig initLibs
INFO: Adding specified lib dirs to ClassLoader
Nov 28, 2012 3:27:43 PM org.apache.solr.core.Config getLuceneVersion
WARNING: the luceneMatchVersion is not specified, defaulting to LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.4 emulation is deprecated and will be removed in 4.0. This parameter will be mandatory in 4.0.
Nov 28, 2012 3:27:43 PM org.apache.solr.core.SolrConfig <init>
INFO: Using Lucene MatchVersion: LUCENE_24
Nov 28, 2012 3:27:44 PM org.apache.solr.core.SolrConfig <init>
WARNING: Deprecated syntax found. <highlighting/> should move to <searchComponent/>
Nov 28, 2012 3:27:44 PM org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
Nov 28, 2012 3:27:44 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
Nov 28, 2012 3:27:44 PM org.apache.solr.schema.IndexSchema readSchema



Here is the error message from cocoon.log:

2012-11-28 15:27:43,282 ERROR org.springframework.web.context.ContextLoader  - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dspace.eventService' defined in ServletContext resource [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()] threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()] threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)
    ... 41 more
Caused by: java.lang.IllegalStateException: DSpace kernel cannot be null
    at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63)
    at org.dspace.utils.DSpace.getEventService(DSpace.java:75)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)
    ... 42 more

Thanks for your continued help!

Matthew


Matthew McKinley
Digital Project Specialist, University of California, Irvine
about.me



On Wed, Nov 7, 2012 at 2:56 PM, helix84 <helix84@centrum.sk> wrote:
I don't have the time to look at the error in detail but I'll try to
give you another suggestion. There were major changes in Discovery
configuration format between 1.7 and 1.8. Perhaps you (partialy) used
the old configuration which is no longer valid? Start over with a
default configuration folder and port your changes one by one from
your old configuration. I recommend doing that on each major version
upgrade.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette