Hi,

I am trying to get Apache Wicket running properly on GAE. Therefore, I
am adapting some Wicket behavior (i.e., I am trying to implement a
Memcache-based implementation of Wicket's IPageStore).

Anyway, I am getting a

java.security.AccessControlException: access denied
(java.io.SerializablePermission enableSubclassImplementation)

error when running my code on the dev server. It seems to me that the
use of java.io.ObjectOutputStream causes some problems although the
class is found on the JRE whitelist.

Below you find the (shortened) stacktrace:

<snip>
java.security.AccessControlException: access denied
(java.io.SerializablePermission enableSubclassImplementation)
        at java.security.AccessControlContext.checkPermission(Unknown Source)
        at java.security.AccessController.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPermission(Unknown Source)
        at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:139)
        at java.io.ObjectOutputStream.<init>(Unknown Source)
        at org.apache.wicket.util.io.IObjectStreamFactory
$DefaultObjectStreamFactory$2.<init>(IObjectStreamFactory.java:150)
        at org.apache.wicket.util.io.IObjectStreamFactory
$DefaultObjectStreamFactory.newObjectOutputStream
(IObjectStreamFactory.java:114)
        at org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:
1111)
        at
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage
(AbstractPageStore.java:203)

</snip>

Any help would be highly appreciated ;-)

thanks,
andr

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to