I'm trying to run Fedora 6.3 on a Ubuntu 22.04 and Tomcat 9 by following the following instructions:
2) I created a directory /data/fedora owned by tomcat:tomcat
Unfortunately I get this errors in catalina.out when deploying the war:
[2023-03-09 14:18:30] [info] INFO 14:18:30.758 [main] (JmsConfig) JMS messaging enabled
[2023-03-09 14:18:30] [info] INFO 14:18:30.870 [main] (FedoraPropsConfig) Fedora home: /data/fedora
[2023-03-09 14:18:30] [info] WARN 14:18:30.872 [main] (XmlWebApplicationContext) Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependenc
yException: Error creating bean with name 'webappConfig': Unsatisfied dependency expressed through field 'fedoraPropsConfig'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'jmsBroker' defined in org.fcrepo.webapp.JmsConfig: Unsatisfied dependency expressed through method 'jmsBroker' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationE
xception: Error creating bean with name 'fedoraPropsConfig': Invocation of init method failed; nested exception is java.nio.file.FileSystemException: /data/fedora/data: Read-only file system
[2023-03-09 14:18:30] [info] ERROR 14:18:30.876 [main] (ContextLoader) Context initialization failed
[2023-03-09 14:18:30] [info] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webappConfig': Unsatisfied dependency expressed through field 'fedoraPropsConfig'; nested e
xception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jmsBroker' defined in org.fcrepo.webapp.JmsConfig: Unsatisfied dependency expressed through method 'jmsBroke
r' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fedoraPropsConfig': Invocation of init method failed; nested exception is java.nio.file.FileS
ystemException: /data/fedora/data: Read-only file system
[...]
[2023-03-09 14:18:30] [info] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jmsBroker' defined in org.fcrepo.webapp.JmsConfig: Unsatisfied dependency expressed through method 'jmsBroker' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fedoraPropsConfig': Invocation of init method failed; nested exception is java.nio.file.FileSystemException: /data/fedora/data: Read-only file system
[...]
[2023-03-09 14:18:30] [info] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fedoraPropsConfig': Invocation of init method failed; nested exception is java.nio.file.FileSystemException: /data/fedora/data: Read-only file system
[...]
[2023-03-09 14:18:30] [info] Caused by: java.nio.file.FileSystemException: /data/fedora/data: Read-only file system
[...]
[2023-03-09 14:18:30] [crit] One or more listeners failed to start. Full details will be found in the appropriate container log file
[2023-03-09 14:18:30] [crit] Context [/fcrepo] startup failed due to previous errors
What am I doing wrong or forgetting? Any suggestions are appreciated.
Davide