Try clean and build everything again. And make sure all classes are enhanced properly by data nucleus.
Hth ----- Reply message ----- From: "hiran.suvrat" <[email protected]> Date: Sat, Apr 16, 2011 3:15 am Subject: [appengine-java] Re: My application works well in eclipse but when I deploy the same code in GAE it shows the following error while opening the homepage To: "Google App Engine for Java" <[email protected]> Can anyone help with the above problems? On Apr 9, 10:58 am, "hiran.suvrat" <[email protected]> wrote: > Hi, > Tweet_now is a servlet which i have made. when i run it on the local > server it works fine. but after deployment to google app engine server > this error occurs. i am using netbeans to create war file but i am not > able to deploy it to the server through netbeans. i am using command > line to deploy on server. > > thanks > > On Apr 8, 12:42 pm, Amit Pandey <[email protected]> wrote: > > > > > > > > > As per your exception* tweet_now* class is not available for JVM. If you > > have created this class, make sure you have imported it. OR if you are using > > jar file for this class, make sure you have added the jar file to the class > > path. > > > Just to clarify- Are you using eclipse to deploy the code in app engine? > > > Thanks, > > Amit > > > On Fri, Apr 8, 2011 at 11:49 AM, hiran.suvrat > > <[email protected]>wrote:> I have a similar problem and the error log > > is.. Thank you for the help > > > > 500 776ms 956cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en- > > > US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/ > > > 534.16,gzip(gfe) > > > 203.110.243.21 - - [30/Mar/2011:14:33:44 -0700] "GET / HTTP/1.1" 500 0 > > > - "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 > > > (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16,gzip(gfe)" > > > "sentiment-app.appspot.com" ms=777 cpu_ms=957 api_cpu_ms=0 > > > cpm_usd=0.026614 loading_request=1 > > > W 2011-03-30 14:33:44.409 > > > EXCEPTION > > > java.lang.ClassNotFoundException: tweet_now > > > at > > > com.google.appengine.runtime.Request.process-01e974251f42de3f(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.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > > > 437) > > > at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java: > > > 573) > > > at com.google.tracing.TraceContext$TraceContextRunnable > > > $1.run(TraceContext.java:448) > > > at com.google.tracing.TraceContext.runInContext(TraceContext.java: > > > 688) > > > at com.google.tracing.TraceContext > > > > $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.jav > > > a: > > > 326) > > > at com.google.tracing.TraceContext > > > $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: > > > 318) > > > at com.google.tracing.TraceContext > > > $TraceContextRunnable.run(TraceContext.java:446) > > > at > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: > > > 1110) > > > at java.util.concurrent.ThreadPoolExecutor > > > $Worker.run(ThreadPoolExecutor.java:603) > > > at java.lang.Thread.run(Thread.java:636) > > > E 2011-03-30 14:33:44.410 > > > javax.servlet.ServletContext log: unavailable > > > javax.servlet.UnavailableException: tweet_now > > > at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79) > > > 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.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: > > > 261) > > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > > $2.handleRequest(RuntimePb.java:9285) > > > at > > > com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > > > 437) > > > at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java: > > > 573) > > > at com.google.tracing.TraceContext$TraceContextRunnable > > > $1.run(TraceContext.java:448) > > > at com.google.tracing.TraceContext.runInContext(TraceContext.java: > > > 688) > > > at com.google.tracing.TraceContext > > > > $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.jav > > > a: > > > 326) > > > at com.google.tracing.TraceContext > > > $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: > > > 318) > > > at com.google.tracing.TraceContext > > > $TraceContextRunnable.run(TraceContext.java:446) > > > at > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: > > > 1110) > > > at java.util.concurrent.ThreadPoolExecutor > > > $Worker.run(ThreadPoolExecutor.java:603) > > > at java.lang.Thread.run(Thread.java:636) > > > W 2011-03-30 14:33:44.414 > > > Failed startup of context > > > com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@13c33b7 > > > {/,/ > > > base/data/home/apps/sentiment-app/1.349208838425736194} > > > java.lang.NullPointerException > > > at java.lang.Class.isAssignableFrom(Native Method) > > > at > > > org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java: > > > 256) > > > 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.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: > > > 261) > > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > > $2.handleRequest(RuntimePb.java:9285) > > > at > > > com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > > > 437) > > > at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java: > > > 573) > > > at com.google.tracing.TraceContext$TraceContextRunnable > > > $1.run(TraceContext.java:448) > > > at com.google.tracing.TraceContext.runInContext(TraceContext.java: > > > 688) > > > at com.google.tracing.TraceContext > > > > $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.jav > > > a: > > > 326) > > > at com.google.tracing.TraceContext > > > $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: > > > 318) > > > at com.google.tracing.TraceContext > > > $TraceContextRunnable.run(TraceContext.java:446) > > > at > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: > > > 1110) > > > at java.util.concurrent.ThreadPoolExecutor > > > $Worker.run(ThreadPoolExecutor.java:603) > > > at java.lang.Thread.run(Thread.java:636) > > > C 2011-03-30 14:33:44.418 > > > Uncaught exception from servlet > > > javax.servlet.UnavailableException: Initialization failed. > > > at > > > > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppV > > > ersionHandlerMap.java: > > > 200) > > > 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: > > > 261) > > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > ... > > read more » -- 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. -- 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.
