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
            Priority: Major


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

        

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to