🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #454

java.security.AccessControlException

#454
From: Oliver Young
Date: Fri, 22 Aug 2003 08:39
23 lines
1771 bytes
    I got java.security.AccessControlException:

java.security.AccessControlException: access denied
(java.util.PropertyPermission * read,write)
 at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:270)
 at
java.security.AccessController.checkPermission(AccessController.java:401)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
 at
java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1259)
 at java.lang.System.getProperties(System.java:500)
 at org.setcce.doryMail.DMail.send(DMail.java:193)

    trying to do this:

Properties props = System.getProperties();
props.setProperty("mail.smtp.host", cSMTPHost);
Session session = Session.getDefaultInstance(props, null);

    Problem is that this was working fine before.
Technical Details
Message-ID: <3f45d73e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,52620353082c52e8,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-08-22 01:50:58 PST
From: "Oliver Young" <no@spam.please>
Newsgroups: borland.public.jbuilder.java.api
Subject: java.security.AccessControlException
Date: Fri, 22 Aug 2003 10:39:51 +0200
Lines: 25
Organization: None
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 193.138.1.66
Message-ID: <3f45d73e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061541694 193.138.1.66 (22 Aug 2003 01:41:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail