1

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.RuntimePermission getClassLoader)

4

1 回答 1

1

看到它在我的机器上工作。:)
很抱歉没有提供太多帮助,但我怀疑您使用的东西不在gae-whitelist中。请参阅gae 上有关 cxf 的
这篇文章。

于 2011-01-28T16:31:09.600 回答