Description of problem:
Zanata should either fail to start, or display a very large error on startup, if the document-storage-directory is not set. It would be even better if it could tell if:
the directory is not set correctly (non-existent, cannot write to)
the directory is in tmp (volatile storage)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Edit $JBOSS_HOME/standalone/configuration/standalone.xml
2. Comment out the line
<simple name="java:global/zanata/files/document-storage-directory" value="/var/lib/zanata/documents"/>
3. Start the server
4. Log in, create/go to a project version, click Settings, Documents, upload
5. Upload a document
java.lang.RuntimeException: Document storage location is not configured in JNDI.
The error should have been displayed, prominently, at startup.