[appengine-java] Unable to enhance class using DataNucleus
When I do clean and build my program. There is a following note Note: D:\Project\msc\sentiment-app\src\java\tweet_now.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. And during the RUN datanucleusenhance: [enhance] DataNucleus Enhancer (version 1.1.4) : Enhancement of classes [enhance] DataNucleus Enhancer completed with success for 0 classes. Timings : input=62 ms, enhance=0 ms, total=62 ms. Consult the log for full details [enhance] DataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details I am guessing the problem is because I am not a able to enhance my class. I am using netbeans. What should be done? Also I app works fine locally but doesnt work when deployed on server. Please help. Cheers, Suvrat -- 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-java@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.
[appengine-java] Re: Unable to enhance class using DataNucleus
Or my question could also be how to enhance a class in netbeans. On May 20, 12:37 pm, hiran.suvrat hiran.suv...@gmail.com wrote: When I do clean and build my program. There is a following note Note: D:\Project\msc\sentiment-app\src\java\tweet_now.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. And during the RUN datanucleusenhance: [enhance] DataNucleus Enhancer (version 1.1.4) : Enhancement of classes [enhance] DataNucleus Enhancer completed with success for 0 classes. Timings : input=62 ms, enhance=0 ms, total=62 ms. Consult the log for full details [enhance] DataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details I am guessing the problem is because I am not a able to enhance my class. I am using netbeans. What should be done? Also I app works fine locally but doesnt work when deployed on server. Please help. Cheers, Suvrat -- 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-java@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.
[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
Can anyone help with the above problems? On Apr 9, 10:58 am, hiran.suvrat hiran.suv...@gmail.com 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 amit.s...@gmail.com 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 hiran.suv...@gmail.comwrote: 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
[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
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 amit.s...@gmail.com 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 hiran.suv...@gmail.comwrote: 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