[appengine-java] Re: [Question/Need Help] Uncaught exception from servlet

2010-07-29 Thread Xlorep DarkHelm
Thanks, I figured out the problem, when I compiled, there was a little
error in my GWT components, that was causing NetBeans to not correctly
build the app/get the libraries in place, so it caused a systemic
failure :P

On Jul 29, 8:38 am, Toby Reyelts to...@google.com wrote:
 Response inline.





 On Wed, Jul 28, 2010 at 7:21 PM, Xlorep DarkHelm ch...@darkhelm.org wrote:
  I just tried to deploy my app (showsort --http://showsort.appspot.com)
  with my new development version 3 (http://
  3.latest.showsort.appspot.com/) and it now is producing a strange
  error I've never seen before:

  Uncaught exception from servlet
  java.lang.NoClassDefFoundError: com/google/appengine/api/users/
  UserServiceFactory
         at
  org.darkhelm.showsort.server.servlets.MainServlet.doPost(MainServlet.java:
  55)
         at
  org.darkhelm.showsort.server.servlets.MainServlet.doGet(MainServlet.java:
  42)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
         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(ParseBlo 
  bUploadFilter.java:
  97)
         at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
         at

  com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF 
  ilter.java:
  35)
         at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
         at

  com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
  actionCleanupFilter.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(AppVersionH 
  andlerMap.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(RpcRequ 
  estParser.java:
  76)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
         at

  com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques 
  t(JettyServletEngineAdapter.java:
  135)
         at
  com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
  250)
         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:7115)
         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:7113)
         at

  com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingAp 
  plicationHandler.java:
  24)
         at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
  398)
         at com.google.net.rpc.impl.Server$2.run(Server.java:852)
         at
  com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
  56)
         at

  com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpa 
  nBuilder.java:
  576)
         at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
         at com.google.net.rpc.impl.Server.processRequest(Server.java:369)
         at

  com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.j 
  ava:
  442)
         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.j 
  ava:
  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.rpc.RpcService.runUntilServerShutdown(RpcService.java:
  251)
         at com.google.apphosting.runtime.JavaRuntime
  $RpcRunnable.run(JavaRuntime.java:417)
         at java.lang.Thread.run(Unknown Source

[appengine-java] [Question/Need Help] Uncaught exception from servlet

2010-07-28 Thread Xlorep DarkHelm
I just tried to deploy my app (showsort -- http://showsort.appspot.com)
with my new development version 3 (http://
3.latest.showsort.appspot.com/) and it now is producing a strange
error I've never seen before:

Uncaught exception from servlet
java.lang.NoClassDefFoundError: com/google/appengine/api/users/
UserServiceFactory
at
org.darkhelm.showsort.server.servlets.MainServlet.doPost(MainServlet.java:
55)
at
org.darkhelm.showsort.server.servlets.MainServlet.doGet(MainServlet.java:
42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
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:
250)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:7115)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:7113)
at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
398)
at com.google.net.rpc.impl.Server$2.run(Server.java:852)
at
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
56)
at
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
576)
at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
at com.google.net.rpc.impl.Server.processRequest(Server.java:369)
at
com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
442)
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.rpc.RpcService.runUntilServerShutdown(RpcService.java:
251)
at com.google.apphosting.runtime.JavaRuntime
$RpcRunnable.run(JavaRuntime.java:417)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
com.google.appengine.api.users.UserServiceFactory
at com.google.appengine.runtime.Request.process-
aa37c9b18955bc3e(Request.java)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 45 more

Unexpected exception from servlet: java.lang.NoClassDefFoundError: com/
google/appengine/api/users/UserServiceFactory

