[Dspace-tech] DSpace-CRIS 4.1 Installation Issue

254 views
Skip to first unread message

Alexander Wong

unread,
Aug 26, 2015, 1:16:48 PM8/26/15
to dspace-tech
Dear DSpace Community,

I am wondering if anyone is trying to make use of DSpace-CRIS 4.1 which is recently released.
I have tried to deploy it using the step by step guide, but the following was found in my tomcat localhost log.

It seemed to me a certain number of class were not found. Did I do anything wrong again?
I am using OpenJDK7 with Tomcat7.

Thanks,
Alexander Wong.

Jun 19, 2014 10:19:57 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener
java.lang.RuntimeException: Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:81)
... 13 more
Caused by: java.lang.IllegalStateException: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208)
... 15 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:740)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)
at org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207)
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205)
... 15 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:185)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:833)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
... 37 more

Jun 19, 2014 10:19:58 AM org.apache.catalina.core.ApplicationContext log
INFO: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
Jun 19, 2014 10:19:58 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.dspace.app.util.DSpaceContextListener
java.lang.NullPointerException
at org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4819)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5466)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Jun 19, 2014 10:20:00 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener
java.lang.RuntimeException: Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:81)
... 13 more
Caused by: java.lang.IllegalStateException: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208)
... 15 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:740)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)
at org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207)
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205)
... 15 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:185)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:833)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
... 37 more

Jun 19, 2014 10:20:00 AM org.apache.catalina.core.ApplicationContext log
INFO: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
Jun 19, 2014 10:20:00 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.dspace.app.util.DSpaceContextListener
java.lang.NullPointerException
at org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4819)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5466)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Jun 19, 2014 10:20:17 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 19, 2014 10:20:18 AM org.apache.catalina.core.ApplicationContext log
INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'.
Jun 19, 2014 10:20:19 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'spring'
Jun 19, 2014 10:20:43 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jun 19, 2014 10:20:57 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 19, 2014 10:20:57 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'springmvc-rp'
Jun 19, 2014 10:21:00 AM org.apache.catalina.core.ApplicationContext log
INFO: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
Jun 19, 2014 10:21:04 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener
java.lang.RuntimeException: Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:81)
... 13 more
Caused by: java.lang.IllegalStateException: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208)
... 15 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:740)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)
at org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207)
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205)
... 15 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:185)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:833)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
... 37 more

Jun 19, 2014 10:21:04 AM org.apache.catalina.core.ApplicationContext log
INFO: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
Jun 19, 2014 10:21:04 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.dspace.app.util.DSpaceContextListener
java.lang.NullPointerException
at org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4819)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5466)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Jun 19, 2014 10:21:04 AM org.apache.catalina.core.ApplicationContext log
INFO:  In context /solr, configuring Log4J from file:/usr/local/dspace/config/log4j-solr.properties
Jun 19, 2014 10:21:06 AM org.apache.catalina.core.ApplicationContext log
INFO: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
Jun 19, 2014 10:21:08 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener
java.lang.RuntimeException: Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:81)
... 13 more
Caused by: java.lang.IllegalStateException: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208)
... 15 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:740)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)
at org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207)
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205)
... 15 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] for bean with name 'org.dspace.discovery.SearchService' defined in file [/usr/local/dspace/config/spring/api/discovery-solr.xml]; nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:185)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:833)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
... 37 more

Jun 19, 2014 10:21:08 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 19, 2014 10:21:08 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dspace.eventService' defined in ServletContext resource [/WEB-INF/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:581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
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:169)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
... 27 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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
... 28 more

Jun 19, 2014 10:21:08 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Jun 19, 2014 10:21:08 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.dspace.app.util.DSpaceContextListener
java.lang.NullPointerException
at org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4819)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5466)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Andrea Bollini

unread,
Aug 26, 2015, 1:16:49 PM8/26/15
to Alexander Wong, dspace-tech
Hi Alexander,
Is that related to the jspui context for sure? Or do you have deployed also the xmlui?
Do you have in the exploded jspui WEB-INF/lib some jar file like dspace-cris-*.jar?
Can you share the output of your mvn package?
Andrea


Inviato da Samsung Mobile


