[infinispan-issues] [JBoss JIRA] Commented: (ISPN-57) Support Google App Engine
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu Mar 18 07:18:37 EDT 2010
[ https://jira.jboss.org/jira/browse/ISPN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12520625#action_12520625 ]
Manik Surtani commented on ISPN-57:
-----------------------------------
Some discussions on the subject:
http://lists.jboss.org/pipermail/infinispan-dev/2009-November/001953.html
and an email from Vladimir:
"I think that we should give up, for the time being, trying to deploy Infinispan in GAE/j. After I have encountered the below mentioned blocker with our regular marshaling I have gone in direction recommended by Galder. I replaced river marshalling with java serialization. Although, java serialization does not really work, as Galder pointed, I wanted to jump over the first hurdle and see how far I can get with deployment. Didn't get very far. After I used java serialization instead of river I got this exception:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.reflect)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151)
at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)
at java.lang.ClassLoader$3.run(ClassLoader.java:410)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:408)
at org.jboss.marshalling.reflect.SunReflectiveCreator$1.run(SunReflectiveCreator.java:40)
at org.jboss.marshalling.reflect.SunReflectiveCreator$1.run(SunReflectiveCreator.java:38)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.marshalling.reflect.SunReflectiveCreator.(SunReflectiveCreator.java:38)
at org.infinispan.marshall.jboss.JBossMarshaller.start(JBossMarshaller.java:107)
at org.infinispan.marshall.VersionAwareMarshaller.start(VersionAwareMarshaller.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100)
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:170)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:846)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:666)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:572)
at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:130)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:134)
at org.infinispan.CacheDelegate.start(CacheDelegate.java:303)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:394)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:358)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:333)
at guestbook.SignGuestbookServlet.doPost(SignGuestbookServlet.java:63)
"
> Support Google App Engine
> -------------------------
>
> Key: ISPN-57
> URL: https://jira.jboss.org/jira/browse/ISPN-57
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Reporter: Adrian Cole
> Assignee: Manik Surtani
> Fix For: 5.1.0.BETA1, 5.1.0.Final
>
>
> Google App Engine for Java is a restricted JVM. It prevents such things as file access and thread creation. Currently, Infinispan requires at least thread creation and depending on the cachestore mechanism, potentially file as well.
> This is a container to investigate other related issues that may prevent Infinispan from running on GAE.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list