[
https://jira.duraspace.org/browse/DS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Schweer resolved DS-993.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Committed my patch, has been working fine locally.
> DSpace fails to start with spurious space character in dspace.cfg
> -----------------------------------------------------------------
>
> Key: DS-993
> URL: https://jira.duraspace.org/browse/DS-993
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.8.0
> Reporter: Andrea Schweer
> Assignee: Andrea Schweer
> Priority: Major
> Fix For: 1.8.0
>
> Attachments: 993.patch
>
>
> DSpace trunk fails to start when there is an additional space character at
> the end of the dspace.dir line in dspace.cfg. Instead, I get an exception:
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Unable to read Avalon configuration from 'sitemap.xmap'.; nested exception is
> java.net.MalformedURLException: unknown protocol: resource
> The logfile shows that it's having problems reading the log4j configuration
> -- it seems to find dspace.cfg but then inserts the space character in the
> path to log4j.properties.
> 2011-08-17 15:16:11,153 INFO org.dspace.core.ConfigurationManager @ Loading
> from classloader: file:/home/dspace/DSpace/dspace/config/dspace.cfg
> 2011-08-17 15:16:11,187 INFO org.dspace.core.ConfigurationManager @ Using
> dspace provided log configuration (log.init.config)
> 2011-08-17 15:16:11,187 INFO org.dspace.core.ConfigurationManager @ File
> does not exist: /home/dspace/DSpace/dspace /config/log4j.properties
> If I remove the space character from the end of dspace.cfg and restart
> tomcat, it works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel