hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: using httpclient from tomcat
Date Thu, 24 Jul 2003 03:14:05 GMT
Johannes,

It seems that your servlet is running under some security manager, much  
like it was an unsigned applet in a browser.  This is not standard  
behavior as far as I have experienced.  Any ideas why this is the case?

Mike

On Wednesday, July 23, 2003, at 01:16 PM, Johannes Huettemeister wrote:

> Hi,
>
> hope this is also the "users" mailing list...
>
> I get the following exception when I try to create a GetMethod Object  
> in a Servlet (using tomcat).
> [...]
>
> Caused by: 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:40 
> 1)
>         at  
> java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
>         at  
> java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:12 
> 59)
>         at java.lang.System.getProperties(System.java:500)
>         at  
> org.apache.commons.httpclient.HttpMethodBase.<clinit>(HttpMethodBase.ja 
> va:156)
>         ... 37 more
>
>
> any hints on th is?
>
> cheers johannes.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:  
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:  
> commons-httpclient-dev-help@jakarta.apache.org
>


Mime
View raw message