On Apr 6, 2009, at 2:42 AM, dbrownell83 wrote:

> 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?

Are you running on a hosted Tomcat instance (i.e. a shared instance  
with strangers) or your own install? Looks like a shared server that's  
pretty well locked down.

If that's the case I'd hit up the provider see if they know anything  
about this.

Regards,

Will Hartung


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to