Dear all, I am installing a DSpace 3.0 XMLUI instance here in Berlin. I tried to add the XPDF media filters and got an error. To get a deeper look into the source code of DSpace I decided to install an IDE. I read https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace+and+NetBeans and installed NetBeans including tomcat. I forked DSpace on github, cloned it within Netbeans to my local PC, changed the path for dspace.dir in the build.properties and built the DSpace Parent Project with its dependencies. Everything went fine, I even got ant to run and to create the necessary database tables.
Then I wanted to run tomcat out of Netbeans as described on https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace+and+NetBeans#IDEIntegration-DSpaceandNetBeans-RunDSpacefromNetBeanswithTomcat I followed the instructions and set the Context Path and the Action Properties. But everytime I tried to deploy DSpace XMLUI (Manaking) project from Netbeans (right click on the project, then click on run) to Tomcat I get the following error: ... BUILD SUCCESS ------------------------------------------------------------------------ Total time: 23.579s Finished at: Wed Nov 14 11:29:38 CET 2012 Final Memory: 11M/84M ------------------------------------------------------------------------ NetBeans: Deploying on Apache Tomcat 7.0.27.0 profile mode: false debug mode: false force redeploy: true Undeploying ... undeploy?path=/xmlui OK - Undeployed application at context path /xmlui In-place deployment at /home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT Deployment is in progress... deploy?config=file%3A%2Ftmp%2Fcontext6224308816931180658.xml&path=/xmlui FAIL - Deployed application at context path /xmlui but context failed to start The module has not been deployed. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) The Server logs are quite long, you'll find them below this mail. As I understand the problem seems to be that tomcat is unable to find the DSpace configuration ("Cannot load configuration: file:/home/pbecker/usr/apache-tomcat-7.0.27/bin/$%7Bdspace.dir%7D/config/dspace.cfg"). As far as I understood DSpace this path should be set in web.xml where it is filtered by ant (at least in my testinstallation it seems to work like this). I hoped by setting the Action Properties in Netbeans as described in the wiki it would overwrite the web.xml but obviously it does not. So did someone got Netbeans to deploy XMLUI to Tomcat? Is it possible at all to get this working? Do I need ant to run before the deployment to substitute variables? Any help is appreciated! Kind regards, Pascal Becker P.S. Please tell me if you think that this mail should be posted to dspace-devel instead of dspace-tech. The Tomcat server logs: Nov 14, 2012 11:43:06 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.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found 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.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) 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.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found 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) ... 14 more Caused by: java.lang.IllegalStateException: failure starting up spring service manager: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208) ... 16 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) 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.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207) at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205) ... 16 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 32 more Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:485) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1406) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1365) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) ... 36 more Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:241) at org.springframework.beans.TypeConverterDelegate.convertToTypedCollection(TypeConverterDelegate.java:541) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:179) at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470) ... 42 more Nov 14, 2012 11:43:06 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.dspace.app.util.DSpaceContextListener java.lang.IllegalStateException: Cannot load configuration: file:/home/pbecker/usr/apache-tomcat-7.0.27/bin/$%7Bdspace.dir%7D/config/dspace.cfg at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:945) at org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:100) 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.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Caused by: java.io.FileNotFoundException: /home/pbecker/usr/apache-tomcat-7.0.27/bin/${dspace.dir}/config/dspace.cfg (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:97) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at java.net.URL.openStream(URL.java:1037) at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:923) ... 15 more Nov 14, 2012 11:43:06 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Nov 14, 2012 11:43:07 AM org.apache.catalina.core.ApplicationContext log INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'. Nov 14, 2012 11:43: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/spring/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()] threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java: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.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) 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) ... 28 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:601) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149) ... 29 more Nov 14, 2012 11:43:08 AM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext Nov 14, 2012 11:43:09 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.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found 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.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) 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.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found 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) ... 14 more Caused by: java.lang.IllegalStateException: failure starting up spring service manager: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208) ... 16 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) 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.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207) at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205) ... 16 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in URL [jar:file:/home/pbecker/NetBeansProjects/DSpace/dspace-xmlui/target/dspace-xmlui-3.0-rc4-SNAPSHOT/WEB-INF/lib/dspace-api-3.0-rc4-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 32 more Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:485) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1406) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1365) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) ... 36 more Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:241) at org.springframework.beans.TypeConverterDelegate.convertToTypedCollection(TypeConverterDelegate.java:541) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:179) at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470) ... 42 more Nov 14, 2012 11:43:09 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.dspace.app.util.DSpaceContextListener java.lang.IllegalStateException: Cannot load configuration: file:/home/pbecker/usr/apache-tomcat-7.0.27/bin/$%7Bdspace.dir%7D/config/dspace.cfg at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:945) at org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:100) 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.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Caused by: java.io.FileNotFoundException: /home/pbecker/usr/apache-tomcat-7.0.27/bin/${dspace.dir}/config/dspace.cfg (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:97) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at java.net.URL.openStream(URL.java:1037) at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:923) ... 15 more Nov 14, 2012 11:43:09 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Nov 14, 2012 11:43:10 AM org.apache.catalina.core.ApplicationContext log INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'. Nov 14, 2012 11:43:11 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/spring/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()] threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java: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.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) 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) ... 28 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:601) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149) ... 29 more Nov 14, 2012 11:43:11 AM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech