...
Additional information regarding the configuration of System Properties in Tomcat 8 can be found here.
Windows notes
Alternatively on Windows systems you can set the following file:
No Format |
---|
CATALINA_BASE/bin/setenv.bat (windows) |
Within that file, new properties can be added per the example below:
Code Block |
---|
set CATALINA_OPTS=%CATALINA_OPTS% -Dfcrepo.modeshape.configuration=classpath:/config/file-simple/repository.json |
Reverse Proxy
If you have a reverse proxy for serving HTTPS that uses Tomcat's HTTP port, you will also need to set up a RemoteIPValve in your server.xml in order for Tomcat to rewrite links with HTTPS.
...
No Format |
---|
<Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="x-forwarded-proto" /> |
Windows notes
Alternatively on Windows systems you can set the following file:
No Format |
---|
CATALINA_BASE/bin/setenv.bat (windows) |
Within that file, new properties can be added per the example below:
Code Block |
---|
set CATALINA_OPTS=%CATALINA_OPTS% -Dfcrepo.modeshape.configuration=classpath:/config/file-simple/repository.json |
Anchor | ||||
---|---|---|---|---|
|
On Debian Linux systems, one way of setting System Properties is to update the following file:
...