Ignore me please, problem solved.

Cheers.

From: Robin TAYLOR <robin.tay...@ed.ac.uk<mailto:robin.tay...@ed.ac.uk>>
Date: Thursday, 15 August 2013 16:06
To: 
"dspace-devel@lists.sourceforge.net<mailto:dspace-devel@lists.sourceforge.net>" 
<dspace-devel@lists.sourceforge.net<mailto:dspace-devel@lists.sourceforge.net>>
Subject: Ant fresh_install error

Hi all,

I just checked out Keiji's code for DS-1613. It built successfully but failed 
on the Ant fresh_install at target setup_database. I am emailing the list as 
the error looks to have nothing to do with his changes so I am hoping it might 
ring a bell with someone. This is the error…

setup_database:
     [java] 2013-08-15 15:49:49,227 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
     [java] 2013-08-15 15:49:49,237 INFO  org.dspace.core.ConfigurationManager 
@ Using default log4j provided log configuration,if unintended, check your 
dspace.cfg for (log.init.config)
     [java] 2013-08-15 15:49:49,416 INFO  
org.dspace.servicemanager.DSpaceKernelInit @ Created new kernel: 
DSpaceKernel:org.dspace:name=384b0531-b1e0-4f02-9d95-7510f503f04e,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
     [java] 2013-08-15 15:49:49,431 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded 5 config 
properties from resource: class path resource [config/dspace-defaults.cfg]
     [java] 2013-08-15 15:49:49,431 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loading system 
property as config: configuration=>config/dspace.cfg
     [java] 2013-08-15 15:49:49,431 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loading system 
property as config: log.init.disable=>true
     [java] 2013-08-15 15:49:49,457 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded0 config 
properties from streamException in thread "main" java.lang.NoSuchMethodError: 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
     [java] at 
org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
     [java] at 
org.springframework.core.env.MutablePropertySources.addLast(MutablePropertySources.java:103)
     [java] at 
org.springframework.core.env.StandardEnvironment.customizePropertySources(StandardEnvironment.java:78)
     [java] 2013-08-15 15:49:49,457 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded2 config 
properties from stream
     [java]
     [java] 2013-08-15 15:49:49,457 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded0 config 
properties from streamat 
org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:117)
     [java]
     [java] 2013-08-15 15:49:49,458 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded13 config 
properties from streamat 
org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54)
     [java]
     [java] 2013-08-15 15:49:49,459 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded0 config 
properties from streamat 
org.springframework.context.support.AbstractApplicationContext.createEnvironment(AbstractApplicationContext.java:427)
     [java]
     [java] 2013-08-15 15:49:49,459 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded1 config 
properties from streamat 
org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:227)
     [java]
     [java] 2013-08-15 15:49:49,459 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded0 config 
properties from stream
     [java] 2013-08-15 15:49:49,459 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded4 config 
properties from stream
     [java] at 
org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:90)
     [java] at 
org.springframework.context.support.AbstractRefreshableConfigApplicationContext.<init>(AbstractRefreshableConfigApplicationContext.java:59)2013-08-15
 15:49:49,460 INFO  org.dspace.servicemanager.config.DSpaceConfigurationService 
@ Loaded6 config properties from stream
     [java]
     [java] at 
org.springframework.context.support.AbstractXmlApplicationContext.<init>(AbstractXmlApplicationContext.java:61)
     [java] at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:136)
     [java] 2013-08-15 15:49:49,460 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded2 config 
properties from streamat 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:119)
     [java]
     [java] 2013-08-15 15:49:49,460 INFO  
org.dspace.servicemanager.config.DSpaceConfigurationService @ Loaded0 config 
properties from stream
     [java] at 
org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:200)2013-08-15
 15:49:49,460 INFO  org.dspace.servicemanager.config.DSpaceConfigurationService 
@ Loaded1 config properties from stream
     [java]
     [java] at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205)
     [java] at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
     [java] at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:57)


So the root of the trace seems to be…

"kernelImpl.start(ConfigurationManager.getProperty("dspace.dir"));"

Any help would be appreciated.

Cheers, Robin.


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to