I wish that were the case ... however GAE VFS does not function when hosted (but does locally) the only apparent difference is this exception ...
On Jan 21, 8:18 pm, John Patterson <[email protected]> wrote: > These exceptions are a normal part of startup and logged at the INFO > level for that reason. They are just slightly annoying but harmless > so ignore them. > > On 22 Jan 2010, at 05:56, Larry Cable wrote: > > > > > interestingly enough I get essentially the same exception when calling > > into the TaskQueue API ... > > > I 01-21 02:44PM 41.437 > > com > > .google > > .appengine.repackaged.com.google.common.base.FinalizableReferenceQueue > > $SystemLoader loadFinalizer: Not allowed to access system class > > loader. > > I 01-21 02:44PM 41.455 > > com > > .google.appengine.repackaged.com.google.common.base.internal.Finalizer > > getInheritableThreadLocalsField: Couldn't access > > Thread.inheritableThreadLocals. Reference finalizer threads will > > inherit thread local values. > > I 01-21 02:44PM 41.459 > > com > > .google > > .appengine.repackaged.com.google.common.base.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-6da5babfb78cdcdd > > (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:42) > > at > > com > > .google > > .appengine > > .repackaged.com.google.common.base.FinalizableReferenceQueue.<init> > > (FinalizableReferenceQueue.java:124) > > at > > com > > .google > > .appengine.repackaged.com.google.common.labs.misc.InterningPools > > $WeakInterningPool.<clinit>(InterningPools.java:104) > > at > > com > > .google > > .appengine > > .repackaged > > .com.google.common.labs.misc.InterningPools.newWeakInterningPool > > (InterningPools.java:48) > > at > > com > > .google > > .appengine.repackaged.com.google.io.protocol.ProtocolSupport.<clinit> > > (ProtocolSupport.java:55) > > at com.google.appengine.api.labs.taskqueue.TaskQueuePb > > $TaskQueueAddRequest.<init>(TaskQueuePb.java:662) > > at com.google.appengine.api.labs.taskqueue.TaskQueuePb > > $TaskQueueAddRequest$1.<init>(TaskQueuePb.java:1402) > > at com.google.appengine.api.labs.taskqueue.TaskQueuePb > > $TaskQueueAddRequest.<clinit>(TaskQueuePb.java:1402) > > at com.google.appengine.api.labs.taskqueue.QueueImpl.createAddRequest > > (QueueImpl.java:168) > > at com.google.appengine.api.labs.taskqueue.QueueImpl.add > > (QueueImpl.java:233) > > at com.google.appengine.api.labs.taskqueue.QueueImpl.add > > (QueueImpl.java:225) > > at > > com > > .newatlanta > > .appengine.datastore.CachingDatastoreService.queueWatchDogTask > > (CachingDatastoreService.java:443) > > at > > com.newatlanta.appengine.datastore.CachingDatastoreService.<clinit> > > (CachingDatastoreService.java:139) > > at com.newatlanta.appengine.vfs.provider.GaeFileObject.<clinit> > > (GaeFileObject.java:61) > > at com.newatlanta.appengine.vfs.provider.GaeFileSystem.createFile > > (GaeFileSystem.java:47) > > at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile > > (AbstractFileSystem.java:343) > > at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile > > (AbstractFileSystem.java:314) > > at com.newatlanta.appengine.vfs.provider.GaeFileSystem.resolveFile > > (GaeFileSystem.java:55) > > at > > org > > .apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile > > (AbstractOriginatingFileProvider.java:86) > > at > > org > > .apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile > > (AbstractOriginatingFileProvider.java:66) > > at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile > > (DefaultFileSystemManager.java:692) > > at > > com.newatlanta.appengine.vfs.provider.GaeFileSystemManager.resolveFile > > (GaeFileSystemManager.java:125) > > at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile > > (DefaultFileSystemManager.java:648) > > at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile > > (DefaultFileSystemManager.java:604) > > at com.newatlanta.appengine.vfs.provider.GaeFileSystemManager.init > > (GaeFileSystemManager.java:90) > > at com.newatlanta.appengine.vfs.provider.GaeFileSystemManager.init > > (GaeFileSystemManager.java:73) > > at com.newatlanta.appengine.vfs.provider.GaeVFS.getManager > > (GaeVFS.java:74) > > at com.newatlanta.appengine.vfs.provider.GaeVFS.resolveFile > > (GaeVFS.java:171) > > at com.newatlanta.appengine.nio.file.GaePath.<init>(GaePath.java:102) > > at com.newatlanta.appengine.nio.file.GaeFileSystem.getPath > > (GaeFileSystem.java:54) > > at com.newatlanta.repackaged.java.nio.file.Paths.get(Paths.java:70) > > at com.newatlanta.appengine.servlet.GaeVfsServlet.init > > (GaeVfsServlet.java:139) > > at javax.servlet.GenericServlet.init(GenericServlet.java:215) > > at org.mortbay.jetty.servlet.ServletHolder.initServlet > > (ServletHolder.java:433) > > at > > org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java: > > 256) > > at org.mortbay.component.AbstractLifeCycle.start > > (AbstractLifeCycle.java:40) > > at org.mortbay.jetty.servlet.ServletHandler.initialize > > (ServletHandler.java:612) > > at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > at org.mortbay.jetty.webapp.WebAppContext.startContext > > (WebAppContext.java:1218) > > at org.mortbay.jetty.handler.ContextHandler.doStart > > (ContextHandler.java:500) > > at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: > > 448) > > at org.mortbay.component.AbstractLifeCycle.start > > (AbstractLifeCycle.java:40) > > 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:235) > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > $6.handleBlockingRequest(RuntimePb.java:5235) > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > $6.handleBlockingRequest(RuntimePb.java:5233) > > at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest > > (BlockingApplicationHandler.java:24) > > at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > > 363) > > at com.google.net.rpc.impl.Server$2.run(Server.java:838) > > at com.google.tracing.LocalTraceSpanRunnable.run > > (LocalTraceSpanRunnable.java:56) > > at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan > > (LocalTraceSpanBuilder.java:536) > > at com.google.net.rpc.impl.Server.startRpc(Server.java:793) > > at com.google.net.rpc.impl.Server.processRequest(Server.java:368) > > at com.google.net.rpc.impl.ServerConnection.messageReceived > > (ServerConnection.java:448) > > 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: > > 466) > > at com.google.net.async.EventDispatcher.processNetworkEvents > > (EventDispatcher.java:759) > > at com.google.net.async.EventDispatcher.internalLoop > > (EventDispatcher.java:205) > > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > > 101) > > at com.google.net.rpc.RpcService.runUntilServerShutdown > > (RpcService.java:251) > > at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run > > (JavaRuntime.java:394) > > 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 > > .appengine.repackaged.com.google.common.base.internal.Finalizer.<init> > > (Finalizer.java:96) > > at > > com > > .google > > .appengine > > .repackaged.com.google.common.base.internal.Finalizer.startFinalizer > > (Finalizer.java:82) > > ... 68 more > > > On Jan 21, 12:37 pm, Spines <[email protected]> wrote: > >> I get an InvocationTargetException the first time I query the > >> datastore after starting the dev server. > >> My app works fine, but I feel like the exception slows down the > >> startup time and is also probably a bad thing. > > >> My query is simple its just: > > >> Query q = pm.newQuery(Question.class); > >> List<Question> cards = (List<Question>) q.execute(); > > >> And on the call to execute i get this exception, which appears as an > >> Info message in my logs: > > >> com > >> .google > >> .appengine.repackaged.com.google.common.base.FinalizableReference > >> Queue > >> <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- > >> b6aeefda810d77e4 > >> (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:42) > >> at > >> com > >> .google > >> .appengine.repackaged.com.google.common.base.FinalizableReference > >> Queue.<init> > >> (FinalizableReferenceQueue.java:124) > >> at > >> com > >> .google > >> .appengine.repackaged.com.google.common.labs.misc.InterningPools > >> $WeakInterningPool.<clinit>(InterningPools.java:104) > >> at > >> com > >> .google > >> .appengine.repackaged.com.google.common.labs.misc.InterningPools. > >> newWeakInterningPool > >> (InterningPools.java:48) > >> at > >> com > >> .google > > ... > > read more »- Hide quoted text - > > - Show quoted text - -- 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.
