On 16.04.2018 22:06, Support wrote:
SEVERE: Error initializing static Resources
java.lang.IllegalArgumentException: Document base
/home/testuser/resources/Raptor
does not exist or is not a readable directory
A few things are slightly off of my expectations:
But if you see below folder/permissions even after 777 it still says not a
readable directory.
it's quite bad practice to open up to 777
drwxr-xr-x. 4 root root 35 Apr 16 14:45 /home/
drwxrwxrwx. 3 root tomcat 23 Apr 16 13:26 /home/testuser
drwxrwxrwx. 3 root tomcat 20 Apr 16 13:26 /home/ testuser/resources/
drwxrwxrwx. 7 root tomcat 170 Apr 16 13:27 /home/testuser /resources/Raptor/
If I change the document base to /user/share/tomcat/webapps this error goes
away.
* There are weird spaces in the /home/ directories - I'm assuming this
comes from copy/paste and you rather mean those directories without the
spaces. But there's a small chance that you're hiding issues through
copy/paste/anonymize
* commonly, a directory /home/testuser would belong to a user named
"testuser", not to root. Is there a reason why it should be owned by
root? Is "testuser" an actual user account?
* What is the user account that tomcat is running under? What are the
permissions/owner onĀ /usr/share/tomcat/webapps ? (note /usr/ vs /user/
- I assume a typo in your statement)
Olaf
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org