Now, I have done no changes, whatsoever, to the MainServlet servlet
the error stack starts from, and the main app, that uses the exact
same MainServlet code (version 

[appengine-java] Re: Servlet 3 support?

2010-07-28 Thread Xlorep DarkHelm
Consider it starred. This would be a very nice thing for them to get
working.

On Jul 28, 2:53 pm, Jeff Schnitzer j...@infohazard.org wrote:
 Please star this 
 issue:http://code.google.com/p/googleappengine/issues/detail?id=3091

 I'd be happy with just the annotation-based servlet configuration.
 Enough with the tedious xml already!

 Jeff



 On Wed, Jul 28, 2010 at 6:34 AM, Guillaume Laforge glafo...@gmail.com wrote:
  Hi all,

  I'm curious to know if/when Google App Engine is going to migrate to 
  Servlet 3?

  Things like web fragments are pretty interesting for framework
  developers, as users don't need to specify too much in their web.xml.

  --
  Guillaume Laforge
  Groovy Project Manager
  Head of Groovy Development at SpringSource
 http://www.springsource.com/g2one

  --
  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 
  athttp://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] Re: db error on 2010: Persistent class Class guestbook.Greeting does not seem to have been enhanced.

2010-01-04 Thread Xlorep DarkHelm
If you are using Eclipse, this can typically be fixed by making a
small change to one of your JDO enhanced classes (like, hit space and
then delete the space), save the file, and try re-sending the app to
Google. I know it sounds strange (you effectively are not doing
anything to the actual file in the end), but it works.

On Jan 4, 11:41 am, John Lin john...@google.com wrote:
 Dear Sir,

 I got this db error on th efirst working day of 2010.  Please see the
 erros in details.  I run theis as an wev application and lunch the GUI
 as:http://localhost:8080/index.html

 It seems the db has some changes recently.

 Please advise me.  Thanks.

 John

 errors
 HTTP ERROR: 500

 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.

 RequestURI=/
 Caused by:

 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.guestbookujsp_jsp._jspService
 (guestbookujsp_jsp.java:94)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
         at org.apache.jasper.servlet.JspServletWrapper.service
 (JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile
 (JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at com.google.appengine.tools.development.PrivilegedJspServlet.access
 $101(PrivilegedJspServlet.java:23)
         at com.google.appengine.tools.development.PrivilegedJspServlet$2.run
 (PrivilegedJspServlet.java:59)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.google.appengine.tools.development.PrivilegedJspServlet.service
 (PrivilegedJspServlet.java:57)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
 487)
         at org.mortbay.jetty.servlet.ServletHandler.handle
 (ServletHandler.java:362)
         at org.mortbay.jetty.security.SecurityHandler.handle
 (SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle
 (SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle
 (ContextHandler.java:712)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 405)
         at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
 (DevAppEngineWebAppContext.java:54)
         at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:268)
         at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
         at
 com.google.appengine.tools.development.StaticFileUtils.serveWelcomeFileAsFo 
 rward
 (StaticFileUtils.java:80)
         at
 com.google.appengine.tools.development.LocalResourceFileServlet.maybeServeW 
 elcomeFile
 (LocalResourceFileServlet.java:254)
         at
 com.google.appengine.tools.development.LocalResourceFileServlet.doGet
 (LocalResourceFileServlet.java:120)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
 487)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
 (ServletHandler.java:1093)
         at
 com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
 (TransactionCleanupFilter.java:43)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
 (ServletHandler.java:1084)
         at com.google.appengine.tools.development.StaticFileFilter.doFilter
 (StaticFileFilter.java:121)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
 (ServletHandler.java:1084)
         at org.mortbay.jetty.servlet.ServletHandler.handle
 (ServletHandler.java:360)
         at org.mortbay.jetty.security.SecurityHandler.handle
 (SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle
 (SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle
 (ContextHandler.java:712)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 405)
         at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
 (DevAppEngineWebAppContext.java:54)
         at 

[appengine-java] Task Queues... errors...

2010-01-04 Thread Xlorep DarkHelm
Hello, I'm getting an error when I try and upload my app (xdh-
playlist):



com.google.appengine.tools.admin.AdminException: Unable to update app:
Error posting to URL: 
http://appengine.google.com/api/queue/update?app_id=xdh-playlistversion=1;
500 Internal Server Error

Server Error (500)
A server error has occurred.

at com.google.appengine.tools.admin.AppAdminImpl.update
(AppAdminImpl.java:62)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
(AppEngineBridgeImpl.java:271)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: Error posting to URL:
http://appengine.google.com/api/queue/update?app_id=xdh-playlistversion=1;
500 Internal Server Error

Server Error (500)
A server error has occurred.

at com.google.appengine.tools.admin.ServerConnection.send
(ServerConnection.java:143)
at com.google.appengine.tools.admin.ServerConnection.post
(ServerConnection.java:81)
at com.google.appengine.tools.admin.AppVersionUpload.send
(AppVersionUpload.java:522)
at com.google.appengine.tools.admin.AppVersionUpload.updateQueue
(AppVersionUpload.java:255)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload
(AppVersionUpload.java:134)
at com.google.appengine.tools.admin.AppAdminImpl.update
(AppAdminImpl.java:56)
... 4 more






I'm using Eclipse Galileo, App Engine SDK 1.3.0, Java 1.6. This is
annoying, because it just suddenly started happening, and the queue
file had loaded before. Anyone else having this issue? Or better yet,
could help me with getting this taken care of?

Here is my queue.xml file, for reference:

?xml version=1.0 encoding=UTF-8?
queue-entries
  queue
nameload/name
rate1/s/rate
bucket-size1/bucket-size
  /queue

  queue
nameclean/name
rate1/s/rate
bucket-size1/bucket-size
  /queue

  queue
nameprocess/name
rate2/s/rate
bucket-size2/bucket-size
  /queue

  queue
namefinalize/name
rate1/s/rate
bucket-size1/bucket-size
  /queue

  queue
namemakelist/name
rate1/s/rate
bucket-size1/bucket-size
  /queue

  queue
namesendlist/name
rate1/s/rate
bucket-size1/bucket-size
  /queue
/queue-entries

--

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] Re: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