-------- Messaggio originale --------
Da: Alexander Wong
Data:19/06/2014 04:46 (GMT+01:00)
A: dspace-tech
Oggetto: [Dspace-tech] DSpace-CRIS 4.1 Installation Issue

Alexander Wong

unread,
Aug 26, 2015, 1:16:53 PM8/26/15
to Andrea Bollini, dspace-tech

Dear Andrea,

 

Thanks again.

I have only deployed solr, oai and jspui to tomcat webapps;

With the options specified

“-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true” in /etc/defaults/tomcat7

 

As well as the log4j and solr/home conifguration appended in context.xml.

 

Thanks & Regards,

Alexander Wong

p.txt

Pascarelli Luigi Andrea

unread,
Aug 26, 2015, 1:16:54 PM8/26/15
to Alexander Wong, dspace-tech
Dear Alexander,

seems that oai webapp in the current line of development for 4.x.x not start up well.
So, i suggest to build the tagged version of DSpace-CRIS, named "dspace-cris-4.1.0" (https://github.com/Cineca/DSpace/releases/tag/dspace-cris-4.1.0).
In this released version the oai module works well.
By the way i work to fix this error in the dspace-4_x_x-cris branch and push the fix asap.

Thank you.
Regards.

Luigi Andrea
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems


_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--


CINECA
Luigi Andrea Pascarelli
Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
Divisione Ricerca

Via dei Tizii, 6
00185 Roma, Italy
ph. +39 06 44486626
http://www.cineca.it

Alexander Wong

unread,
Aug 26, 2015, 1:16:58 PM8/26/15
to Pascarelli Luigi Andrea, dspace-tech
Dear Pascarelli and Andrea,

Thanks for your assistance again. We are very pleased to see the rapid and yet steady development being done on DSPACE-CRIS. With your help, the DSpace 4.1 CRIS has its interface up and running. 

Following issues were found:
1. There is a box floating 'Vedi anche' in the middle of article. Clicking on it will show the number of items in the DSpace owned by RP in the box; further clicking will be diverted to "Authorization Required" page, even the logged in user owned the RP.
2. The RP view counts are not reflected after performing normal stats operations (stats-general/stats-monthly). Does it require additional effort to generate it? 
3. While I tried to perform a "Re-find possible items for this RP" following as found in tomcat log:

Jun 20, 2014 3:18:36 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet springmvc-rp threw exception
java.lang.NullPointerException
        at org.dspace.app.cris.integration.BindItemToRP.work(BindItemToRP.java:324)
        at org.dspace.app.webui.cris.controller.ReBindItemToRPController.handleRequest(ReBindItemToRPController.java:57)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:744)

At the end of the date, I will try to port our DSpace 4.1 to DSpace-CRIS 4.1... hope there are not so many issues. I bet some of them are induced by myself

Thanks,
Alexander Wong
piped.jpg

Alexander Wong

unread,
Aug 26, 2015, 1:17:01 PM8/26/15
to Pascarelli Luigi Andrea, dspace-tech
Dear Pascarelli,

For the logging issue - It seems to me none of the events are recorded to dspace.log correctly.
Instead these show up in dspace.log

014-06-23 09:33:07,382 WARN  org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory @ HHH020003: Could not find a specific ehcache configuration for cache named [org.dspace.app.cris.model.jdyna.BoxDynamicObject.mask]; using defaults.
2014-06-23 09:33:10,532 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]. Please check http://ehcache.org for the latest version.
2014-06-23 09:33:11,410 WARN  org.hibernate.hql.internal.ast.HqlSqlWalker @ [DEPRECATION] Encountered positional parameter near line 1, column 137.  Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.

Which funny enough shows up in the static statistics report pages.

Regards,
Alexander Wong

Andrea Bollini

unread,
Aug 26, 2015, 1:17:21 PM8/26/15
to Alexander Wong, dspace-tech
Il 20/06/2014 10.22, Alexander Wong ha scritto:
..
2. The RP view counts are not reflected after performing normal stats operations (stats-general/stats-monthly). Does it require additional effort to generate it? 
Hi Alexander,
the CRIS statistics use data stored in SOLR not the log files. The log files processing, that is what the stats-general/stats-monthly scripts manage, is a legacy statistics functionality that is not longer vital in the dspace community.
The solr statistics are accessible from the detail page of any CRIS entities without the need of any script execution, data are available within 15 minutes
https://github.com/Cineca/DSpace/blob/dspace-cris-master/dspace/solr/statistics/conf/solrconfig.xml#L370

