Hi,

Just to clarify, I only get this problem online, not on my home computer,
so it's not a problem with Stripes...

 but since Stripes wants access to a host permission, I assume this is a
common problem to anyone who has used Stripes to stream images from a
database online.

When I load a picture from the database to be streamed to the browser, it
gives me:

java.security.AccessControlException: access denied
(java.util.PropertyPermission
org.apache.tomcat.util.http.FastHttpDateFormat.CACHE_SIZE read)

java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
        
java.security.AccessController.checkPermission(AccessController.java:546)
        java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
        java.lang.System.getProperty(System.java:688)

org.apache.tomcat.util.http.FastHttpDateFormat.<clinit>(FastHttpDateFormat.java:39)
        org.apache.catalina.connector.Request.getDateHeader(Request.java:1838)

org.apache.catalina.connector.RequestFacade.getDateHeader(RequestFacade.java:632)

net.sourceforge.stripes.controller.FlashRequest.<init>(FlashRequest.java:132)


It seems like a fairly reasonable Tomcat setting for my program to want to
know..
Is there any way to default this value without having to access the system
properties?
Has anyone encountered the issue?

Thanks,
Daniel B.
-- 
View this message in context: 
http://www.nabble.com/Problem-streaming-pic-from-DB-to-Browser-tp22905407p22905407.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to