Hi all!

This is just to report an error after a fresh install, over my existing 
Tomcat 7:

(EmbeddedServletOptions) The scratchDir you specified: 
/usr/share/apache-tomcat-7.0.6/work/Catalina/localhost/fedora is unusable.
...
(StandardManager) IOException while saving persisted sessions: 
java.io.FileNotFoundException: 
/usr/share/apache-tomcat-7.0.6/work/Catalina/localhost/fedora/SESSIONS.ser 
(No such file or directory)
(StandardManager) Exception unloading sessions to persistent storage
(EmbeddedServletOptions) The scratchDir you specified: 
/usr/share/apache-tomcat-7.0.6/work/Catalina/localhost/fedora is unusable.

that was resolved by creating the said dir:

/usr/share/apache-tomcat-7.0.6/work/Catalina/localhost/fedora

and giving permissions for tomcat (fedora's user in my case) to write there.

What happens, I think, is that although everything inside tomcat and 
fcrepo webapps belongs to 'tomcat' user, things inside work/Catalina 
belong to 'root' user and thus fedora (tomcat) can't write. Is this the 
expected behavior? I remember somewhere people saying that tomcat/fedora 
are better run *not* being root, for security concerns.

Pardon me if this goes a little too off topic.

Best,

Alex

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to