[Geoserver-devel] [JIRA] (GEOS-8553) GeoServer >=2.11 not starting with SecurityManager on Tomcat

Stefan Müller created an issue

GeoServer / BugGEOS-8553

GeoServer >=2.11 not starting with SecurityManager on Tomcat

Issue Type:

BugBug

Affects Versions:

2.11.0, 2.12.1

Assignee:

Unassigned

Components:

Main

Created:

25/Jan/18 11:43 AM

Environment:

Tomcat 8.0
Windows, Linux
Java 8

Priority:

MediumMedium

Reporter:

Stefan Müller

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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100077-sha1:43add18)

Atlassian logo