Andrea
-- 
Andrea Bollini
Soluzioni per la Ricerca Istituzionale
Cineca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it 

Alexander Wong

unread,
Aug 26, 2015, 1:17:25 PM8/26/15
to Andrea Bollini, dspace-tech
Dear Andrea,

Please ignore my message directly send to you - sorry.

1. After a re-clone and a clear up of ./~m2, things went fine for stats in static reports.
But it seems to me RP Stats are still not counting correctly. 
All the tabs just show "From 1 Nov 201, no data available" even I view articles/download right from the RP.

2., running a rebindItemstoRP (with Variant names entered in the RP) will throw exception (and shows Internal System Error).

Exception:

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.RuntimeException

      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)

      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.RuntimeException

      at org.dspace.app.cris.integration.BindItemToRP.work(BindItemToRP.java:339)

      at org.dspace.app.webui.cris.controller.ReBindItemToRPController.handleRequest(ReBindItemToRPController.java:57)

      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)

      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)

      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)

      ... 35 more

Caused by: java.lang.NullPointerException

      at org.dspace.app.cris.integration.BindItemToRP.work(BindItemToRP.java:324)

      ... 40 more


Thanks & Regards,

Alexander WOng



On Thu, Jun 26, 2014 at 9:39 AM, Alexander Wong <amd...@gmail.com> wrote:
Dear Andrea,

After a re-clone and a clear up of ./~m2, things went fine for stats.
Nevertheless, running a rebindItemstoRP (with Variant names entered in the RP) will throw exception (and shows Internal System Error).

Exception:

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.RuntimeException

      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)

      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.RuntimeException

      at org.dspace.app.cris.integration.BindItemToRP.work(BindItemToRP.java:339)

      at org.dspace.app.webui.cris.controller.ReBindItemToRPController.handleRequest(ReBindItemToRPController.java:57)

      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)

      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)

      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)

      ... 35 more

Caused by: java.lang.NullPointerException

      at org.dspace.app.cris.integration.BindItemToRP.work(BindItemToRP.java:324)

      ... 40 more


Thanks & Regards,

Alexander WOng

Alexander Wong

unread,
Aug 26, 2015, 1:17:27 PM8/26/15
to Andrea Bollini, dspace-tech
Dear Andrea and fellow DSpace-community,

SOLR Stats not logged properly.
==========================
I found that none of the stats were written to solr statistics core correctly.
Even if I remove all the files in index and start everything from scratch, the numDocs in solr statistics core is 0. (I have tried to do all kind of activities on DSpace-CRIS)

The DSpace Solr core I am using is bundled in the DSpace-CRIS - which is version 4.4.

INDEX-DISCOVERY ISSUE
=====================
If a certain orgunit or rp does not carry names, issuing an index-discovery command will generate nullpointer error.

RP rebind
========
Still looking for solutions, but looking at dspace.log and catalina.out draw me no clue.

Regards,
Alexander Wong.

Pascarelli Luigi Andrea

unread,
Aug 26, 2015, 1:17:31 PM8/26/15
to Alexander Wong, dspace-tech
Dear Alexander,
> SOLR Stats not logged properly.
> ==========================
> I found that none of the stats were written to solr statistics core
> correctly.
> Even if I remove all the files in index and start everything from
> scratch, the numDocs in solr statistics core is 0. (I have tried to do
> all kind of activities on DSpace-CRIS)
>
> The DSpace Solr core I am using is bundled in the DSpace-CRIS - which
> is version 4.4.

Please, can you write something more about this issue?

> INDEX-DISCOVERY ISSUE
> =====================
> If a certain orgunit or rp does not carry names, issuing an
> index-discovery command will generate nullpointer error.
>

