Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tips

...

Starting Tomcat in security mode

Note

Warning: the proposed solution only works on Linux, see

...

MNG-6437.

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:

...

@cargo.repository@, @cargo.container@

...

and @cargo.webapp@

...

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.

...