Hi Richard,

This is a very strange error since the discovery spring loading has been
operational for some time now...... but the only thing that has changed is
that the DSpace services have been released with a new version number (the
version number going from 1.0.5 to 1.0.4) the version number was wrongly
applied (details: https://jira.duraspace.org/browse/DS-983).
So I would suggest to add the following to the sword2 web.xml:

  <!-- new ConfigurationService initialization for dspace.dir -->
>   <context-param>
>     <description>
>       The location of the main DSpace configuration file
>     </description>
>     <param-name>dspace.dir</param-name>
>     <param-value>${dspace.dir}</param-value>
>   </context-param>
>

I'm not sure if this will fix all the issues though..... so if it doesn't
please let me know.

Kind regards,

Kevin Van de Velde
@mire
Esperantolaan 4 - 3001 Heverlee - Belgium
2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA
atmire.com - Institutional Repository Solutions



On 9 September 2011 16:53, Richard Jones <[email protected]> wrote:

> Hi Guys,
>
> In testing the swordv2, I came up against the following issues.  This
> wasn't happening yesterday, but after I did an svn update this morning, this
> started to happen:
>
> INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
> DSpaceKernel:org.dspace:name=685a6d73-1614-4b60-8cfe-7e06e7d24eba,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
>  INFO [main] (DSpaceConfigurationService.java:550) - Loaded 5 config
> properties from resource: class path resource [config/dspace-defaults.cfg]
>  INFO [main] (DSpaceConfigurationService.java:401) - Failed to load the
> modules properties since
> (/srv/dspace/apache-tomcat-6.0.24/dspace//config/modules): Does not exist
>  INFO [main] (DSpaceConfigurationService.java:527) - Failed to load config
> properties from file
> (/srv/dspace/apache-tomcat-6.0.24/dspace//config/dspace.cfg): Does not exist
>
> First, the DSpaceConfigurationService is giving me errors about failing to
> load modules from /srv/dspace/apache-tomcat-6.0.24/dspace//config/modules,
> although it's unclear where it's getting this url from.
>
> It then goes on to throw an error from the DSpaceServiceManager which is
> saying that it can't
> create 'org.dspace.discovery.configuration.DiscoveryConfigurationService'.
>
> INFO [main] (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.discovery.configuration.DiscoveryConfigurationService' defined
> in URL
> [jar:file:/srv/dspace/apache-tomcat-6.0.24/webapps/swordv2/WEB-INF/lib/dspace-discovery-provider-1.8.0-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:/srv/dspace/apache-tomcat-6.0.24/webapps/swordv2/WEB-INF/lib/dspace-discovery-provider-1.8.0-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanInitializationException: Property
> 'searchSortConfiguration' is required for bean 'defaultConfiguration'
> 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:/srv/dspace/apache-tomcat-6.0.24/webapps/swordv2/WEB-INF/lib/dspace-discovery-provider-1.8.0-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:/srv/dspace/apache-tomcat-6.0.24/webapps/swordv2/WEB-INF/lib/dspace-discovery-provider-1.8.0-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanInitializationException: Property
> 'searchSortConfiguration' is required for bean
> 'defaultConfiguration':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:/srv/dspace/apache-tomcat-6.0.24/webapps/swordv2/WEB-INF/lib/dspace-discovery-provider-1.8.0-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:/srv/dspace/apache-tomcat-6.0.24/webapps/swordv2/WEB-INF/lib/dspace-discovery-provider-1.8.0-SNAPSHOT.jar!/spring/spring-dspace-addon-discovery-configuration-services.xml]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanInitializationException: Property
> 'searchSortConfiguration' is required for bean 'defaultConfiguration'
>
> It finally dies with:
>
> SEVERE: Error listenerStart
> Sep 9, 2011 3:34:11 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/swordv2] startup failed due to previous errors
>
> Any ideas what might be going on?
>
> Cheers,
>
> Richard
>
>
> ------------------------------------------------------------------------------
> Why Cloud-Based Security and Archiving Make Sense
> Osterman Research conducted this study that outlines how and why cloud
> computing security and archiving is rapidly being adopted across the IT
> space for its ease of implementation, lower cost, and increased
> reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
> _______________________________________________
> Dspace-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>
>
------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to