Hello, GWT Gurus!

I am frequently getting 500 Server error, when application is running
on appspot, not locally. It is usually happens after application has
been just deployed or after a couple of hours I haven't touched it,
while it was running in browser.

In logs I get this exception:

#
com.google.inject.internal.FinalizableReferenceQueue$SystemLoader
loadFinalizer: Not allowed to access system class loader.

#
05-03 10:58PM 53.370
com.google.inject.internal.FinalizableReferenceQueue <init>: Failed to
start reference finalizer thread. Reference cleanup will only occur
when new references are created.
java.lang.reflect.InvocationTargetException
        at com.google.appengine.runtime.Request.process-
a34bf020cfbce66a(Request.java)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:43)
        at
com.google.inject.internal.FinalizableReferenceQueue.<init>(FinalizableReferenceQueue.java:
124)
        at com.google.inject.internal.MapMaker
$QueueHolder.<clinit>(MapMaker.java:787)
        at com.google.inject.internal.MapMaker$WeakEntry.<init>(MapMaker.java:
946)
        at com.google.inject.internal.MapMaker$Strength
$1.newEntry(MapMaker.java:312)
        at com.google.inject.internal.MapMaker
$StrategyImpl.newEntry(MapMaker.java:498)
        at com.google.inject.internal.MapMaker
$StrategyImpl.newEntry(MapMaker.java:419)
        at com.google.inject.internal.CustomConcurrentHashMap
$ComputingImpl.get(CustomConcurrentHashMap.java:2029)
        at
com.google.inject.internal.BytecodeGen.getClassLoader(BytecodeGen.java:
149)
        at
com.google.inject.internal.BytecodeGen.getClassLoader(BytecodeGen.java:
132)
        at
com.google.inject.internal.BytecodeGen.newFastClass(BytecodeGen.java:
162)
        at com.google.inject.internal.DefaultConstructionProxyFactory
$1.<init>(DefaultConstructionProxyFactory.java:52)
        at
com.google.inject.internal.DefaultConstructionProxyFactory.create(DefaultConstructionProxyFactory.java:
50)
        at com.google.inject.internal.ProxyFactory.create(ProxyFactory.java:
147)
        at
com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:
75)
        at com.google.inject.internal.ConstructorInjectorStore.access
$000(ConstructorInjectorStore.java:27)
        at com.google.inject.internal.ConstructorInjectorStore
$1.create(ConstructorInjectorStore.java:35)
        at com.google.inject.internal.ConstructorInjectorStore
$1.create(ConstructorInjectorStore.java:31)
        at com.google.inject.internal.FailableCache
$1.apply(FailableCache.java:35)
        at com.google.inject.internal.MapMaker
$StrategyImpl.compute(MapMaker.java:549)
        at com.google.inject.internal.MapMaker
$StrategyImpl.compute(MapMaker.java:419)
        at com.google.inject.internal.CustomConcurrentHashMap
$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
        at com.google.inject.internal.FailableCache.get(FailableCache.java:
46)
        at
com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:
48)
        at
com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:
113)
        at
com.google.inject.internal.InjectorImpl.initializeBinding(InjectorImpl.java:
367)
        at
com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:
619)
        at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:
551)
        at
com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:
162)
        at
com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:
122)
        at
com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:
625)
        at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java:
43)
        at
com.google.inject.internal.BindingProcessor.runCreationListeners(BindingProcessor.java:
235)
        at
com.google.inject.internal.InjectorBuilder.initializeStatically(InjectorBuilder.java:
132)
        at
com.google.inject.internal.InjectorBuilder.build(InjectorBuilder.java:
106)
        at com.google.inject.Guice.createInjector(Guice.java:93)
        at com.google.inject.Guice.createInjector(Guice.java:70)
        at com.google.inject.Guice.createInjector(Guice.java:60)
        at
com.myapp.DispatcherServletContextListener.getInjector(DispatcherServletContextListener.java:
16)
        at
com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:
43)
        at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:
548)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1250)
        at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
517)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
467)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
        at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:
191)
        at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:
168)
        at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
123)
        at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
243)
        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5838)
        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5836)
        at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
24)
        at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
398)
        at com.google.net.rpc.impl.Server$2.run(Server.java:852)
        at
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
56)
        at
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
576)
        at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
        at com.google.net.rpc.impl.Server.processRequest(Server.java:369)
        at
com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
442)
        at
com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
319)
        at
com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
290)
        at com.google.net.async.Connection.handleReadEvent(Connection.java:
474)
        at
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:
831)
        at
com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
207)
        at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
103)
        at
com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:
251)
        at com.google.apphosting.runtime.JavaRuntime
$RpcRunnable.run(JavaRuntime.java:404)
        at java.lang.Thread.run(Unknown Source)
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 com.google.inject.internal.Finalizer.<init>(Finalizer.java:92)
        at com.google.inject.internal.Finalizer.startFinalizer(Finalizer.java:
81)
        ... 72 more

05-03 11:14PM 31.209
Request was aborted after waiting too long to attempt to service your
request. This may happen sporadically when the App Engine serving
cluster is under unexpectedly high or uneven load. If you see this
message frequently, please contact the App Engine team.


What could be a problem? Any feedback will be appreciated!

Thanks!
Alexander.

-- 
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-j...@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