Well, my primary servlet that loads data from the datastore still
breaks, and spits out a 500 Server Error when I run it manually:

http://showsort.appspot.com/showsort/list

If it works, it shouldn't show anything at all, because it is a GWT-
RPC driven servlet.

http://showsort.appspot.com

There are 2 things which have async calls run. First is a graphic
update which draws a black line (IE still doesn't work for this...
other browsers do though). Second is a list of sorting algorithms,
retrieved from the datastore, which appears above the Start button on
the screen. This never happens, because I'm getting a 500 Server Error
consistently whenever it attempts to be run.

I've re-uploaded my app on the off chance that it was a bad update or
something last time, and no change. It makes my app, well, completely
useless if I can't access the datastore at all...

On Sep 4, 7:25 am, sandlex aspes...@gmail.com wrote:
 I played with my application today and there was no any problems with 
 datastore.

--~--~-~--~~~---~--~~
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: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

Application ID is showsort.

I can't provide stacktraces for the error, because I'm getting no
stacktraces. It isn't even showing up in the logs as a problem. I'm
seeing a 500 error, where there used to not be a 500 error. I've not
modified the code for my list servlet in several days, but this is now
not working, and hasn't been since yesterday, and it appears to be the
same problem it had a couple days ago during the short window.

On Sep 4, 8:31 am, Toby Reyelts to...@google.com wrote:
 Cliff,
 We're not aware of any datastore problems. As Matthew posted two days ago,
 there was a short window where changes were introduced that may have caused
 some problems for some applications, so we rolled them back in short order.
 If after further investigation you still believe these are App Engine
 problems, please provide us with more information such as stacktraces and
 your application id. You can always check our status
 sitehttp://code.google.com/status/appengine/to see if it appears
 that App Engine is having problems in general.

 On Fri, Sep 4, 2009 at 10:21 AM, Cliff Hill ch...@darkhelm.org wrote:
  Still unable to do datastore gets. Well, for about 3 hours yesterday, it
  worked, and then it stopped. And it is still stopped as of this morning. Any
  chance that I'll be able to use my datastore code sometime in the near
  future? My app really kinda relies on the datastore to, well, work.

  On Thu, Sep 3, 2009 at 5:34 AM, Traveler1980 jshar...@gmail.com wrote:

  Datastore GET error rate is still 100%.  Any ETA on when this will be
  resolved?

  Regards,
  JS

  On Sep 3, 3:41 am, Hani Naguib haninag...@gmail.com wrote:
   I am also getting many error 500 pages.
   This is happening since the issue I mentioned here:
 http://groups.google.com/group/google-appengine-java/browse_thread/th...

  --
  I'm not responcabel fer my computer's spleling errnors - Xlorep DarkHelm
  Website:http://darkhelm.org
--~--~-~--~~~---~--~~
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: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

I just re-uploaded my app, with logging enabled for my servlet again,
so I can see the progress it has when/if it runs. However I'm seeing
that someone has been testing other things as well... I'm also seeing
a 500 Server Error on the main app now.

On Sep 4, 8:42 am, Xlorep DarkHelm ch...@darkhelm.org wrote:
 Application ID is showsort.

 I can't provide stacktraces for the error, because I'm getting no
 stacktraces. It isn't even showing up in the logs as a problem. I'm
 seeing a 500 error, where there used to not be a 500 error. I've not
 modified the code for my list servlet in several days, but this is now
 not working, and hasn't been since yesterday, and it appears to be the
 same problem it had a couple days ago during the short window.

--~--~-~--~~~---~--~~
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: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

Ok, I added in logging directly to the servlet facade I have which
wraps my Jython servlet to make it work on Google Apps Engine, and I'm
not even getting that to show up in the logs. Here's what my last
request produced (when I show requests only):

#

   1.
  09-04 11:08AM 17.783 /showsort/list 500 42787ms 131cpu_ms
131api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip(gfe)
  See details

  207.166.99.104 - - [04/Sep/2009:11:09:00 -0700] POST /showsort/
list HTTP/1.1 500 0 http://showsort.appspot.com/showsort/
0C52346D6CD87DD73B3C69C32B528FB5.cache.html Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip
(gfe)



This is from the GWT-RPC request, just before it, everything is
working perfectly fine for my /showsort/display servlet:

#

   1.
  09-04 11:08AM 17.781 /showsort/display 200 5576ms 9100cpu_ms 1kb
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/
20090729 Firefox/3.5.2,gzip(gfe)
  See details

  207.166.99.104 - - [04/Sep/2009:11:08:23 -0700] POST /showsort/
display HTTP/1.1 200 1346 http://showsort.appspot.com/showsort/
0C52346D6CD87DD73B3C69C32B528FB5.cache.html Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip
(gfe) showsort.appspot.com

   2.
  D 09-04 11:08AM 20.932

  DisplayServlet start: [ENTER]

   3.
  D 09-04 11:08AM 21.264

  DisplayServlet start: [LEVEL 1] Client ID =
e9d1b50f-997d-11de-86aa-bb87edc68d5c

   4.
  D 09-04 11:08AM 21.811

  DisplayServlet run: [LEVEL 1] Starting step: Initialize.

   5.
  I 09-04 11:08AM 22.263

  DisplayServlet run: Time to process Initialize: 0.00799989700317

   6.
  I 09-04 11:08AM 22.617

  DisplayServlet start: Number of updates returned: 102

   7.
  D 09-04 11:08AM 23.032

  DisplayServlet start: [EXIT]


And then I have the requests for the various resources the page
initially requests, and the original main servlet at / shows this:

#

   1.
  09-04 11:07AM 58.906 / 200 17476ms 29205cpu_ms 0kb Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/
3.5.2,gzip(gfe)
  See details

  207.166.99.104 - - [04/Sep/2009:11:08:16 -0700] GET / HTTP/1.1
200 703 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2)
Gecko/20090729 Firefox/3.5.2,gzip(gfe) showsort.appspot.com

   2.
  W 09-04 11:08AM 01.891

  [showsort/1.336104640234288137].stderr: *sys-package-mgr*: The
java security manager isn't allowing access to the package cache dir,
'cachedir/packages'




Which is fine. Now, I've checked my web.xml file, and it seems to be
correct, I've checked the Service interface in my GWT code and it is
pointing to the correct path to access the servlet, and I've rechecked
my code that calls the GWT-RPC servlet, and the servlet (and servlet
facade), it all is fine.

There just doesn't seem to be any connection going on here.

Now, I *know* that going to a GWT-RPC servlet RemoteServlet doesn't
work... but I'm getting 2 different kinds of responses, depending on
my servlet.

If I go to: http://showsort.appspot.com/showsort/display -- in Mozilla
Firefox, I get a blank page. I expect this, as it doesn't have a GET
or POST interface, and that's fine.

If I go to: http://showsort.appspot.com/showsort/list -- in Mozilla
Firefox, I get a 500 Server Error page. This is strange to me, and
unexpected.

The main fundamental difference between the two is that the list
servlet requires datastore functionality, the display servlet only
does when called upon to generate a full set of display updates for a
selected sorting algorithm... only possible if I get the list of
available sorting algorithms from the list servlet, which isn't
happening.



On Sep 4, 10:48 am, Xlorep DarkHelm ch...@darkhelm.org wrote:
 I can see the requests being made when I look at the logs for when the
 app runs. So there definitely are requests for /showsort/list being
 called, by my app. This is an automatic call, which has been working
 fine up until 2 days ago. Coincidentally about the same time that the
 updates previously mentioned which had to be rolled back were done.

--~--~-~--~~~---~--~~
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: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

Oh, I also have seen these occasionally for the past 2 days, suddenly:

#

   1.
  09-04 10:37AM 58.844 /showsort/list 500 10129ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0
(KHTML, like Gecko) Chrome/3.0.195.6 Safari/532.0,gzip(gfe)
  See details

  207.166.99.104 - - [04/Sep/2009:10:38:08 -0700] POST /showsort/
list HTTP/1.1 500 0 http://showsort.appspot.com/showsort/
099466D0895E48EB4E5CF7AD38C5FA29.cache.html Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/
3.0.195.6 Safari/532.0,gzip(gfe) showsort.appspot.com

   2.
  W 09-04 10:38AM 08.974

  Request was aborted after waiting too long to attempt to service
your request. Most likely, this indicates that you have reached your
simultaneous active request limit. This is almost always due to
excessively high latency in your app. Please see
http://code.google.com/appengine/docs/quotas.html for more details.



But they are extremely sporadic when/if they appear. I have 2 (just 2)
servlets which may be called simultaneously. The list one
automatically re-sends to check for an update every 10 minutes, while
the display one is called when someone presses the send button (and
only if there actually is a list of radio buttons to pick from,
retrieved from the list servlet). I think it is peculiar that
something as simple as my little app could have overwhelmed my quota.
Especially as my Quota page completely disagrees and shows I'm well
under my quota in all regards.

My app's latency isn't too high, I've minimized it to where it
generally has about 3 - 4 seconds at most (I think the list might take
6, but I'm planning on working on that). There was a point that the
display servlet was taking incredibly long, but I've made massive
headway on reducing that. So I'm shocked, completely, if my quota
somehow was exceeded, especially as I don't see any evidence of 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-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: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

I set up a doGet method on my list servlet, which should just display
the list of algorithm names that is retrieved from the datastore.
There are 13 items in the list, not much.

http://showsort.appspot.com/showsort/list

This way, you don't need to use the rest of the app to see this.

I'm getting a 500 Server Error. There has been two times that I have
gotten more than just the initial request line logged in the Admin
Panel's logs. Both times, it halts on the step where it is trying to
read from the DataStore. My code to do that worked just fine before
the 1.2.5 change 2 days ago. Now it seems to be hanging and getting a
hard deadline limit error produced:

09-04 01:55PM 50.733

/showsort/list
com.google.apphosting.api.DeadlineExceededException: This request
(8d11090a3c971760) started at 2009/09/04 20:55:22.204 UTC and was
still executing at 2009/09/04 20:55:50.718 UTC.
at org.python.core.PyException.tracebackHere(PyException.java:155)
at org.python.core.PyException.tracebackHere(PyException.java:145)
at org.python.core.PyTableCode.call(PyTableCode.java:169)
at org.python.core.PyBaseCode.call(PyBaseCode.java:297)
at org.python.core.PyBaseCode.call(PyBaseCode.java:191)
at org.python.core.PyFunction.__call__(PyFunction.java:385)
at org.python.core.PyMethod.__call__(PyMethod.java:215)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:
221)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.PyObject.__call__(PyObject.java:367)
at org.python.core.PyObject._jcallexc(PyObject.java:3504)
at org.python.core.PyObject._jcall(PyObject.java:3536)
at org.python.proxies.os$PythonPOSIXHandler$0.error(Unknown Source)
at org.python.posix.JavaLibCHelper.stat(JavaLibCHelper.java:172)
at org.python.posix.JavaPOSIX.stat(JavaPOSIX.java:172)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_
$3.run(Method_.java:164)
at java.security.AccessController.doPrivileged(Native Method)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.privilegedInvoke
(Method_.java:162)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.invoke_
(Method_.java:131)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.invoke
(Method_.java:40)
at org.python.core.PyReflectedFunction.__call__
(PyReflectedFunction.java:175)
at org.python.core.PyObject.__call__(PyObject.java:355)
at org.python.core.PyMethod.__call__(PyMethod.java:215)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:
221)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.PyObject.__call__(PyObject.java:397)
at org.python.core.PyObject.__call__(PyObject.java:401)
at os$py.stat$38(/base/data/home/apps/showsort/1.336107385381934633/
WEB-INF/lib-python/Lib.zip/os.py:497)
at os$py.call_function(/base/data/home/apps/showsort/
1.336107385381934633/WEB-INF/lib-python/Lib.zip/os.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:131)
at org.python.core.PyFunction.__call__(PyFunction.java:317)
at linecache$py.updatecache$5(/base/data/home/apps/showsort/
1.336107385381934633/WEB-INF/lib-python/Lib.zip/linecache.py:136)
at linecache$py.call_function(/base/data/home/apps/showsort/
1.336107385381934633/WEB-INF/lib-python/Lib.zip/linecache.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:146)
at org.python.core.PyFunction.__call__(PyFunction.java:327)
at linecache$py.getlines$3(/base/data/home/apps/showsort/
1.336107385381934633/WEB-INF/lib-python/Lib.zip/linecache.py:40)
at linecache$py.call_function(/base/data/home/apps/showsort/
1.336107385381934633/WEB-INF/lib-python/Lib.zip/linecache.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:146)
at org.python.core.PyFunction.__call__(PyFunction.java:327)
at inspect$py.findsource$30(/base/data/home/apps/showsort/
1.336107385381934633/WEB-INF/lib-python/Lib.zip/inspect.py:522)
at inspect$py.call_function(/base/data/home/apps/showsort/
1.336107385381934633/WEB-INF/lib-python/Lib.zip/inspect.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:131)
at org.python.core.PyFunction.__call__(PyFunction.java:317)
at 

[appengine-java] Re: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

Request deadline? I've not been exceeding any request deadline. I'm
getting this a lot now:

#

   1.
  09-04 12:01PM 00.892 /showsort/list-- 500 10455ms 0cpu_ms 0kb
Mozilla/5.0 (en-us) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1
Safari/525.13,gzip(gfe)
  See details

  72.14.192.66 - - [04/Sep/2009:12:01:11 -0700] GET /showsort/
list-- HTTP/1.1 500 0 - Mozilla/5.0 (en-us) AppleWebKit/525.13
(KHTML, like Gecko) Version/3.1 Safari/525.13,gzip(gfe)
showsort.appspot.com

   2.
  W 09-04 12:01PM 11.348

  Request was aborted after waiting too long to attempt to service
your request. Most likely, this indicates that you have reached your
simultaneous active request limit. This is almost always due to
excessively high latency in your app. Please see
http://code.google.com/appengine/docs/quotas.html for more details.


---

the problem with this is when I check my Quota page, I'm way, WAY
below my limit. There are only two things that show any sign of being
used by the quotas:

CPU Time4%  0.27 of 6.50 CPU hours  Okay

Deployments 2%  6 of 250Okay

Everything else is at 0%.

My requests are:

Requests0%  201 of 128  Okay


If I've reached my simultaneous active request limit, somehow...
where would I even be able to see that? I'm thinking that's a false
alarm. Especially as my app really is not that taxing, at all. The
vast majority of the processing for it (the graphics/UI processing) is
done through GWT on the client side.


On Sep 4, 11:57 am, Toby Reyelts to...@google.com wrote:
 Unfortunately, when you exceed the request deadline, you can lose your logs
 for that request. I would suggest paring your RPC down to the very bare
 minimum, so that you're not exceeding the deadline, then adding in logic and
 logging timings as you go. You should then be able to narrow things down to
 the slow operations which are causing you problems.

--~--~-~--~~~---~--~~
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: GAE down? Response Error 500

2009-09-04 Thread Xlorep DarkHelm

When uploading a new version, with a few more levels of debugging
enabled:


Compiling module org.darkhelm.showsort.ShowSort
   Compiling 6 permutations
  Permutation compile succeeded
   Linking into F:\Documents\Eclipse\workspace\ShowSort\war
  Link succeeded
   Compilation succeeded -- 95.312s
Creating staging directory
Scanning for jsp files.
Compiling jsp files.
Compiling java files.
Scanning files on local disk.
Initiating update.
Cloning 31 static files.
Cloning 116 application files.
Cloned 100 files.
Uploading 3 files.
Uploaded 1 files.
Uploaded 2 files.
Uploaded 3 files.
Deploying new version.
Rolling back the update.
java.io.IOException: Error posting to URL:
http://appengine.google.com/api/appversion/deploy?app_id=showsortversion=1;
500 Internal Server Error

Server Error (500)
A server error has occurred.


Debugging information may be found in F:\Documents\Eclipse\temp
\appengine-deploy8021509217612458213.log

Contents of that file:

Unable to upload:
java.io.IOException: Error posting to URL:
http://appengine.google.com/api/appversion/deploy?app_id=showsortversion=1;
500 Internal Server Error

Server Error (500)
A server error has occurred.

at com.google.appengine.tools.admin.ServerConnection.send
(ServerConnection.java:143)
at com.google.appengine.tools.admin.ServerConnection.post
(ServerConnection.java:81)
at com.google.appengine.tools.admin.AppVersionUpload.send
(AppVersionUpload.java:429)
at com.google.appengine.tools.admin.AppVersionUpload.deploy
(AppVersionUpload.java:388)
at com.google.appengine.tools.admin.AppVersionUpload.commit
(AppVersionUpload.java:351)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload
(AppVersionUpload.java:111)
at com.google.appengine.tools.admin.AppAdminImpl.update
(AppAdminImpl.java:53)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
(AppEngineBridgeImpl.java:271)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

--~--~-~--~~~---~--~~
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: GAE down? Response Error 500

2009-09-02 Thread Xlorep DarkHelm

I should note:

http://showsort.appspot.com

There should be 2 things that happen, a line drawn down the middle of
a big square, and a set of radio buttons are loaded. Only the line is
drawn.

On Sep 2, 4:47 pm, Xlorep DarkHelm ch...@darkhelm.org wrote:
 yeah, noticing a lot of weirdness as of a few minutes ago. My app
 kinda works, but kinda doesn't. Components I haven't touched are now
 failing consistently.

 On Sep 2, 4:44 pm, Alexander Orlov alexander.or...@loxal.net wrote:

  Ok,http://2.latest.xy.appspot.com/worksbut ALL myhttp://wentity.appspot.com/
  instances are down an won't come up :( Re-uploading the application
  don't solve this problem. I get a permanent Response Error 500.

  Application dead lock?
  Help!

  On Sep 3, 1:37 am, Alexander Orlov alexander.or...@loxal.net wrote:

  http://1.latest.xy.appspot.com/http://4.latest.wentity.appspot.com/

   ...all my Java apps are down (Response Error 500). I know that my xy
   app should work as haven't change 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-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: On deployment error

2009-08-18 Thread Xlorep DarkHelm

I also am having this problem. I'm thinking there must be something
happening on Google's end of things...

On Aug 18, 9:53 am, ak jania...@gmail.com wrote:
 Hello,

 I'm unable to deploy my application. Error log says 500 Internal
 Server Error. Here's full stacktrace:

 Unable to upload:
 java.io.IOException: Error posting to 
 URL:http://appengine.google.com/api/appversion/create?app_id=cogitokiver...
 500 Internal Server Error

 Server Error (500)
 A server error has occurred.

         at com.google.appengine.tools.admin.ServerConnection.send
 (ServerConnection.java:143)
         at com.google.appengine.tools.admin.ServerConnection.post
 (ServerConnection.java:81)
         at com.google.appengine.tools.admin.AppVersionUpload.send
 (AppVersionUpload.java:415)
         at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction
 (AppVersionUpload.java:229)
         at com.google.appengine.tools.admin.AppVersionUpload.doUpload
 (AppVersionUpload.java:98)
         at com.google.appengine.tools.admin.AppAdminImpl.update
 (AppAdminImpl.java:53)
         at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
 (AppEngineBridgeImpl.java:271)
         at
 com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
 (DeployProjectJob.java:148)
         at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
 (InternalWorkspaceJob.java:38)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 Please help. Thank you.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---