[appengine-java] 500 Server Error
Hello, I'm Trying to Do Use Upload and Delete Files from my Google Engine(Java) application, but always return the error 500 Server Error Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please reporthttp://code.google.com/appengine/community.htmlyour problem and mention this error message and the query that caused it. The Script Is ok, because run in localhost, i look for the error in google, and i see the error ocured because i don't have permission to Upload and Delete files for my Application. Where i Can change permission to enable this?? Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/S7kYHc3Of8sJ. 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] 500 Server ERROR : please report this problem / Using Federated Login
Hi, Just uploaded a new app. The app requires login via Federated Login. The first thing that happens is a redirect using the domain parameter appended to the request : http://1.koma-software-3.appspot.com/go?domain=koma.be This gets redirected to : http://1.koma-software-3.appspot.com/_ah/login_redir?claimid=https://www.google.com/a/koma.be/o8/udcontinue=http://1.koma-software-3.appspot.com/go?domain=koma.be Next thing I see is : Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please reporthttp://code.google.com/appengine/community.html your problem and mention this error message and the query that caused it. How can I investigate further ? Is this a AppEngine problem or mine ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Gxh1SlMcNFcJ. 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] 500 server Error
I am new in APP engine when using any Google services I face that error Error: Server ErrorThe server encountered an error and could not complete your request. If the problem persists, please reporthttp://code.google.com/appengine/community.html your problem and mention this error message and the query that caused it. Any Idea to solve that? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/D1dfXflGtvQJ. 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.
Re: [appengine-java] 500 server Error
Please check logs for detailed information. On Sun, Aug 7, 2011 at 12:25 AM, phars alnmr pharsal...@gmail.com wrote: I am new in APP engine when using any Google services I face that error Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please reporthttp://code.google.com/appengine/community.html your problem and mention this error message and the query that caused it. Any Idea to solve that? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/D1dfXflGtvQJ. 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. -- 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] 500 Server Error
Hi, Can anyone please help me ? My app works fine in my computer, but after uploaded it to gae server, i received an error. * See my log from appengine logs. [19/May/2011:18:09:41 -0700] GET /agendaxyzdms HTTP/1.1 500 0 - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) neoageinfo.appspot.com ms=584 cpu_ms=910 api_cpu_ms=0 cpm_usd=0.025325 loading_request=1 /agenda javax.servlet.ServletException: Exception during proxy request: Unable to complete the HTTP request at com.gae.dms.proxy.AgendaXyzDmsServlet.service(AgendaXyzDmsServlet.java:84) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97) I think that the problem is because the authorization property, because in other urls without the autorization everthing works fine. .addRequestProperty(Authorization, Basic + encode(Name + : + Password)); * Part of my code: public void service (HttpServletRequest httpRequest, HttpServletResponse httpResponse) throws ServletException { try { URL content = new URL(http://argos.xx.yy.zzz.br/home/name@mail/Calendar;); URLConnection urlConn = content.openConnection(); String Name = ; String Password = ; urlConn.addRequestProperty(Authorization, Basic + encode(Name + : + Password)); // show the client the content type: String contentType = urlConn.getContentType(); httpResponse.setContentType(contentType); // get the input stream InputStream in = urlConn.getInputStream(); BufferedReader br = new BufferedReader(new InputStreamReader(in)); //char[] buffer = new char[1024]; String contentString = ; String tmp = br.readLine(); do { contentString += tmp + \n; tmp = br.readLine(); } while (tmp != null); // // Now write the bytes out to the client. // byte[] contentBytes = contentString.getBytes(); OutputStream out = httpResponse.getOutputStream(); out.write(contentBytes, 0, contentBytes.length); out.flush(); out.close(); } catch (IOException ioe) { // on open connection: throw new ServletException(Exception while opening ' + ': + ioe.getMessage()); } catch (Exception e) { // on reading input: throw new ServletException(Exception during proxy request: + e.getMessage()); } } -- 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.
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
HI Simon, I' am not using eclipse plugin. I' am using command prompt for everything. first I registered myself with google app engine and created an application named babuguestbook. No I changed the application's appengine-web.xml applicationbabuguestbook/application and heres the command I give, (the guestbook application is inside D:\Tools\GoogleAppEngine\appengine-java-sdk-1.4.2\demos\guestbook) D:\Tools\GoogleAppEngine\appengine-java-sdk-1.4.2 bin\appcfg.cmd update demos\guestbook\war and I get the following success logs, Reading application configuration data... Mar 29, 2011 7:24:32 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed demos/guestbook/war\WEB-INF/appengine-web.xml 2011-03-29 19:24:32.555:INFO::Logging to STDERR via org.mortbay.log.StdErrLog Mar 29, 2011 7:24:32 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed demos/guestbook/war\WEB-INF/web.xml Beginning server interaction for babuguestbook... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. Mar 29, 2011 7:24:42 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\DOCUME~1\NagarajD\LOCALS~1\Temp\appcfg6718175774315394544.tmp\WEB-INF/web.xml 20% Scanning files on local disk. 25% Initiating update. 28% Cloning 1 static files. 31% Cloning 31 application files. 40% Uploading 1 files. 52% Uploaded 1 files. 61% Initializing precompilation... 68% Precompiling... 8 file(s) left. 73% Precompiling... 6 file(s) left. 77% Precompiling... 3 file(s) left. 80% Precompiling... 2 file(s) left. 90% Deploying new version. 95% Will check again in 1 seconds. 98% Will check again in 2 seconds. 99% Will check again in 4 seconds. 99% Will check again in 8 seconds. 99% Closing update: new version is ready to start serving. 99% Uploading index definitions. Details: Mar 29, 2011 7:24:42 PM org.apache.jasper.JspC processFile INFO: Built File: \guestbook.jsp Update completed successfully. Success. Cleaning up temporary files... Now, assuming that my application got uploaded into Google App Engine I try to access it by, http://babuguestbook.appspot.com/ http://babuguestbook.appspot.com/%20 And I get the following 500 Server Error. Need help, Thanks, Nagaraj. -- 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.
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
Hi, Well in that case it looks like the demo app has been built without running the DataNucleus enhancer - I would try running the ANT build script which is contained in demos\guestbook to rebuild it and give it another go. Cheers, Simon -- 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.
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
There was no issue on server , i uploaded my application. It was working fine . On Wed, Mar 30, 2011 at 1:57 PM, nag raj nagra...@gmail.com wrote: HI Simon/Karthik, I tested and found the application is getting accessed successfully. So, that should be some server related maintenance issue, yesterday(correct me). Thanks for all your response. Regards, Nagaraj. -- 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.
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
Please see the logs present in admin console. On Tue, Mar 29, 2011 at 4:15 PM, nag raj nagra...@gmail.com wrote: Hi, I' am new to Google App Engine. I registered with Google App Engine and created an application say XXX(application identifier). Then I downloaded the appengine-java-sdk-1.4.2. Now I tried to upload one of the demo application guestbook to the google app engine. I traversed to my appengine-java-sdk-1.4.2 installation folder and gave the following command, bin\appcfg.cmd update demos\guestbook\war I get the following success logs, Reading application configuration data... Mar 29, 2011 3:33:04 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed demos/guestbook/war\WEB-INF/appengine-web.xml 2011-03-29 15:33:04.753:INFO::Logging to STDERR via org.mortbay.log.StdErrLog Mar 29, 2011 3:33:04 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed demos/guestbook/war\WEB-INF/web.xml Beginning server interaction for babuguestbook... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. Mar 29, 2011 3:33:13 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\DOCUME~1\NagarajD\LOCALS~1\Temp\appcfg2667471992089305441.tmp\WEB-INF/web.xml 20% Scanning files on local disk. 25% Initiating update. 28% Cloning 1 static files. 31% Cloning 29 application files. 40% Uploading 0 files. 52% Initializing precompilation... 61% Precompiling... 9 file(s) left. 68% Precompiling... 8 file(s) left. 73% Precompiling... 6 file(s) left. 77% Precompiling... 4 file(s) left. 80% Precompiling... 3 file(s) left. 82% Precompiling... 2 file(s) left. 90% Deploying new version. 95% Will check again in 1 seconds. 98% Will check again in 2 seconds. 99% Will check again in 4 seconds. 99% Closing update: new version is ready to start serving. 99% Uploading index definitions. Details: Mar 29, 2011 3:33:13 PM org.apache.jasper.JspC processFile INFO: Built File: \guestbook.jsp Update completed successfully. Success. Cleaning up temporary files... Now when I go and try to access my application, I get the 500 Server Error. I attached the screen shot. Need help, Thanks, Nagaraj. -- 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. -- 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.
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
Hi, Thanks for your response, I get the following error, Uncaught exception from servlet javax.jdo.JDOUserException: Persistent class Class guestbook.Greeting does not seem to have been enhanced. You may want to rerun the enhancer and check for errors in the output. has no table in the database, but the operation requires it. Please check the specification of the MetaData for this class. at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:375) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:230) at org.apache.jsp.guestbook_jsp._jspService(guestbook_jsp.java:85) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) at com.google.apphosting.runtime.jetty.ResourceFileServlet.serveWelcomeFileAsForward(ResourceFileServlet.java:342) at com.google.apphosting.runtime.jetty.ResourceFileServlet.maybeServeWelcomeFile(ResourceFileServlet.java:281) at com.google.apphosting.runtime.jetty.ResourceFileServlet.doGet(ResourceFileServlet.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:238) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135) 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.java: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
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
There is problem with class guestbook.Greeting please refer http://code.google.com/appengine/docs/java/datastore/jdo/dataclasses.html On Tue, Mar 29, 2011 at 7:32 PM, nag raj nagra...@gmail.com wrote: Hi, Thanks for your response, I get the following error, Uncaught exception from servlet javax.jdo.JDOUserException: Persistent class Class guestbook.Greeting does not seem to have been enhanced. You may want to rerun the enhancer and check for errors in the output. has no table in the database, but the operation requires it. Please check the specification of the MetaData for this class. at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:375) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:230) at org.apache.jsp.guestbook_jsp._jspService(guestbook_jsp.java:85) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) at com.google.apphosting.runtime.jetty.ResourceFileServlet.serveWelcomeFileAsForward(ResourceFileServlet.java:342) at com.google.apphosting.runtime.jetty.ResourceFileServlet.maybeServeWelcomeFile(ResourceFileServlet.java:281) at com.google.apphosting.runtime.jetty.ResourceFileServlet.doGet(ResourceFileServlet.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:238) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135) 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.java:326) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318) at
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
Hi Karthik, the application which I uploaded is, the sample application that comes along with the appengine-java-sdk-1.4.2. I did not make any modifications. Since, I've just started learning Google App Engine, I tested by deploying any existing application under my domain and thats it. FYI, I followed the following Getting started tutorial, *http://code.google.com/appengine/docs/java/gettingstarted/installing.html*http://code.google.com/appengine/docs/java/gettingstarted/installing.html Also, I attach the Greeting.java class for your reference. And, if your have appengine-java-sdk-1.4.2, can u just try uploading the appengine-java-sdk-1.4.2\demos\guestbook application to google app engine and let me know. Thanks, Nagaraj. -- 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. package guestbook; import java.util.Date; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; import com.google.appengine.api.users.User; @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Greeting { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private User author; @Persistent private String content; @Persistent private Date date; public Greeting(User author, String content, Date date) { this.author = author; this.content = content; this.date = date; } public Long getId() { return id; } public User getAuthor() { return author; } public String getContent() { return content; } public Date getDate() { return date; } public void setAuthor(User author) { this.author = author; } public void setContent(String content) { this.content = content; } public void setDate(Date date) { this.date = date; } }
Re: [appengine-java] 500-Server Error, while deploying Java Application from command prompt
Hi there, How are you producing the deployable WAR directory? Are you using the Eclipse plug-in? One of the compilation steps should invoke the DataNucleus Annotation enhancer, which reads the annotation configuration and enhances the files - effectively it creates all of the metadata required by the DataNucleus JDO implementation for mapping your classes onto the datastore. If this enhancement hasn't occurred, then you will be presented with the error message you are seeing at runtime. Cheers, Simon -- 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] 500 Server Error (Dashboard)
Hi guys I'm having a 500 Server Error after trying to delete some rows on the datastore. Any idea how can i get access back to the account? -- 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-j...@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] 500 Server Error
I just deployed my third version of the Greeting sample on GAE. Version 1 2 worked as expected. I added the Jackson JSON Processor to the 3rd version. It worked fine on my local machine. GAE is not providing any details on the error. Can someone point me in the right direction on how to troubleshoot this issue. Error Url: http://3.latest.olivia-grace.appspot.com/json Working Url: http://3.latest.olivia-grace.appspot.com -- 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-j...@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] 500 Server Error. Please help
After much difficulty in deploying, (difficulty like: I was getting remote host closed connection many times and had to deploy again and again) It finally deployed correctly. But, I am getting error as follows: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it The URL of the application is: jayati3644.appspot.com Could someone tell me why this is happening and what I should do to remove it. I have tried deploying the application a number of times and also making another application and deploying my project there but it doesn't work. Any help appreciated. -- 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-j...@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.
Re: [appengine-java] 500 Server Error. Please help
Look in the logs to see what is causing the error On 17 Jul 2010, at 19:37, jayati wrote: After much difficulty in deploying, (difficulty like: I was getting remote host closed connection many times and had to deploy again and again) It finally deployed correctly. But, I am getting error as follows: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it The URL of the application is: jayati3644.appspot.com Could someone tell me why this is happening and what I should do to remove it. I have tried deploying the application a number of times and also making another application and deploying my project there but it doesn't work. Any help appreciated. -- 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 . -- 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-j...@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] 500 Server error and GCacheException
Hi I get a lot of GCacheException: Policy prevented put operation during the last few hours. I use memcache for small xml file content, so it' shouldn't be an issue of exceeding the max memcache object size. As a result my app cannot cache nesecery content and eventually I get Error: Server Error: The server encountered an error and could not complete your request. possible due to a lot of request timing out trying all to get remote data because the memcache is empty. The app is online for since some months, handling about a million of requests per day, with no problem noticed. Can the GAE team help? I cannot provide a url in public, due to security reasons. -- 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-j...@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.
Re: [appengine-java] 500 Server error and GCacheException
Hi, I was just writing a post about this myself. I'm having the same problem. I already surrounded all my cache.get() calls with a try/catch block so the app can proceed normally (without the benefit of memcached though). I thought it was related to the Appengine maintenance, but I'm seeing this for already approximately 4 hours. Caused by: com.google.apphosting.api.ApiProxy$CapabilityDisabledException: The API call memcache.Get() is temporarily unavailable. at com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.rpcFinished(ApiProxyImpl.java:264) at com.google.net.rpc.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:1025) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444) at com.google.tracing.TraceContext.runInContext(TraceContext.java:684) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:322) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:314) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:442) at com.google.net.rpc.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:1046) at com.google.net.rpc.RPC.internalFinish(RPC.java:2047) at com.google.net.rpc.impl.RpcNetChannel.finishRpc(RpcNetChannel.java:2338) at com.google.net.rpc.impl.RpcNetChannel.messageReceived(RpcNetChannel.java:1265) 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.java: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.async.GlobalEventRegistry$2.runLoop(GlobalEventRegistry.java:95) at com.google.net.async.LoopingEventDispatcher$EventDispatcherThread.run(LoopingEventDispatcher.java:378) Caused by: com.google.apphosting.api.ApiProxy$CapabilityDisabledException: The API call memcache.Set() is temporarily unavailable. at com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.rpcFinished(ApiProxyImpl.java:264) at com.google.net.rpc.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:1025) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444) at com.google.tracing.TraceContext.runInContext(TraceContext.java:684) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:322) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:314) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:442) at com.google.net.rpc.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:1046) at com.google.net.rpc.RPC.internalFinish(RPC.java:2047) at com.google.net.rpc.impl.RpcNetChannel.finishRpc(RpcNetChannel.java:2338) at com.google.net.rpc.impl.RpcNetChannel.messageReceived(RpcNetChannel.java:1265) 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.java: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.async.GlobalEventRegistry$2.runLoop(GlobalEventRegistry.java:95) at com.google.net.async.LoopingEventDispatcher$EventDispatcherThread.run(LoopingEventDispatcher.java:378) -- 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-j...@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] 500 Server Error
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(FinalizableReferenceQueue.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(DefaultConstructionProxyFactory.java: 50) at com.google.inject.internal.ProxyFactory.create(ProxyFactory.java: 147) at com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.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(ConstructorInjectorStore.java: 48) at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java: 113) at com.google.inject.internal.InjectorImpl.initializeBinding(InjectorImpl.java: 367) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java: 619) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java: 551) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java: 162) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java: 122) at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java: 625) at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java: 43) at com.google.inject.internal.BindingProcessor.runCreationListeners(BindingProcessor.java: 235) at com.google.inject.internal.InjectorBuilder.initializeStatically(InjectorBuilder.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(DispatcherServletContextListener.java: 16) at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.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)
Re: [appengine-java] 500 Server error when loading data into memory
There's a 10mb limit on files, but I'm wondering if we accidentally trip this if it's a bit lower. What happens if you break the zip file up and load it piecemeal? On Wed, Feb 3, 2010 at 1:46 PM, Alyona medel...@gmail.com wrote: Hi, I get a 500 Server error when running my app maui-indexer. It might have something to do with the timeout or the quota, when a relatively large zipped text file (~9M) is loaded into memory, which is required by my app. I had now problems uploading using eclipse and I can't see any specific info in the error logs on the dashboard. Could you please advise what I need to do to make it work? Cheers Alyona - Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- 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-j...@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.
Re: [appengine-java] 500 Server error when loading data into memory
How large is your file unzipped? If it's 9M compressed, I wouldn't be surprised if it comes out to be 100M decompressed in Java heap space causing your heap to be blown out. Are you sure there aren't any errors in your admin console? On Wed, Feb 3, 2010 at 4:46 PM, Alyona medel...@gmail.com wrote: Hi, I get a 500 Server error when running my app maui-indexer. It might have something to do with the timeout or the quota, when a relatively large zipped text file (~9M) is loaded into memory, which is required by my app. I had now problems uploading using eclipse and I can't see any specific info in the error logs on the dashboard. Could you please advise what I need to do to make it work? Cheers Alyona - Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@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] 500 Server Error adding records to Datastore
Hi, I'am new in Google App Engine, I've in my servlet this code: PersistenceManager pm = PMF.get().getPersistenceManager(); try { addRecord(pm,1010,BANCO DI NAPOLI S.P.A.); ... other 900 record } finally { pm.close(); } public void addRecord(PersistenceManager pm, String abi, String banca) { Banche banche = new Banche(abi,banca); pm.makePersistent(banche); } but executing servlet appear after 30 seconds 500 Server Error page. Can u help me, Thanks -- Antonio http://www.blia.it -- 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-j...@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] 500 Server Error with Spring 3.0 application
Just deployed a very simple Spring 3.0 application successfully. At least the deployment process was successfull, but when I navigate to it (http://footdex-www.appspot.com/) I get a 500 Server Error. The log files don't show anything useful, so I'm wondering what the next step would be to pinpoint the problem. Locally the apps works without a problem. Cheers, Marcel -- 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-j...@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.