Hi David,
I've recently installed DSpace. Build & install went without a single error.
Excellent - that is often the trickiest bit.
I then copied the jspui directory to where Tomcat 6 is looking:
/var/lib/tomcat6/webapps
Stopped & restarted Tomcat6, but the following error is in
localhost.2009-10-07.log:
DSpace has failed to initialize, during stage 2. Error while attempting to read
the
DSpace configuration file (Path: '/usr/local/dspace-1.5.2/config/dspace.cfg').
The file is there:
-rw-r--r-- 1 tomcat6 tomcat6 68726 2009-10-06 17:19
/usr/local/dspace-1.5.2/config/dspace.cfg
Tomcat has a security manager which is often configured to be pretty
restrictive in terms of allowing applications to open files outside of the
tomcat installation folders.
The easiest solution (if this is what is causing the problem) is to edit
/etc/default/tomcat6 and addor edit the line about TOMCAT6_SECURITY and set it
to equal to 'no':
TOMCAT6_SECURITY = no
Alternatively you could edit the catalina policy file to only provide read and
write access to the relevant files, but unless you are hosting other
applications iwth security considerations on the same server, turning security
off should be fine.
I hope this helps,
Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech