Quick question, since you seem in the know.  When's the next official release?  This 
is for work, and they're really not going to like that I'm deploying an application 
that is built with a library that's still under development.  Since you're mentioning 
2.0RC1, I assume that 2.0 will be out in a month or so?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 6:27 AM
To: POI Users List
Subject: RE: Applet


Justin, 

As you would have seen from some of the other responses, the docs on the site
refer to cvs HEAD, and thus dont correspond to 1.5.1. The docs for 1.5.1 are
included in the download. 

So you have a couple of options. You could try 2.0RC1. That one does not log by
default. However, remember, you need Jdk1.3 with it. 

The simplest, since you have the source, is to make a one line change to
POILogger.java to return false from the check method in all circumstance,
bypassing all other method calls. This should be simple. 

As far as trusted applets go, I am not an expert, but i seem to remember from
long ago that one needed assert a higher level of privileges before doing any
privileged operations. Also, the MS and sun JVM's have different behaviour in
this area. Maybe a google search would help. 

HTH
-
Avik


Quoting "Hart, Justin" <[EMAIL PROTECTED]>:

> Another quick one...  NullLogger doesn't seem to be present in the jar file
> for 1.5.1, it's listed in the javadoc as a class, where is it?
> 
> Justin
> 
> -----Original Message-----
> From: Hart, Justin 
> Sent: Monday, November 17, 2003 6:08 PM
> To: POI Users List
> Subject: RE: Applet
> 
> 
> I've established 2 things :
>       1)  POI is trying to log, but shouldn't be (I have 1.5.1, shouldn't this be
> off by default?)
>       2)  I don't want to log.
> 
> Advice?
> 
> Justin
> 
> 
> -----Original Message-----
> From: Hart, Justin 
> Sent: Monday, November 17, 2003 4:37 PM
> To: [EMAIL PROTECTED]
> Subject: Applet
> 
> 
> Hiya,
>       I'm trying to write an excel spreadsheet from a trusted applet, and I get a
> nasty error message:
>       java.security.AccessControlException: access denied
> (java.util.PropertyPermission poi.logging read)       
>       at java.security.AccessControlContext.checkPermission(Unknown Source)   
>       at java.security.AccessController.checkPermission(Unknown Source)       
>       at java.lang.SecurityManager.checkPermission(Unknown Source)    at
> java.lang.SecurityManager.checkPropertyAccess(Unknown Source)         
>       at java.lang.System.getProperty(Unknown Source)         
>       at org.apache.poi.util.POILogger.isDebugEnabled(POILogger.java:104)     
>       at org.apache.poi.util.POILogger.check(POILogger.java:164)      
>       at org.apache.poi.util.POILogger.log(POILogger.java:98)         
>       at org.apache.poi.hssf.model.Workbook.createWorkbook(Workbook.java:226)        
>  
>       at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:122)
> 
> Shouldn't this be a-ok?  It's a trusted applet!
> 
> Justin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to