[appengine-java] Re: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Peter Ondruska
Go to Google Apps domain control panel a remove www mapping to your
GAE application and add it again.

On Oct 16, 5:13 am, Aditya Yadav aditya.ya...@gmail.com wrote:
 I purchased a domain alishascardwall.com for my appid: alishascardwall
 and removed Sites and enabled www mapping for my appid. While
 alishascardwall.appspot.com works fine alishascardwall.com gives a
 Forbidden 403 error. I've created 2 other domains for my other apps and
 I have followed the same steps exactly.

 The system doesn't allow me to remove the www mapping or remove the GAE
 service from my account. So I think something got corrupted in the
 process. Need some help getting this working.

-- 
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: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Aditya Yadav
Peter,


Thanks for the reply.


I have already tried that before posting. I went into Google Apps and
tried removing the www mapping which it didn't let me. I click and
nothing happens. I tried disabling the service. That doesn't work too,
nothing happens.


Thats why I concluded that something got corrupted somehow. And I'm
unable to do anything to fix it.


Aditya

-- 
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] protobuf storage with JDO

2010-10-16 Thread Guillaume B.
Thanks for your answer I think about something like that but I was
wondering about performance
because the idea is to manipulate a lot of small objects

the serialisation step must be done more times
1- between datastrore and anoted object
2- my object and the protobuf ( in your sample it is automatic and
transparent but I suppose it take some time)

so I was wondering how to manage this in the fastest way possible
in my mind
- I have a protobuf object (so the best would be to store the builder
with set/get)
I store it and destore it very fasy without the need of creating
filling an intermediary object

perhaps this is an useless question and the best way to do would take
me a lot of time for just a small performance gain

Regards

-- 
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: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Peter Ondruska
What does nslookup tell about your DNS name:

nslookup -q=cname www.kaibo.eu.

(replace kaibo.eu with your domain name)

On Oct 16, 8:37 am, Aditya Yadav aditya.ya...@gmail.com wrote:
 Peter,

 Thanks for the reply.

 I have already tried that before posting. I went into Google Apps and
 tried removing the www mapping which it didn't let me. I click and
 nothing happens. I tried disabling the service. That doesn't work too,
 nothing happens.

 Thats why I concluded that something got corrupted somehow. And I'm
 unable to do anything to fix it.

 Aditya

-- 
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] javax.mail.Transport.send() API throws ApiDeadlineExceededException but emails are sent

2010-10-16 Thread Lior Harsat
Hi Ikai,


Sure, I can follow the other thread. can you please send me a link to
it?


Thanx, Lior

-- 
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: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Aditya Yadav
C:\Documents and Settings\adityayadav76nslookup -q=cname
www.alishascardwall.co
m
*** Can't find server name for address 192.168.1.1: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.1.1


Non-authoritative answer:
www.alishascardwall.com canonical name = ghs.google.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.



Re: [appengine-java] [SOLVED] Re: Strange exception with my app

2010-10-16 Thread Maxim Veksler
I would very much appreciate if Google would make the effort to release the
Dev SDK a week before pushing it into production service. For all I care,
mark it a backwards comparability check release, and then after a week
release another one that actually allows pushing new versions with this SDK
the are possibly using the new API that were added in this release.

All to make sure our application does not get hit by these corner cases.

For us, have 5 min of downtime carries huge consequences.


Maxim.

On Fri, Oct 15, 2010 at 10:44 AM, nicanor.babula
nicanor.bab...@gmail.comwrote:

 Solved. Looks like appengine sandbox banned sun.dc.* classes too.
 Changed the namespace and now it's up and running.

 On 14 Ott, 18:07, nicanor.babula nicanor.bab...@gmail.com wrote:
  Hi google appengine team,
 
  Since today, I have been getting continuously the exception reported
  below. Yesterday I am not sure, but the day before yesterday it worked
  for sure. I have more apps that use the same library and all of them
  keep throwing the same exception. You can reproduce it uploading this
  xsl file:http://www.4shared.com/file/uefUC7KX/simple.html
  on this servlet:http://almaoffice0.appspot.com/testPDF.jsp
  app id:
  almaoffice0 and domodentweb.
 
  In the development server, everything works fine (just like before).
 
  I need information about the issue pretty fast because the second app
  is a production one and I need to know what decision to take.
 
  Thanks in advance.
 
  Uncaught exception from servlet
  java.lang.NoClassDefFoundError: sun/dc/path/PathException
  at
  org.apache.xmlgraphics.java2d.GraphicContext.init(GraphicContext.java:
  93)
  at
 
 org.apache.fop.render.intermediate.IFGraphicContext.init(IFGraphicContext
 .java:
  42)
  at
  org.apache.fop.render.intermediate.IFRenderer.init(IFRenderer.java:
  127)
  at
 
 org.apache.fop.render.RendererFactory.createRendererForDocumentHandler(Rend
 ererFactory.java:
  313)
  at
 
 org.apache.fop.render.RendererFactory.tryIFDocumentHandlerMaker(RendererFac
 tory.java:
  290)
  at
 
 org.apache.fop.render.RendererFactory.createRenderer(RendererFactory.java:
  270)
  at
 org.apache.fop.area.RenderPagesModel.init(RenderPagesModel.java:
  69)
  at
  org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:
  130)
  at
 org.apache.fop.area.AreaTreeHandler.init(AreaTreeHandler.java:
  102)
  at
 
 org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.
 java:
  359)
  at org.apache.fop.fo.FOTreeBuilder.init(FOTreeBuilder.java:105)
  at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100)
  at org.apache.fop.apps.Fop.init(Fop.java:78)
  at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:254)
  at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:231)
  at
 
 cri.domodentweb.server.servlets.GenUserCalendarMemoPDF.doGet(GenUserCalenda
 rMemoPDF.java:
  166)
  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
 
 

Re: [appengine-java] OpenID Development server

2010-10-16 Thread Fabrizio Accatino
I also noticed different urls generated by  userService.createLoginURL
String loginUrl = userService.createLoginURL(continueURL, null, providerUrl,
attributes);

On GAE I get URLs like this one:
http://myapp.appspot.com/_ah/login_redir?claimid=myopenid.comcontinue=http://myapp.appspot.com/myurl
It works fine. I can login with openID.

On local development server I get:
http://localhost:/_ah/login?continue=myurl
And this does not work. :(

The question remains the same: is OpenID supported by local Development
server?
Google guys, please, give me an hint...


  fabrizio



On Thu, Oct 7, 2010 at 10:46 AM, Fabrizio fht...@gmail.com wrote:

 Hello, I'm testing OpenID (SDK 1.3.7).  My env is: Eclipse + GAE Plugin.
 Question: is OpenID supported by local development server?

 I have a protected area. I force users to login with:


 security-constraint

 web-resource-collection

 url-pattern/protected/*/url-pattern

 /web-resource-collection

 auth-constraint

 role-name*/role-name

 /auth-constraint

 /security-constraint

 When I try to access the protected area from production I get correctly
 redirect to:

 http://MYAPP.appspot.com/_ah/login_required?continue=http://MYAPP.appspot.com/protected/

 But on local development server I get:
 http://localhost:/_ah/login?continue=http://localhost:/protected/


 Why?

  fabrizio




  --
 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] Delete using low-level API

2010-10-16 Thread Doug
Good Morning,


If I have the key and/or ID/name of a datastore object how can I delete
it using the low-level API? I have looked though the java doc, but have
not been able to find a delete method.


Thanks,
Doug

-- 
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: Delete using low-level API

2010-10-16 Thread Doug
I think I found it. the delete method is in DatastoreService.


Doug

-- 
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: How to get rid of a hanging mapreduce job?

2010-10-16 Thread burnayev
Mapper API for Java. Used 
http://ikaisays.com/2010/07/09/using-the-java-mapper-framework-for-app-engine/
as a starting point.

On Oct 15, 5:45 pm, Guillermo Schwarz guillermo.schw...@gmail.com
wrote:
 Which map reduce library are you using?

 Saludos,
 Guillermo Schwarz.

 El 15-10-2010, a las 18:44, burnayev burna...@gmail.com escribió:

  Here's the scoop...

  One of my first mapreduce jobs didn't want to complete by itself. It
  did not want to abort either. To get rid of the sucker I deployed a
  new application version and deleted the one the job was running
  against. I also manually deleted all the residual state mapreduce
  created in the datastore. That seemed to kill most of it. However now,
  5 days later, there are still two artifacts - mapperCallback and
  controllerCallback - that disturb my serenity (and keep sucking the
  juice) by popping up every hour or so. Obviously they are looking for
  a job that exists no more and fail miserably with a stack trace
  similar to below.

  Is there a way to make them go away?

  java.lang.RuntimeException: Couldn't find MR with job ID:
  job_1286643750234_0001
     at
  com.google.appengine.tools.mapreduce.AppEngineJobContext.getConfigurationFromRequest(
  AppEngineJobContext.java:
  157)
     at
  com.google.appengine.tools.mapreduce.AppEngineJobContext.init
  (AppEngineJobContext.java:
  110)
     at
  com.google.appengine.tools.mapreduce.MapReduceServlet.handleController(
  MapReduceServlet.java:
  507)
     at
  com.google.appengine.tools.mapreduce.MapReduceServlet.doPost
  (MapReduceServlet.java:
  222)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
     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:
  261)
     at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:8483)
     at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:8481)
     at
  com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
  (BlockingApplicationHandler.java:
  24)
     at com.google.net.rpc.impl.RpcUtil.runRpcInApplication
  (RpcUtil.java:
  418)
     at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
  572)
     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
  

[appengine-java] Re: Newly deployed app doesn’t se em always reflected on the server.

2010-10-16 Thread Benjamin
are you changing the version number? You'd need to go to the console
and change the version that's being served.

Maybe you're caching behind a proxy or viewing a cached version on
your end? try loading the url in a browser and hit F5



On Oct 15, 4:21 pm, nnhobbit nnclou...@gmail.com wrote:
 I deployed an app, in which an URL was originally serving simply a
 “hello”. Later I changed the content served from that URL to something
 else and deployed it again. However the new content did not show up
 and the page still showed the original “hello”.

 Another (possibly related) issue I'm experiencing is that an URL that
 was removed from my code remained accessible for about a day or so
 after the new code was deployed. (The issue could be either from the
 delayed deployment or some sort of cache?)

 p.s. everything is working as expected on devel environment.
 p.s. admin console shows successful deployment.

 Anyone encountered similar issues? Any suggestions?

 Thanks

-- 
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] protobuf storage with JDO

2010-10-16 Thread Jeff Schnitzer
On Fri, Oct 15, 2010 at 11:44 PM, Guillaume B.
guillaume.brus...@gmail.com wrote:

 perhaps this is an useless question and the best way to do would take me a
 lot of time for just a small performance gain

I think this is your answer right here.  Don't optimize prematurely -
build your app as quickly as possible and then find out where the real
bottlenecks are with appstats.

Jeff

-- 
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: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Peter Ondruska
I presume you do not have anything in your application logs (error
403), do you?

On Oct 16, 10:30 am, Aditya Yadav aditya.ya...@gmail.com wrote:
 C:\Documents and Settings\adityayadav76nslookup 
 -q=cnamewww.alishascardwall.co
 m
 *** Can't find server name for address 192.168.1.1: Non-existent domain
 *** Default servers are not available
 Server: UnKnown
 Address: 192.168.1.1

 Non-authoritative answer:www.alishascardwall.comcanonical name = 
 ghs.google.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] Re: ERROR IN THE EXAMPLE

2010-10-16 Thread cecelthejavaman
UP!!!

On Oct 12, 11:30 pm, cecelthejavaman cecelthejava...@gmail.com
wrote:
 Good night!

 I'm following the example of the GETTING START for Appengine with Java
 and I meet a problem:
 This jsp don't compile:
 
 %@ page contentType=text/html;charset=UTF-8 language=java %
 %@ page import=com.google.appengine.api.users.User %
 %@ page import=com.google.appengine.api.users.UserService %
 %@ page import=com.google.appengine.api.users.UserServiceFactory %

 html
   body

 %
     UserService userService = UserServiceFactory.getUserService();
     User user = userService.getCurrentUser();
     if (user != null) {
 %
 pHello, %= user.getNickname() %! (You can
 a href=%= userService.createLogoutURL(request.getRequestURI())
 %sign out/a.)/p
 %
     } else {
 %
 pHello!
 a href=%= userService.createLoginURL(request.getRequestURI())
 %Sign in/a
 to include your name with greetings you post./p
 %
     }
 %

   /body
 /html
 ___

 What I can making mistake?
 Until here I'm compile all right, but when I put the jsp for load, it
 don't compile.
 Regards!!

 MARCELO ANTONIO PEREIRA+55 12 8144 
 6111begin_of_the_skype_highlighting  +55 12 8144 
 6111  end_of_the_skype_highlighting+55 12 8837 
 3855begin_of_the_skype_highlighting  +55 12 8837 
 3855  end_of_the_skype_highlighting

-- 
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: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Aditya Yadav
The log shows no Errors, 403 or otherwise.

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



[google-appengine] Re: SDK 1.3.8 released!

2010-10-16 Thread Peter Ondruska
See 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/94d7e74a2e882b4b/65358a09ced5e1d2#

For GAE/Java there is another group: 
http://groups.google.com/group/google-appengine-java

On Oct 16, 3:37 am, GoSharp Lite gosharpl...@gmail.com wrote:
 I am using Eclipse 3.5 to develop AppEngine and Android together,
 since Android does not recommend using Eclipse 3.6.
 Google Plugin for Eclipse 3.5 is still using SDK 1.3.7, can't update
 new SDK 1.3.8.
 Is there a way to manually install SDK 1.3.8 for Eclipse 3.5?

 On Oct 15, 11:44 am, Takashi Matsuo tmat...@google.com wrote:



  Hello App Engine Developers!

  We're very happy to announce that SDK 1.3.8 is released today. There
  are many new cool features, so please download the new SDK and enjoy
  it!

  You can download the new SDK 
  from:http://code.google.com/appengine/downloads.html

  Our blog post includes some screenshots of new features in admin 
  console:http://googleappengine.blogspot.com/2010/10/new-app-engine-sdk-138-in...

  Here are release notes:

  Java
  ---
  Version 1.3.8
  =
  - You can run task queue tasks immediately from the admin console.
  - Added an OutputSettings class to the Images API to specify the JPEG 
  encoding
    quality when running in production.
  - Support for login of multiple Google accounts within an app, and longer 
  login
    sessions. For more information see:
     http://www.google.com/support/accounts/bin/answer.py?answer=181599
  - In queue.xml, the maximum allowed bucket size is now 100.
  - Removed limits on zigzag merge-join queries. Therefore the error The 
  built-in
    indices are not efficient enough for this query and your data. Please add 
  a
    composite index for this query. will no longer be thrown in most cases,
    enabling more types of queries without indexes.
  - The whitelist has been updated to include java.net.InetAddress and some
    interfaces and abstract classes in javax.xml.soap, including
    javax.xml.soap.SOAPMessage.
  - Fixed an issue reserving App Ids by owners of emails containing periods,
    multiple cases, and googlemail.com address.
     http://code.google.com/p/googleappengine/issues/detail?id=1196
  - Fixed an issue where TaskOptions had no public getters, making testing
    impossible.
     http://code.google.com/p/googleappengine/issues/detail?id=3243
  - Fixed an issue on the development server where PNGs were being returned as
    JPEGs.
     http://code.google.com/p/googleappengine/issues/detail?id=3661

  Python
  -
  Version 1.3.8
  ==
  - Builtin app.yaml handlers are available for common application functions,
    such as appstats.
     http://code.google.com/appengine/docs/python/config/appconfig.html#Bu...
  - The Admin Console now provides an experimental tool to delete all 
  entities in
    the datastore or all entities of a given type. This is available only if
    enabled using the datastore_admin builtin. Deleting entities will count
    against application quota.
     http://code.google.com/appengine/docs/python/datastore/creatinggettin...
  - You can run task queue tasks immediately from the Admin Console.
  - You can now specify the quality of JPEG images via the Image API's
    execute_transforms function. Available in production only.
  - Support for login of multiple Google accounts within an app, and longer 
  login
    sessions. For more information see:
     http://www.google.com/support/accounts/bin/answer.py?answer=181599
  - In queue.yaml, the maximum allowed bucket size is now 100.
  - Precompilation is now enabled by default. To disable, use the
    --no_precompilation flag when updating your app.
  - BlobInfo now has an open() method that returns a BlobReader.
  - BlobReader now accepts a BlobInfo.
  - Removed limits on zigzag merge-join queries. Therefore the error The 
  built-in
    indices are not efficient enough for this query and your data. Please add 
  a
    composite index for this query. will no longer be thrown in most cases,
    enabling more types of queries without indexes.
  - Fixed an issue with task queue tasks not running on the dev_appserver when
    using Python 2.6.
  - Fixed an issue on the dev_appserver where auto task running wasn't 
  working for
    BulkAdd.
  - Fixed an issue reserving App Ids by owners of similarly-named mails 
  accounts
    containing periods, multiple cases, and googlemail.com address.
     http://code.google.com/p/googleappengine/issues/detail?id=1196
  - Fixed an issue on the development server where PNGs were being returned as
    JPEGs.
     http://code.google.com/p/googleappengine/issues/detail?id=3661

  --
  Takashi Matsuo
  Developer Relations
  Developer Advocate for Google App Engine/iGoogle
  Google Japan, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.

[google-appengine] The 404 error in http://appspot.com/ have returned ?

2010-10-16 Thread Daniel
Hi a couple of month ago there was an annoying error which forced to
login into appspot apps using https only...

it was resolved after a few weeks...

Now i noticed that it has returned...

Am I the only one that bumped into it? Or other peoplenoticed it too?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Prod Env utils - Interactive Console, Memcache manager, XMPP bot, IncomingMail Stub

2010-10-16 Thread sodso
Access all these in your PROD env on GAE -
1) Interactive Console
2) Memcache full manager
3) XMPP bot
4) IncomingMail Stub

Add the below to appr section in ur APP.YAML file in Python
handlers:
- url: /admin/.*
script: $PYTHON_LIB/google/appengine/ext/admin
login: admin

admin_console:
pages:
- name: My Console
url: /admin/interactive
- name: My Memcache
url: /admin/memcache
- name: My XMPP
url: /admin/xmpp
- name: My Inbound Mail
url: /admin/inboundmail

Above links will be visible on GAE Dashboard towards left-bottom as
Custom-Pages section

Other useful Python tips
print os.environ
print sys.path
print sys.version (python ver used on GAE)
help(obj)
dir(obj)
object.__dict__ (object variable values during runtime, extremely
useful for debugging, yup, those are 2 underscores before and after
dict)

Most important
Always readup on this http://blog.notdot.net/
Join these Google forums -
http://code.google.com/appengine/forum/
http://code.google.com/appengine/forum/python-forum.html
http://code.google.com/appengine/forum/downtime.html

Happy GAEing !!!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Quota numbers seem wrong

2010-10-16 Thread Wojciech 'KosciaK' Pietrzok
Same here.
3 out of 4 apps are affected. Quota values stay at the same invalid
level for 3 days now.


On 14 Paź, 20:15, Richard Watson richard.wat...@gmail.com wrote:
 My quota page seems to be over-reporting a couple of numbers quite a
 bit:

 CPU Time        0.17
 Requests 1,800
 Secure Requests 1,800 -- (but I know I have some non-secure requests,
 so how are they the same?)

 Datastore API Calls 1,000
 Datastore Queries 2,073,600 -- !
 Datastore CPU Time 2.49 --  (maybe.  seems high.)
 Number of Indexes 8 -- (I only really have 2, which is reported
 correctly in the other page)

 App: 2dumo

 Thanks,
 Richard

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Why so many instances?

2010-10-16 Thread Sahid Orentino Ferdjaoui
Hello,

That is wrong,
in average i have 80 instances launched and in hightraffic more than 100.

--
  .
 ..:



On Sat, Oct 16, 2010 at 5:57 AM, 风笑雪 kea...@gmail.com wrote:
 The max instances per app are about 30.

 --
 keakon



 On Sat, Oct 16, 2010 at 9:30 AM, Jeff Schnitzer j...@infohazard.org wrote:
 Thanks for the new Instances dashboard - it's neat to know.  I'm
 curious though, why are so many instances running?

 I have one (java) app that gets a steady 0.5 hits/s, and another
 (python) app that gets a steady 2.5 hits/s.

 The 0.5 hits/s Java app is running 4 instances.
 The 2.5 hits/s Python app is running 6 instances.

 Obviously I don't mind that Google devotes so many resources to
 serving my application, but it does seem odd.  Does GAE need this many
 instances to serve so few requests?  If my Java app surges to 50
 hits/s, will I consume 400 instances??

 Thanks,
 Jeff

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.



 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Which is Faster ? google.appengine.api.datastore OR google.appengine.ext.db ?

2010-10-16 Thread YF CAO
Steve, is that you?

2010/10/15 Robert Kluin robert.kl...@gmail.com

 Bill, is that you?






 On Thu, Oct 14, 2010 at 23:08, YF CAO caoyongfeng0...@gmail.com wrote:
  I want to kill BigTable.
 
  2010/10/15 sodso sodhisoluti...@gmail.com
 
  Which is Faster ? google.appengine.api.datastore OR
  google.appengine.ext.db ?
 
  Which one is faster for doing frequent datastore operations and costs
 less
  CPU cycles as well ?
 
  Using
  google.appengine.api.datastore
  OR
  google.appengine.ext.db
 
  Please provide your expert views on this ?
 
  --
  You received this message because you are subscribed to the Google
 Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.
 
  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.
 

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Quota numbers seem wrong

2010-10-16 Thread sodso
Quotas are showing weird bloated stuck values for one of my apps too
appid=sodso-reminders

How often are quota details updated ??

Here are some of the wrong values 
- Task Queue API Calls = 100
?? I didn't make any calls to the task queue, then how come its showing
100 ?
- Requests = 1800
?? This seems to be stuck at this value forever
- Mail API Calls = 100 and Recipients Emailed = 20
?? 100 mail calls is strange with Recipients as 20..this value
seems to be stuck at this number..
- A few hours ago I made around 1500 calls to XMPP with 1 recipient
each and the Quota was then showing it as XMPP API Calls =
50,000 !!! and Recipients Messaged =
50,000 !! thats absolutely bizarre !!!

Google, Can someone pls look into these quota values issues ? I believe
the recently released 1.3.8 version might have caused all these quota
related problems ? Earlier it looked to be Ok.

Thanks !

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Which is Faster ? google.appengine.api.datastore OR google.appengine.ext.db ?

2010-10-16 Thread gjs
Bill can't we just create a BingTable and charge for it? Sure Steve,
call it Live on Cloud 7.

On Oct 16, 10:38 pm, YF CAO caoyongfeng0...@gmail.com wrote:
 Steve, is that you?

 2010/10/15 Robert Kluin robert.kl...@gmail.com



  Bill, is that you?

  On Thu, Oct 14, 2010 at 23:08, YF CAO caoyongfeng0...@gmail.com wrote:
   I want to kill BigTable.

   2010/10/15 sodso sodhisoluti...@gmail.com

   Which is Faster ? google.appengine.api.datastore OR
   google.appengine.ext.db ?

   Which one is faster for doing frequent datastore operations and costs
  less
   CPU cycles as well ?

   Using
   google.appengine.api.datastore
   OR
   google.appengine.ext.db

   Please provide your expert views on this ?

   --
   You received this message because you are subscribed to the Google
  Groups
   Google App Engine group.
   To post to this group, send email to google-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
  .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

   --
   You received this message because you are subscribed to the Google Groups
   Google App Engine group.
   To post to this group, send email to google-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
  .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] URL manage

2010-10-16 Thread Massimiliano
Dear All,
I'm trying to build a website and I need to give my user
a domain myapp/userdomainname, in order to provide a url that match with
their homepage. How can I do this? Is there a way to manage the URL? I can't
find documentation, could someone help me?
I need to use the URL name as a var.

Regards

Massimiliano

-- 

My email: massimiliano.pietr...@gmail.com
My Google Wave: massimiliano.pietr...@googlewave.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Filter StringListProperty with List

2010-10-16 Thread Josh
Is there an efficient way to filter a StringListProperty with another
list?  In testing the query below it looks like five seperate RPC
calls are issued.  Does a better way exist?

Post.all().order(-created).filter(tags =, ['one', 'two', 'three',
'four', 'five']).fetch(size, page)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Quota numbers seem wrong

2010-10-16 Thread jeff.desk...@gmail.com
I have the same issue with appids: tvapps and tv-stats.

Neither seem to be having any problems other than invalid quota
details.  Some values are the same across apps, both showing 2,073,600
of 417,311,168 queries.  Which is odd because the python instance is
only the demo app right now.  The other app is in production and is
Java, so the issue seems to be across both platforms.

Jeff


On Oct 16, 7:09 am, sodso sodhisoluti...@gmail.com wrote:
 Quotas are showing weird bloated stuck values for one of my apps too
 appid=sodso-reminders

 How often are quota details updated ??

 Here are some of the wrong values 
 - Task Queue API Calls = 100
 ?? I didn't make any calls to the task queue, then how come its showing
 100 ?
 - Requests = 1800
 ?? This seems to be stuck at this value forever
 - Mail API Calls = 100 and Recipients Emailed = 20
 ?? 100 mail calls is strange with Recipients as 20..this value
 seems to be stuck at this number..
 - A few hours ago I made around 1500 calls to XMPP with 1 recipient
 each and the Quota was then showing it as XMPP API Calls =
 50,000 !!! and Recipients Messaged =
 50,000 !! thats absolutely bizarre !!!

 Google, Can someone pls look into these quota values issues ? I believe
 the recently released 1.3.8 version might have caused all these quota
 related problems ? Earlier it looked to be Ok.

 Thanks !

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.