ok, i succeeded to download the code from a backend.
comparing it with what i've downloaded from a frontend i see that
it misses the /lib folder with all jars under web-inf and non-xml
application specific files placed under web-inf are not there too.
i use intellij plugin to upload the frontend (works ok) and appcfg to
upload backend (misses files). i tried to copy the /lib folder
manually into the folder i upload from, but then i get errors from
appcfg.
any thoughts?

On Nov 9, 10:12 am, atarno <[email protected]> wrote:
> what can be a reason for backends not to recognize the servlets mapped
> in web.xml?
> although, is there any way to use appcfg to download the code from the
> backend? this seems to be the only way for me to know what my backend
> "sees".
>
> On Nov 8, 5:35 pm, atarno <[email protected]> wrote:
>
>
>
>
>
>
>
> > hi again,
>
> > i'm still fighting the backends.:)
>
> > i have some backend instances i try to call from the front end via
> > task queue.
> > i see in logs that the task is successfully created and the backend is
> > called, but on the beckend side i always left with the following:
>
> > /_ah/start 500 979ms 0kb instance=1
>
> > 0.1.0.3 - - [08/Nov/2011:07:15:12 -0800] "GET /_ah/start HTTP/1.1" 500
> > 0 - - "1.sync-be.zmsg-mobi.appspot.com" ms=979 cpu_ms=427 api_cpu_ms=0
> > cpm_usd=0.000018 loading_request=1 exit_code=111 instance=5
>
> > following by this exception for each and every servlet i have in my
> > application:
>
> > W 2011-11-08 17:15:12.682 EXCEPTION
> > java.lang.ClassNotFoundException: com.xxx.yyy.TestServlet
> >         at
> > com.google.appengine.runtime.Request.process-0000000000000000(Request.java)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> >         at org.mortbay.util.Loader.loadClass(Loader.java:91)
> >         at org.mortbay.util.Loader.loadClass(Loader.java:71)
> >         at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
> >         at 
> > org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
> > 242)
> >         at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> > 50)
> >         at
> > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
> > 685)
> >         at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
> >         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.tracing.TraceContext
> > $TraceContextRunnable.runInContext(TraceContext.java:449)
> >         at com.google.tracing.TraceContext$TraceContextRunnable
> > $1.run(TraceContext.java:455)
> >         at com.google.tracing.TraceContext.runInContext(TraceContext.java:
> > 695)
> >         at com.google.tracing.TraceContext
> > $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
> > 333)
> >         at com.google.tracing.TraceContext
> > $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
> > 325)
> >         at com.google.tracing.TraceContext
> > $TraceContextRunnable.run(TraceContext.java:453)
> >         at java.lang.Thread.run(Thread.java:679)
>
> > turning into this great stuff, again as a number of servlets i have:
>
> > Failed startup of context
> > com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@1bbc779{/,/
> > base/data/home/apps/s~zmsg-mobi/sync-be.354538568494127495}
> > org.mortbay.util.MultiException[java.lang.NullPointerException,
> > java.lang.NullPointerException, java.lang.NullPointerException,
> > java.lang.NullPointerException, java.lang.NullPointerException,
> > java.lang.NullPointerException, java.lang.NullPointerException,
> > java.lang.NullPointerException]
> >         at
> > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
> > 656)
> >         at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
> >         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:
> > 202)
> >         at
> > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:
> > 171)
> >         at
> > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
> > 123)
> >         at com.google.apphosting.runtime.JavaRuntime
> > $RequestRunnable.run(JavaRuntime.java:392)
> >         at com.google.tracing.TraceContext
> > $TraceContextRunnable.runInContext(TraceContext.java:449)
> >         at com.google.tracing.TraceContext$TraceContextRunnable
> > $1.run(TraceContext.java:455)
> >         at com.google.tracing.TraceContext.runInContext(TraceContext.java:
> > 695)
> >         at com.google.tracing.TraceContext
> > $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
> > 333)
> >         at com.google.tracing.TraceContext
> > $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
> > 325)
> >         at com.google.tracing.TraceContext
> > $TraceContextRunnable.run(TraceContext.java:453)
> >         at com.google.apphosting.runtime.ThreadGroupPool
> > $PoolEntry.run(ThreadGroupPool.java:162)
> >         at java.lang.Thread.run(Thread.java:679)
>
> > what say you?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to