[appengine-java] app-engine + gwt + JDO

2012-03-16 Thread andrew
Sounds like you may need a Log4j configuration file in your file structure 
(under war) and tell appengine where to find it - via a config file

Don't have the details at hand here right now, so try looking at gae docs on 
configuring logging and if no luck then let us know and we can try to help.

-- 
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/-/Yxiwnvqqh68J.
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: Intermittent Datastore query exception: com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException using task queues on a backend

2012-03-16 Thread Juna
There is a  maintenance downtime  scheduled for this Monday (M/S apps) 
which is related to this. I hope they will fix this then.

On Thursday, March 15, 2012 6:56:24 PM UTC+1, toonetown wrote:
>
> We are seeing this issue as well - lots of deadline exceeded errors.  See 
> the discussion at 
> https://groups.google.com/d/topic/google-appengine/nNoWv1uVqwo/discussionfor 
> a list of others that are having the same problem, and star the issue 
> at code.google.com/p/googleappengine/issues/detail?id=7133 to get 
> notifications from google (if they ever do anything about it...they don't 
> seem too eager to fix the issue.)
>
> -Nathan
>
> On Thursday, August 11, 2011 2:28:46 PM UTC-6, Miguel Angel De la Torre 
> Martínez wrote:
>>
>> Hello I been experiencing a load of problems executing queries in a task 
>> queue running on a backend.
>>
>> The log goes like this:
>>
>> Uncaught exception from servlet
>> com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API 
>> call datastore_v3.RunQuery() took too long to respond and was cancelled.
>>  at 
>> com.google.apphosting.runtime.ApiProxyImpl$3.createDeadlineException(ApiProxyImpl.java:277)
>>  at 
>> com.google.appengine.tools.development.TimedFuture.get(TimedFuture.java:44)
>>  at 
>> com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:64)
>>  at 
>> com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:67)
>>  at 
>> com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:67)
>>  at 
>> com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java:71)
>>  at 
>> com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java:32)
>>  at 
>> com.google.appengine.api.datastore.QueryResultsSourceImpl.loadMoreEntities(QueryResultsSourceImpl.java:84)
>>  at 
>> com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java:169)
>>  at 
>> com.google.appengine.api.datastore.QueryResultIteratorImpl.nextList(QueryResultIteratorImpl.java:115)
>>  at 
>> com.google.appengine.api.datastore.LazyList.forceResolveToIndex(LazyList.java:107)
>>  at 
>> com.google.appengine.api.datastore.LazyList.resolveToIndex(LazyList.java:83)
>>  at 
>> com.google.appengine.api.datastore.LazyList.resolveToIndex(LazyList.java:65)
>>  at 
>> com.google.appengine.api.datastore.LazyList.isEmpty(LazyList.java:296)
>>  at 
>> com.google.appengine.api.datastore.PreparedQueryImpl.asSingleEntity(PreparedQueryImpl.java:81)*
>>   at com.app.server.MyServlet.doGet(MyServlet.java:44)*   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:249)
>>  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:260)
>>  at 
>> com.google.apphosting.base.RuntimePb$EvaluationRuntime$2.handleRequest(RuntimePb.java:98

[appengine-java] Re: Unable to start embedded HTTP server

2012-03-16 Thread Ludovic Champenois
Please, upgrade to 1.6.3.1 that solves this issue with newer JDKs.

Ludo

On Wednesday, March 14, 2012 12:42:03 AM UTC-7, Fan Yang wrote:
>
> Hi,
>
> I installed the latest SDK 1.6.3 and now I am getting following error when 
> I run an example web app following the tutorial on the GAE official website:
>
> Initializing App Engine server
> Unable to start embedded HTTP server
> com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
> entries)
> at 
> com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:102)
> at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
> at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
> at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
> at com.google.gwt.dev.DevMode.main(DevMode.java:311)
>[ERROR] Unable to start App Engine server
> java.lang.RuntimeException: Unable to restore the previous TimeZone
> at 
> com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:228)
> at 
> com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:164)
> at 
> com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)
> at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
> at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
> at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
> at com.google.gwt.dev.DevMode.main(DevMode.java:311)
> Caused by: java.lang.NoSuchFieldException: defaultZoneTL
> at java.lang.Class.getDeclaredField(Unknown Source)
> at 
> com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:222)
> ... 6 more
> [ERROR] shell failed in doStartupServer method
>
> I tried creating new project but still gettting same error. 
>

-- 
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/-/Z-JtcukMesQJ.
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] Re: publishing html files

2012-03-16 Thread Jose Montes de Oca
You can find a sample code on how to use this Java API on 
the documentation here: 
http://code.google.com/appengine/docs/java/googlestorage/overview.html

Hope this helps!

-- 
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/-/lUkma-x2GjYJ.
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: Google app engine problem

2012-03-16 Thread Jose Montes de Oca
Are you making sure the version you are uploading is then marked as the 
default? this is likely you are uploading a new "non-default" version, 
which is not going to show when you go to your appid.appspot.com url.

Hope this helps!

On Thursday, March 15, 2012 3:28:55 AM UTC-7, kshitiz jaiswal wrote:
>
> i am making a new google app engine application but each time i am 
> running it on web-browser it is running the previously made google app 
> engine application on the web-browser,even after re-starting the 
> project its not working

-- 
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/-/UnxTxwDVpeYJ.
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.