[Geoserver-devel] [jira] Created: (GEOS-818) AccessControlException in GeoserverDataDirectory.init

AccessControlException in GeoserverDataDirectory.init
-----------------------------------------------------

                 Key: GEOS-818
                 URL: http://jira.codehaus.org/browse/GEOS-818
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.3.4
         Environment: Ubuntu 6.10, Tomcat 5.5.
            Reporter: Ken Geis
         Assigned To: Andrea Aime

In org.vfny.geoserver.global.GeoserverDataDirectory.init(...) there is a call to System.getProperty(String). If the security manager is enabled on your servlet engine (the default for Tomcat on Ubuntu,) this call throws an exception. This exception should be caught. It should probably just be ignored or logged.

I saw this behavior in 1.3.4 and 1.4.0-RC4. I could not mark that it affects 1.4.0-RC4 in this Jira because that version is not there yet.

Also, the class should be called GeoServerDataDirectory.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira