Did you get any solution for this?

On May 4, 3:34 am, Alexander Gavrilov <[email protected]> wrote:
> 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>(FinalizableRefe 
> renceQueue.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(DefaultCo 
> nstructionProxyFactory.java:
> 50)
>         at com.google.inject.internal.ProxyFactory.create(ProxyFactory.java:
> 147)
>         at
> com.google.inject.internal.ConstructorInjectorStore.createConstructor(Const 
> ructorInjectorStore.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(ConstructorInjector 
> Store.java:
> 48)
>         at
> com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBin 
> dingImpl.java:
> 113)
>         at
> com.google.inject.internal.InjectorImpl.initializeBinding(InjectorImpl.java :
> 367)
>         at
> com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImp 
> l.java:
> 619)
>         at
> com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(In 
> jectorImpl.java:
> 551)
>         at
> com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.j 
> ava:
> 162)
>         at
> com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java :
> 122)
>         at
> com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.jav a:
> 625)
>         at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java:
> 43)
>         at
> com.google.inject.internal.BindingProcessor.runCreationListeners(BindingPro 
> cessor.java:
> 235)
>         at
> com.google.inject.internal.InjectorBuilder.initializeStatically(InjectorBui 
> lder.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(DispatcherServletCon 
> textListener.java:
> 16)
>         at
> com.google.inject.servlet.GuiceServletContextListener.contextInitialized(Gu 
> iceServletContextListener.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(AppV 
> ersionHandlerMap.java:
> 191)
>         at
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVers 
> ionHandlerMap.java:
> 168)
>         at
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques 
> t(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(BlockingAp 
> plicationHandler.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(LocalTraceSpa 
> nBuilder.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.j 
> ava:
> 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.j 
> ava:
> 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.jav a:
> 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to