开发者

Google App Engine - App worked on local GAE Dev Server, but failed on GAE

Today I uploaded my app for the first time, and it failed when the first request came in to trigger the app to initialize. I've tested everything locally on Google GAE DEV server, is there any difference between Google DEV server and the realy GAE environment?

I kind of understand that it might be caused by GAE security restrictions, but the app works fine on local GAE Dev server though.

Below is the exception:

Failed startup of context org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.transport.servlet.ServletTransportFactory' defined in class path resource [META-INF/cxf/cxf-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (2) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'bus' threw exception; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) PropertyAccessException 2: org.springframework.beans.MethodInvocationException: Property 'transportIds' threw exception; nested exception is java.security.AccessControlException: access denied (java.lang.Runti开发者_开发技巧mePermission getClassLoader)


See it works on my machine. :)
Sorry for not being much help, but I suspect that you're using something that is not on the gae-whitelist.
See this article about cxf on gae.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