This is a known issue, there are cases (via insert direct on database,
build CRIS entities and close browser or exit the creation flow...etc
etc) which the required metadata for the entities are missing (fullName
for RP, name for orgunit, title for projects and
<researchentitityshortname>name for all other entities). In the next
version i try to fix this issue. Sorry but now the only suggest to fix
this issues is an update on database or via administration tool order
all entities by name and edit manually each entities that have no
name/title.

> RP rebind
> ========
Seems a bug. I'll look into the problems and i will let you know.



Luigi Andrea Pascarelli





Alexander Wong

unread,
Aug 26, 2015, 1:17:41 PM8/26/15
to Pascarelli Luigi Andrea, dspace-tech
Dear Luigi,

Thanks for your help in this case.

I have two instances of DSpace-CRIS 4.1, one started from scratch and the other was installed to an existing DSpace 4.1 installation. Both of them experienced the same case.

Instruction performed to start tomcat
=============================
I have followed the instructions in Deploy Web Application to alter context.xml as well as adding the parameter to tomcat7. (If the parameter is not added to tomcat7, touching CRIS will generate Internal Server Error due to ehcache.)

Catalina.out errors 
===============
If I intentionally restart tomcat, a few line of solr errors were found in catalina.out complaints about unable to kill a number of threads. A portion of log attached in this email.

Originally I thought of this is a misconifguration done by me, but using the default configs with minimal modifications (just to change IPs) could not help.

The symptom of not able to log anything
================================
I can see that if I trigger a view action on DSpace 3.2 or DSpace 4.1 (without CRIS), the action I have just did would be written to the SOLR (Statistic core) index within the time out, or usually within a few moment. The numdoc found in SOLR Admin interface will increase to show the fact that the access has been logged correctly. In Solr.log, none of the actions related to statistics were found. (I can see logs to search and oai cores respectively.

If necessary, I can provide shell access to the testing servers.

Best Regards,
Alexander Wong



catalina.2014-06-27.log.zip

Alexander Wong

unread,
Aug 26, 2015, 1:19:16 PM8/26/15
to Pascarelli Luigi Andrea, dspace-tech
Dear Luigi and Andrea,

I have tried to spend a few days on this stats issue but no ways out. I am wondering if there are other things I can shuffle around to get it run. My supervisors are very concerned with the statistics and I need to get it fixed asap.

I am also trying to look for pmc citation counts - I suppose it has to be triggered by a dsrun command to get all the pmc updated. Is it true?

Thanks a lot again,
Alexander Wong


On Wed, Jul 2, 2014 at 10:49 AM, Alexander Wong <amd...@gmail.com> wrote:
Dear Luigi and Andrea,

Thanks for the great work. The RP refind function works pretty well at our side - I believed a minor touchup of selection box at the later time would be nice. (The select-all box is not working as expected.).

Nevertheless, I am still having solr statistics issue.
I have tried to download articles, view articles, view RP and do all the things trying to trigger solr to log my stats, but still fails.

I have attached the tomcat logs for your references.

Thanks & Regards,
Alexander Wong



On Sun, Jun 29, 2014 at 3:08 AM, Pascarelli Luigi Andrea <l.pasc...@cineca.it> wrote:
Hi all,

we have just released DSpace-CRIS v-4.1.1. You can download the tagged version, as usually, from git at https://github.com/Cineca/DSpace/releases/tag/dspace-cris-4.1.1
This version resolve the issues adviced by you (the Rebind publications feature and the NPE behaviour if a cris entities have no name/title required metadata).
The release contains others minor fixes.
Thank you all.

Andrea

Andrea Bollini

unread,
Aug 26, 2015, 1:19:22 PM8/26/15
to Alexander Wong, Pascarelli Luigi Andrea, dspace-tech
Hi Alexander,
I'm out-of-office these days I'm sure that Luigi will reply with information about the script need to update the pmc count.
There are two script one is able to retrieve pmc/pmid identifier for items that have a doi, the other query pmc to retrieve the actual count and citation information.

About the statistics you need to look to the solr log files. When you hit a researcher page do you see an insert on  solr (call to the /update handler?). What if you hit an item page?

Andrea


Inviato da Samsung Mobile


-------- Messaggio originale --------
Da: Alexander Wong
Data:07/07/2014 06:04 (GMT+01:00)
A: Pascarelli Luigi Andrea
Cc: Andrea Bollini ,dspace-tech
Oggetto: Re: Release DSpace-CRIS v-4.1.1

Pascarelli Luigi Andrea

unread,
Aug 26, 2015, 1:19:28 PM8/26/15
to Andrea Bollini, Alexander Wong, dspace-tech
In regards to PMC, you have to build solr core for pmc (check if into
your solr instance there is pmc core configurations). Download the csv
file from pubmed ftp://ftp.ncbi.nlm.nih.gov/pub/pmc/PMC-ids.csv.gz
After that try to run this script (you need a basic experience with the
shell script and the curl tool):

split -d -l 50000 <file.pmc.csv> split_files.
for file in `ls split_files.*`
do
curl
'http://<host:port>/solr/pmc/update?update.contentType=text/csv&fieldnames=,,,,,,,DOI,PMCID,PMID,,'
-H 'Content-type:text/csv; charset=utf-8' --data-binary @$file;
done

The script split the csv file in n files to avoid problem due to the max
upload limit on your server and send it to your solr to ingest it. Tune
it with your need. Good luck :-)

