...
Four means of deploying Fedora have been verified
- Tomcat 8 9 servlet container
- Jetty 9 servlet container
- Maven jetty:run plugin - for testing
- One-Click Run - for testing
Each of these deployment approaches has its own way of setting System Properties.
Anchor | ||||
---|---|---|---|---|
|
...
9
On Debian Linux systems, the typical way of setting System Properties is to update the following file:
No Format |
---|
/etc/default/tomcat8tomcat9 |
Within that file, new properties can be added per the example below:
...
Additional information regarding the configuration of System Properties in Tomcat 8 9 can be found here.
Windows notes
Alternatively on Windows systems you can set the following file:
...
This provides the path to a file defining a list of allowed external binary content paths. If this parameter is not provided, then clients will be disallowed from creating external binary resources. See the external content allowed paths configuration for more details.
Anchor |
---|
...
|
...
|
...
OCFL
The Modeshape OCFL persistence configurations mentioned above have a number of more detailed configuration elements that can optionally be set. To see exactly which elements are available to be set, inspect the repository.json files specified above. Those files can be browsed in the source tree in:
- the ModeShape the configuration directories
Some common elements for Modeshape relate to the directories in which application information is persisted. As mentioned above, if no fcrepo.home property is set then application information will be persisted under the directory "fcrepo4-data" in the application's current working directory/tmp". There will then be several directories within "fcrepo4-data/tmp" that are named by default with the name of the property that can be set to configure each of those directories.
Below are some common examples of these directories:
No Format |
---|
fcrepo.ocfl.modeshapestorage.indexroot.directorydir |
Contains the internal Lucene index used by Modeshape/Admin SearchOCFL storage root.
No Format |
---|
fcrepo.activemq.directory |
Contains the reliable messaging information maintained by ActiveMQ.
No Format |
---|
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir
com.arjuna.ats.arjuna.objectstore.objectStoreDir |
Contain JBoss JTA transaction engine artifacts.
Configuration Chain
The standard configuration chain is as follows:
...