Thanks, but that is probably not mine case. I have just removed all spaces unnecessary spaces in both dspace.cfg and local.cfg and DSpace still does not start. Event
ant update command would stop at test_database phase: test_database: [java] Failure during kernel init: Key for add operation must be defined! [java] java.lang.IllegalArgumentException: Key for add operation must be defined! [java] at org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd(DefaultExpressionEngine.java:420) [java] at org.apache.commons.configuration.HierarchicalConfiguration.addPropertyDirect(HierarchicalConfiguration.java:383) [java] at org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:423) [java] at org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1271) [java] at org.apache.commons.configuration.ConfigurationUtils.convertToHierarchical(ConfigurationUtils.java:252) [java] at org.apache.commons.configuration.CombinedConfiguration$ConfigData.getTransformedRoot(CombinedConfiguration.java:943) [java] at org.apache.commons.configuration.CombinedConfiguration.constructCombinedNode(CombinedConfiguration.java:793) [java] at org.apache.commons.configuration.CombinedConfiguration.getRootNode(CombinedConfiguration.java:626) [java] at org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:958) [java] at org.apache.commons.configuration.CombinedConfiguration.fetchNodeList(CombinedConfiguration.java:739) [java] at org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:344) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setProperty(DSpaceConfigurationService.java:354) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setDynamicProperties(DSpaceConfigurationService.java:539) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:504) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.<init>(DSpaceConfigurationService.java:87) [java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:148) [java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128) [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:49) [java] Exception in thread "main" java.lang.IllegalStateException: Failure during kernel init: Key for add operation must be defined! [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:65) [java] Caused by: java.lang.IllegalArgumentException: Key for add operation must be defined! [java] at org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd(DefaultExpressionEngine.java:420) [java] at org.apache.commons.configuration.HierarchicalConfiguration.addPropertyDirect(HierarchicalConfiguration.java:383) [java] at org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:423) [java] at org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1271) [java] at org.apache.commons.configuration.ConfigurationUtils.convertToHierarchical(ConfigurationUtils.java:252) [java] at org.apache.commons.configuration.CombinedConfiguration$ConfigData.getTransformedRoot(CombinedConfiguration.java:943) [java] at org.apache.commons.configuration.CombinedConfiguration.constructCombinedNode(CombinedConfiguration.java:793) [java] at org.apache.commons.configuration.CombinedConfiguration.getRootNode(CombinedConfiguration.java:626) [java] at org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:958) [java] at org.apache.commons.configuration.CombinedConfiguration.fetchNodeList(CombinedConfiguration.java:739) [java] at org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:344) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setProperty(DSpaceConfigurationService.java:354) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.setDynamicProperties(DSpaceConfigurationService.java:539) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:504) [java] at org.dspace.servicemanager.config.DSpaceConfigurationService.<init>(DSpaceConfigurationService.java:87) [java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:148) [java] at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128) [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:49) On Wednesday, January 4, 2017 at 10:20:09 PM UTC+1, Bryson Duda wrote: > > Hi everyone, > > I've got an instance of Dspace that is failing to start, and I'm hoping > someone might have some suggestions for me to try. I'm somewhat new to > Dspace, so I apologize if I'm overlooking something simple! > > After starting Tomcat, the following line appears in tomcat7-stderr: > >> Failure during filter init: Key for add operation must be >> defined!:java.lang.IllegalArgumentException: Key for add operation must be >> defined! >> > > Also, this line is showing up in tomcat7-stdout: > >> ERROR [org.springframework.web.context.ContextLoader] Context >>> initialization failed >> >> org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'dspace.eventService' defined in ServletContext resource >>> [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed; >>> nested exception is >>> org.springframework.beans.factory.BeanDefinitionStoreException: Factory >>> method [public org.dspace.services.EventService >>> org.dspace.utils.DSpace.getEventService()] threw exception; nested >>> exception is java.lang.IllegalStateException: DSpace kernel cannot be null >> >> at >>> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:603) >>> >>> [...] >> >> > Those are just snippets, and I can certainly provide the full error if > that is helpful, but those two sections seemed the most suspicious. We > don't have any customizations in the applicationContext.xml file mentioned > in the error. I did edit dspace.cfg prior to this problem, but it was only > a single line change. I reverted it back after the problem occurred, but > the errors are still occurring. Nothing is appearing in the Dspace log. > > Users trying to access Dspace get a 404 error after Tomcat starts. Here > are the details for the server: > OS: Windows Server 2008 > Dspace version: 6.0 > Tomcat version: 7.0 > Java version: 1.8.0_101 > > We had some problems with solr a couple of weeks ago, and I can provide > more info on that if it might be relevant. I can't think of any other > details to share, but if any other information would be helpful, please let > me know! > > Thank you in advance! > Bryson > > > > > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.