GeoServer >=2.11 not starting with SecurityManager on Tomcat

Description

startup fails, when SecurityManager is enabled
GeoServer >=2.11
GeoServer up to 2.10.5 works fine

SecurityManager permission is given via
permission java.io.FilePermission "${catalina.base}/-", "read,write,delete";
also tested with
"<<ALL FILES>>"

Exception on startup:
java.security.AccessControlException: access denied ("java.io.FilePermission" "Q:\Programme2\Apache Software Foundation\Tomcat 8.0\webapps\geoserver2-12-1\data\styles\simple_roads.xml.xml" "read")

When starting the first time with an geoserver.war without an datadir, geoserver starts normal, creates the default datadir with an default content. But after an restart - then datadir is already here - geoserver will not come up again with the mentioned message.

Environment

Tomcat 8.0
Windows, Linux
Java 8

Assignee

Unassigned

Reporter

Stefan Müller

Triage

None

Fix versions

None

Affects versions

Components

Priority

High
Configure