Tips
- Starting mutiple multiple containers conditionally
- Starting Tomcat in security mode
- How to get Tomcat 5 working with the Java 5 XML Parsers
- How to use the ZIP or TAR.GZ distributions provided by servers on a Maven repository
- How to run Jetty under a Java Security Manager
...
Starting Tomcat in security mode
Note |
---|
Warning: the proposed solution only works on Linux, see |
...
Cargo supports passing system properties Passing system properties. So, to start Tomcat in security mode, you need to specify two system properties:
...
Tip submitted by Claude BrissonUPDATE:
Note |
---|
This solution doesn't work on Windows for now: |
...
|
...
and |
...
should be URIs and not paths. |
Jetty 8.x has its own security manager, which can be enabled by enabling the jetty-policy.xml
module, but it will search for its policies files under a lib/policy
directory located in the same location as start.jar
, inaccessible to Cargo's custom configuration folders.
...