# 1.1* to 2.0 migration problem...

Kevin Schnake (Kevin.Schnake@wcom.com)
Tue, 04 May 1999 10:41:24 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Kevin Schnake: "Re: 1.1* to 2.0 migration problem..."
- Previous message: Jan Luehe: "Re: Socket in Applet"
- Next in thread: Kevin Schnake: "Re: 1.1* to 2.0 migration problem..."

    Date: Tue, 04 May 1999 10:41:24 -0600

    From: Kevin Schnake <Kevin.Schnake@wcom.com>

    Subject: 1.1* to 2.0 migration problem...

    To: java-security@java.sun.com

Hey,

I've just migrated from 1.1.6 to 1.2.1 . When running, I get the
following exception:

Exception in thread "main" java.lang.ExceptionInInitializerError:
java.security.AccessCon
trolException: access denied (java.util.PropertyPermission * read,write)

at java.security.AccessControlContext.checkPermission(Compiled
Code)
at java.security.AccessController.checkPermission(Compiled Code)

at java.lang.SecurityManager.checkPermission(Compiled Code)
at
java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1194)

at java.lang.System.getProperties(System.java:451)
at registry.admin.RegistryControl.<clinit>(RegistryControl.java)

at registry.admin.ServerConfiguration.<init>(Compiled Code)
at registry.admin.ServersImpl.<init>(ServersImpl.java)
at registry.admin.AdminServer.main(Compiled Code)

Yes I am attempting a System.getProperties() call during init time:

protected static Properties props = new
Properties(System.getProperties());

Any help appreciated...

Kevin.

- Next message: Kevin Schnake: "Re: 1.1* to 2.0 migration problem..."
- Previous message: Jan Luehe: "Re: Socket in Applet"
- Next in thread: Kevin Schnake: "Re: 1.1* to 2.0 migration problem..."