https://bugzilla.redhat.com/show_bug.cgi?id=842346
--- Comment #25 from Ade Lee <alee(a)redhat.com> ---
Using the double equals is fine, but the line is still incorrect because the
entry is supposed to be a URL. From the link you pointed to above:
java -Djava.security.manager -Djava.security.policy==someURL SomeApp
As the code currently stands, a MalFormedURLException (no protocol) is thrown
when the security manager attempts to load the policy.
If the following is used in /usr/libexec/tomcat/server instead, then the policy
is actually loaded correctly:
if [ "${SECURITY_MANAGER}" = "true" ] ; then
OPTIONS="${OPTIONS} \
-Djava.security.manager \
-Djava.security.policy==file:${CATALINA_BASE}/conf/catalina.policy"
fi
Note the removal of the quotes and the addition of file:
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=nOJZLoyqwu&a=cc_unsubscribe