After that launch the main script at
org.dspace.app.cris.pmc.script.RetrieveCitationInPMC with "-x 0"
parameter, this query pmc to retrieve the actual count and citation
informations.
After all launch org.dspace.app.cris.pmc.script.RetrievePubMedID (with
no params) to retrieve pmc/pmid identifier for items that have a doi.

Hope this help. Let me know.

Luigi Andrea Pascarelli

Il 07/07/2014 11:50, Andrea Bollini ha scritto:
> Hi Alexander,
> I'm out-of-office these days I'm sure that Luigi will reply with information about the script need to update the pmc count.
> There are two script one is able to retrieve pmc/pmid identifier for items that have a doi, the other query pmc to retrieve the actual count and citation information.
>
> About the statistics you need to look to the solr log files. When you hit a researcher page do you see an insert on solr (call to the /update handler?). What if you hit an item page?
>
> Andrea
>
>

--
Cineca - Sede di Roma
via dei Tizii 6 - 00185 Roma

ph. +39 06 44486626
email: l.pasc...@cineca.it


Alexander Wong

unread,
Aug 26, 2015, 1:19:43 PM8/26/15
to Pascarelli Luigi Andrea, dspace-tech
Dear Andrea,

Thanks for your help. Your active involvement in DSpace-CRIS will surely bring the DSPACE-CRIS to the next level.

For PMC - I am now trying to follow your instruction on it.
For Stats - I have reinstall the OS from fresh and git clone again for 4.1.1.
Trigger CRIS entities will have following lines logged in dspace.log;
solr.log is kept at 0 bytes.

2014-07-08 10:33:41,362 INFO  org.dspace.browse.BrowseEngine @ anonymous:session_id=F496C193EA2B46F6ECC531D89B3A229B:ip_addr=127.0.0.1:browse_by_item:
2014-07-08 10:33:45,998 ERROR org.dspace.statistics.SolrLoggerUsageEventListener @
2014-07-08 10:34:08,881 WARN  org.dspace.app.webui.cris.components.statistics.ASolrStatsConfigurerComponent @
2014-07-08 10:34:08,969 WARN  org.dspace.app.webui.cris.components.statistics.ASolrStatsConfigurerComponent @

Regards,
Alexander Wong.

Luigi Andrea Pascarelli

unread,
Aug 26, 2015, 1:19:55 PM8/26/15
to Alexander Wong, dspace-tech
from the log i see that you try to hit stats from the same machine. this access are inhibit and for test scope if you want collect that i think that in usage-statistics.cfg you have to set the configuration for test (set test-randomize-localhost to true if i remember well). let me know.

Luigi Andrea

----- Messaggio originale -----
Da: Alexander Wong <amd...@gmail.com>
A: Pascarelli Luigi Andrea <l.pasc...@cineca.it>
Cc: Andrea Bollini <a.bo...@cineca.it>, dspace-tech <dspac...@lists.sourceforge.net>
Inviato: Tue, 08 Jul 2014 04:40:50 +0200 (CEST)
Oggetto: Re: R: Release DSpace-CRIS v-4.1.1
Reply all
Reply to author
Forward
0 new messages