Skip to content

Instantly share code, notes, and snippets.

@helix84
Created December 18, 2012 19:50
Show Gist options
  • Save helix84/4331294 to your computer and use it in GitHub Desktop.
Save helix84/4331294 to your computer and use it in GitHub Desktop.
This appeared in my today's Tomcat logs, no apparent reason so far. Nothing in DSpace log at that time, everything looks normal. Running on DSpace 3.0 with ElasticSearch enabled. This was there in the morning. It's now evening. DSpace was running and responding just a while ago, but now is not responding (I get TCP connection and can send HTTP r…
INFO: [search] webapp=/solr path=/select params={facet=true&facet.mincount=1&facet.offset=0&f.subject_tax_0_filter.facet.sort=count&wt=javabin&rows=0&version=2&f.subject_tax_0_filter.facet.limit=11&start=0&f.author_filter.facet.limit=11&f.dateIssued.year.facet.sort=index&q=*:*&f.dateIssued.year.facet.limit=10&f.author_filter.facet.sort=count&facet.field=author_filter&facet.field=subject_tax_0_filter&facet.field=dateIssued.year&fq=NOT(withdrawn:true)&fq=dateIssued_keyword:2010&fq=location:l9&fq=read:(g0)} hits=5 status=0 QTime=5
Exception in thread "elasticsearch[search]-pool-10-thread-200" java.lang.NoClassDefFoundError: org/elasticsearch/common/io/ThrowableObjectOutputStream
at org.elasticsearch.transport.netty.NettyTransportChannel.sendResponse(NettyTransportChannel.java:87)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:361)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Exception in thread "elasticsearch[search]-pool-10-thread-204" java.lang.NoClassDefFoundError: org/elasticsearch/common/io/ThrowableObjectOutputStream
at org.elasticsearch.transport.netty.NettyTransportChannel.sendResponse(NettyTransportChannel.java:87)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:361)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Exception in thread "elasticsearch[search]-pool-10-thread-202" java.lang.NoClassDefFoundError: org/elasticsearch/common/io/ThrowableObjectOutputStream
at org.elasticsearch.transport.netty.NettyTransportChannel.sendResponse(NettyTransportChannel.java:87)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:361)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Exception in thread "elasticsearch[search]-pool-10-thread-201" java.lang.NoClassDefFoundError: org/elasticsearch/common/io/ThrowableObjectOutputStream
at org.elasticsearch.transport.netty.NettyTransportChannel.sendResponse(NettyTransportChannel.java:87)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:361)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Dec 18, 2012 8:33:10 PM org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [] has started
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [null] (value [null]) and a value of type [org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline] (value [org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline@4c2b78a7]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [null] (value [null]) and a value of type [org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline] (value [org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline@39fe4302]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@63e1560c]) and a value of type [org.apache.xerces.parsers.SAXParser] (value [org.apache.xerces.parsers.SAXParser@6a5f9f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@63e1560c]) and a value of type [org.apache.xerces.parsers.SAXParser] (value [org.apache.xerces.parsers.SAXParser@44434cf3]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [null] (value [null]) and a value of type [org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline] (value [org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline@5ed8610e]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7d9337a9]) and a value of type [org.apache.cocoon.environment.internal.EnvironmentStack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 18, 2012 8:33:11 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@63e1560c]) and a value of type [org.apache.xerces.parsers.SAXParser] (value [org.apache.xerces.parsers.SAXParser@3cdddd89]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=3513091c-28f7-4b53-95d5-94417569c962,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:553) - Loaded 5 config properties from resource: class path resource [config/dspace-defaults.cfg]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded2 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded3 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded2 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded7 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded1 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded78 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded5 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded0 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded0 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded16 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded1 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded13 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded1 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded4 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded1 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded3 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded1 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded13 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded0 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded1 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded6 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded6 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:579) - Loaded0 config properties from stream
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:526) - Loaded 218 config properties from file: /dspace/config/dspace.cfg
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceConfigurationService.java:428) - Started up configuration service and loaded 389 settings
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (AbstractApplicationContext.java:495) - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@22714f5c: startup date [Tue Dec 18 20:33:13 CET 2012]; root of context hierarchy
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from class path resource [spring/spring-dspace-applicationContext.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/additions-3.0.jar!/spring/spring-dspace-addon-example-services.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-services.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-core-services.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-services-3.0.jar!/spring/spring-dspace-core-services.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file [/dspace/config/spring/api/versioning-service.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file [/dspace/config/spring/api/discovery.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'org.dspace.discovery.configuration.DiscoveryConfigurationService': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoveryConfigurationService]; scope=; 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:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.DiscoveryConfigurationService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'defaultConfiguration': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoveryConfiguration]; scope=prototype; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.DiscoveryConfiguration]; scope=prototype; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'searchFilterTitle': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoverySearchFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.DiscoverySearchFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'searchFilterAuthor': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoverySearchFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.DiscoverySearchFilterFacet]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'searchFilterSubject': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoverySearchFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'searchFilterIssued': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoverySearchFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.DiscoverySearchFilterFacet]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'sortTitle': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoverySortFieldConfiguration]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.DiscoverySortFieldConfiguration]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'sortDateIssued': replacing [Generic bean: class [org.dspace.discovery.configuration.DiscoverySortFieldConfiguration]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]] with [Generic bean: class [org.dspace.discovery.configuration.DiscoverySortFieldConfiguration]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/discovery.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file [/dspace/config/spring/api/workflow-actions.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file [/dspace/config/spring/api/bte.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file [/dspace/config/spring/api/identifier-service.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:623) - Overriding bean definition for bean 'org.dspace.identifier.IdentifierService': replacing [Generic bean: class [org.dspace.identifier.IdentifierServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-3.0.jar!/spring/spring-dspace-core-services.xml]] with [Generic bean: class [org.dspace.identifier.IdentifierServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/dspace/config/spring/api/identifier-service.xml]]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file [/dspace/config/spring/api/discovery-solr.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file [/dspace/config/spring/xmlui/workflow-actions-xmlui.xml]
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultListableBeanFactory.java:557) - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1814c2d1: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0,org.dspace.example.Example,org.dspace.discovery.configuration.DiscoveryConfigurationService,defaultConfiguration,searchFilterTitle,searchFilterAuthor,searchFilterSubject,searchFilterIssued,sidebarFacetAuthor,sidebarFacetSubject,sidebarFacetDateIssued,sortTitle,sortDateIssued,org.dspace.discovery.SearchService,org.dspace.identifier.IdentifierService,org.dspace.identifier.VersionedHandleIdentifierProvider,org.dspace.services.CachingService,org.dspace.caching.ehcache.CacheManager,org.dspace.services.SessionService,org.dspace.services.EventService,org.dspace.versioning.VersioningService,solrServiceResourceIndexPlugin,solrBrowseIndexer,claimactionAPI,reviewactionAPI,editactionAPI,finaleditactionAPI,singleuserreviewactionAPI,selectrevieweractionAPI,scorereviewactionAPI,evaluationactionAPI,autoassignactionAPI,noUserSelectionActionAPI,assignoriginalsubmitteractionAPI,reviewaction,editaction,finaleditaction,selectrevieweraction,singleuserreviewaction,scorereviewaction,evaluationaction,claimaction,autoassignAction,noUserSelectionAction,originalSubmitterAssignAction,org.dspace.app.itemimport.DataLoaderService,gr.ekt.transformationengine.core.TransformationEngine,gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader,gr.ekt.transformationengine.dataloaders.dspace.CSVDataLoader,gr.ekt.transformationengine.dataloaders.dspace.EndnoteDataLoader,gr.ekt.transformationengine.dataloaders.dspace.RISDataLoader,gr.ekt.transformationengine.dataloaders.dspace.TSVDataLoader,conjunctionTransformationWorkflow,dcMap,ektMap,outputGenerator,titleDSpaceMetadata,typeDSpaceMetadata,authorDSpaceMetadata,abstractDSpaceMetadata,sourceDSpaceMetadata,dateDSpaceMetadata,issnDSpaceMetadata,claimaction_xmlui,reviewaction_xmlui,editaction_xmlui,finaleditaction_xmlui,selectrevieweraction_xmlui,singleuserreviewaction_xmlui,scorereviewaction_xmlui,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (SessionRequestServiceImpl.java:64) - init
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (EhCacheManagerFactoryBean.java:100) - Initializing EHCache CacheManager
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DefaultSingletonBeanRegistry.java:433) - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1814c2d1: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0,org.dspace.example.Example,org.dspace.discovery.configuration.DiscoveryConfigurationService,defaultConfiguration,searchFilterTitle,searchFilterAuthor,searchFilterSubject,searchFilterIssued,sidebarFacetAuthor,sidebarFacetSubject,sidebarFacetDateIssued,sortTitle,sortDateIssued,org.dspace.discovery.SearchService,org.dspace.identifier.IdentifierService,org.dspace.identifier.VersionedHandleIdentifierProvider,org.dspace.services.CachingService,org.dspace.caching.ehcache.CacheManager,org.dspace.services.SessionService,org.dspace.services.EventService,org.dspace.versioning.VersioningService,solrServiceResourceIndexPlugin,solrBrowseIndexer,claimactionAPI,reviewactionAPI,editactionAPI,finaleditactionAPI,singleuserreviewactionAPI,selectrevieweractionAPI,scorereviewactionAPI,evaluationactionAPI,autoassignactionAPI,noUserSelectionActionAPI,assignoriginalsubmitteractionAPI,reviewaction,editaction,finaleditaction,selectrevieweraction,singleuserreviewaction,scorereviewaction,evaluationaction,claimaction,autoassignAction,noUserSelectionAction,originalSubmitterAssignAction,org.dspace.app.itemimport.DataLoaderService,gr.ekt.transformationengine.core.TransformationEngine,gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader,gr.ekt.transformationengine.dataloaders.dspace.CSVDataLoader,gr.ekt.transformationengine.dataloaders.dspace.EndnoteDataLoader,gr.ekt.transformationengine.dataloaders.dspace.RISDataLoader,gr.ekt.transformationengine.dataloaders.dspace.TSVDataLoader,conjunctionTransformationWorkflow,dcMap,ektMap,outputGenerator,titleDSpaceMetadata,typeDSpaceMetadata,authorDSpaceMetadata,abstractDSpaceMetadata,sourceDSpaceMetadata,dateDSpaceMetadata,issnDSpaceMetadata,claimaction_xmlui,reviewaction_xmlui,editaction_xmlui,finaleditaction_xmlui,selectrevieweraction_xmlui,singleuserreviewaction_xmlui,scorereviewaction_xmlui,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (SessionRequestServiceImpl.java:71) - shutdown
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (DSpaceServiceManager.java:184) - Shutdown DSpace core service manager
Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.services.CachingService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-services-3.0.jar!/spring/spring-dspace-core-services.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.services.CachingService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-services-3.0.jar!/spring/spring-dspace-core-services.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space:java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.services.CachingService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' defined in URL [jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-services-3.0.jar!/spring/spring-dspace-core-services.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (ConfigurationManager.java:1224) - Loading provided config file: /dspace/config/dspace.cfg
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config)
INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (ConfigurationManager.java:1224) - Loading: /dspace/config/log4j.properties
Dec 18, 2012 8:33:23 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Dec 18, 2012 8:33:23 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Exception in thread "elasticsearch[search]-pool-10-thread-208" java.lang.NoClassDefFoundError: org/elasticsearch/common/io/ThrowableObjectOutputStream
@mgomarg
Copy link

mgomarg commented Feb 8, 2013

Failures at lines 118 and 119 are related to java.lang.OutOfMemoryError: PermGen space.

Try to configure tomcat parameters of JAVA_OPTS o CATALINA_OPTS to higher values or enabled some of them.

May be -XX: PermSize = 64m -XX: MaxPermSize = 128m or -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled.

url 1: http://www.freshblurbs.com/blog/2005/05/19/explaining-java-lang-outofmemoryerror-permgen-space.html
url 2: http://stackoverflow.com/questions/88235/dealing-with-java-lang-outofmemoryerror-permgen-space-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment