poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Deshmukh <adeshm...@hobsons-us.com>
Subject RE: WebServer and .xls
Date Fri, 21 Jan 2005 15:16:42 GMT

Try changing your JRE policy on the machine that runs the apple tin the
by adding foll to the local java policy file:

  grant { 
      permission java.util.PropertyPermission "poi.deserialize", "read";

If you installed Java with all the std options at the time of installation,
your policy file should be at:
     C:\Program Files\Java\j2re1.4.2_06\lib\security\java.policy

That should work.. but this is for testing only. 
What you would be doing in the above test is granting permission to all
applets irrespective of their origin. 
You really should be signing the applet and restrict the 'permission grant'
to "signedby".

~ amol

-----Original Message-----
From: Bruce Houghton [mailto:bhought@globalserve.net]
Sent: Friday, January 21, 2005 10:09 AM
To: poi-user@jakarta.apache.org
Subject: WebServer and .xls

To all,

To begin with, is there a way to retrieve old posts?
If so, the problem I'm having, I get an
There are a couple of examples of Applets reading
.xls files from a WebServer on the Internet which
I have looked at, and work fine
For example; http://javasheet.sourceforge.net/Applet.html
Also(I use JBuilder) running the Applet from my
test environment works fine. 
After much thought and discussions on other
forums, I'm starting to believe that the problem 
is with System Properties and poi-hssf itself.
I was wondering;
I have Windows XP Professional, SP2. Is there 
something in IE that is stopping me from doing this?

1.With a trace, I have determined that the file.xls is being received at the
2.I am able to print out the header of the file.xls
HTTP/1.1 200 OK
HTTP/1.1 200 OK
Thu, 20 Jan 2005 13:01:39 GMT
Wed, 22 Dec 2004 14:51:08 GMT

Here is what I get...
     This error happens when I try to create the workbook.
Caused by: java.security.AccessControlException:
       access denied (java.util.PropertyPermission poi.deserialize.escher
I think this is the real problem. Some kind of an Access Denied trying to
use the "poi.deserialize"(what ever that means)

Bruce Houghton

To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

View raw message