GAE: AccessControlException - modifyThreadGroup

81 views
Skip to first unread message

Rich

unread,
Mar 30, 2010, 5:07:22 AM3/30/10
to JetS3t Users
Hi

I am trying to use JetS3T from GAE for Java, and it is failing with
the following Exception:

Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission modifyThreadGroup)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
355)
at
java.security.AccessController.checkPermission(AccessController.java:
567)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.ThreadGroup.checkAccess(Unknown Source)
at java.lang.Thread.init(Unknown Source)
at java.lang.Thread.<init>(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
$ReferenceQueueThread.<init>(MultiThreadedHttpConnectionManager.java:
1039)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.storeReferenceToConnection(MultiThreadedHttpConnectionManager.java:
164)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.access
$900(MultiThreadedHttpConnectionManager.java:64)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
$ConnectionPool.createConnection(MultiThreadedHttpConnectionManager.java:
750)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:
469)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:
394)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:
152)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:
396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:
324)
at
org.jets3t.service.impl.rest.httpclient.RestS3Service.performRequest(RestS3Service.java:
370)

Is there a way to turn this functionality off?

Thanks in advance

Rich

James Murty

unread,
Mar 31, 2010, 1:02:54 AM3/31/10
to jets3t...@googlegroups.com
Hi,

JetS3t is not compatibile with Google App Engine. Or the other way around.

Because JetS3t uses a number of libraries and techniques that are not supported in the restricted execution environment of Google App Engine there is no easy way to remedy this. If you want a Java S3 library that works in this environment you should look into jClouds: http://code.google.com/p/jclouds/

Hope this helps,
James



--
You received this message because you are subscribed to the Google Groups "JetS3t Users" group.
To post to this group, send email to jets3t...@googlegroups.com.
To unsubscribe from this group, send email to jets3t-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jets3t-users?hl=en.


Reply all
Reply to author
Forward
0 new messages