# Re: 1.1* to 2.0 migration problem...

Kevin Schnake (Kevin.Schnake@wcom.com)
Tue, 04 May 1999 15:14:50 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marianne Mueller: "Re: 1.1* to 2.0 migration problem..."
- Previous message: Kevin Schnake: "1.1* to 2.0 migration problem..."
- Maybe in reply to: Kevin Schnake: "1.1* to 2.0 migration problem..."
- Next in thread: Marianne Mueller: "Re: 1.1* to 2.0 migration problem..."

    Date: Tue, 04 May 1999 15:14:50 -0600

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

    Subject: Re: 1.1* to 2.0 migration problem...

    To: java-security@java.sun.com

Also I'm using the RMI sercurity manager - I suspect if not for this security
manager the default would ofcourse be no security check and I would be ok. So
the question here is do I have to implement a user security policy to enable
permissions for all of my stuff when I use the RMI Security Manager?

Kevin.

Kevin Schnake wrote:

> 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: Marianne Mueller: "Re: 1.1* to 2.0 migration problem..."
- Previous message: Kevin Schnake: "1.1* to 2.0 migration problem..."
- Maybe in reply to: Kevin Schnake: "1.1* to 2.0 migration problem..."
- Next in thread: Marianne Mueller: "Re: 1.1* to 2.0 migration problem..."