[appengine-java] Re: using getResourceAsStream to fetch XSL Sheet

2010-02-15 Thread vbart
Hello,

I also load XSL style sheets from a jar and without problems. I do not
have any special config line in web.xml nor appengine-web.xml.

Only if your XSL style sheets were put directly in the WAR and outside
WEB-INF folder, then you would have to add to the appengine-web.xml
something like this (for example if xslPath=/resources/your.xsl):
  resource-files
include path=/resources/*.xsl /
  /resource-files

Does you XSL is an all-in-one style sheet or do you import/include any
other style sheets ?
Which XSLT implementation do you use ?
I use Xalan - I put all xalan libraries into WEB-INF/lib. Also for
xalan - the xsl:output throws an exception - see
http://code.google.com/p/googleappengine/issues/detail?id=1367 comment
21

Vaclav

On Feb 13, 8:39 pm, derkent derkentgib...@gmail.com wrote:
 I am using a jar which is doing the following :

 new
 StreamSource(getClass().getClassLoader().getResourceAsStream(xslPath)));

 It is loading an xsl style sheet from a jar.

 If I use the library locally everything is ok, but if I  try to do the
 same thing in an app engine servlet, it can't find the resoruce.

 How do define the web.xml for this problem, or is their another
 solution?

 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.



[appengine-java] Re: JPA still has the 1000 record limit in GAE 1.3.1?

2010-02-15 Thread mjustin
Thanks for your answer! My current code uses query.setFirstResult(n),
is this still limited to 1000?
Your link is rather old and covers Python, but I would like to use JPA
with Java.
Do I have to use JDO or will JPA drop the 1000 records limit later?

Regards,

On 15 Feb., 05:31, Timofey Koolin timo...@koolin.ru wrote:
 Offset get all records from datastore, than skip first n records.

 You can try to readhttp://code.google.com/appengine/articles/paging.html

 On Feb 15, 12:02 am, mjustin michael.jus...@gmx.net wrote:

  My application uses JPA and I see the same errors as in version 1.3.0
  now.

  If I count records in a table which has more than 1000 entries, the
  result is 1000.

  If I try to start a Query at an offset  1000, this error occurs:

  Caused by: java.lang.IllegalArgumentException: offset may not be above
  1000
          at
  com.google.appengine.api.datastore.DatastoreApiHelper.translateError(Datast 
  oreApiHelper.java:
  33)
          at
  com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(Datastor 
  eApiHelper.java:
  60)
          at
  com.google.appengine.api.datastore.PreparedQueryImpl.runQuery(PreparedQuery 
  Impl.java:
  115)
          at
  com.google.appengine.api.datastore.PreparedQueryImpl.asQueryResultList(Prep 
  aredQueryImpl.java:
  75)
          at
  org.datanucleus.store.appengine.query.DatastoreQuery.fulfillEntityQuery(Dat 
  astoreQuery.java:
  359)
          at
  org.datanucleus.store.appengine.query.DatastoreQuery.executeQuery(Datastore 
  Query.java:
  269)
          at
  org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(Datasto 
  reQuery.java:
  228)
          at
  org.datanucleus.store.appengine.query.JPQLQuery.performExecute(JPQLQuery.ja 
  va:
  77)
          at org.datanucleus.store.query.Query.executeQuery(Query.java:1489)
          at org.datanucleus.store.query.Query.executeWithMap(Query.java:1398)
          at org.datanucleus.jpa.JPAQuery.getResultList(JPAQuery.java:163)

  Does this mean only the native API and JDO can use more than 1000
  records in a query?

  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] Do I need to re-cache my object after I updated it in the memcache of Google AppEngine?

2010-02-15 Thread opok
Hi all,

I created a bean to be cached in the memcache, when I retrieved it
from the memecache and called some methods on it to update its status,
do I need to re-cache it into memcache?

I guess that memcache used its reference, so I should not need to do
it. But things turn out that I am not correct. I am a little confused.

-- 
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] Do I need to re-cache my object after I updated it in the memcache of Google AppEngine?

2010-02-15 Thread John Patterson
Yes you need to put it in memcache again.  All instances returned from  
memcache are deserialized copies of the original.


On 15 Feb 2010, at 16:04, opok wrote:


Hi all,

I created a bean to be cached in the memcache, when I retrieved it
from the memecache and called some methods on it to update its status,
do I need to re-cache it into memcache?

I guess that memcache used its reference, so I should not need to do
it. But things turn out that I am not correct. I am a little confused.

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




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



[appengine-java] Re: Do I need to re-cache my object after I updated it in the memcache of Google AppEngine?

2010-02-15 Thread opok
thanks, that make sense.

On Feb 15, 5:10 pm, John Patterson jdpatter...@gmail.com wrote:
 Yes you need to put it in memcache again.  All instances returned from  
 memcache are deserialized copies of the original.

 On 15 Feb 2010, at 16:04, opok wrote:

  Hi all,

  I created a bean to be cached in the memcache, when I retrieved it
  from the memecache and called some methods on it to update its status,
  do I need to re-cache it into memcache?

  I guess that memcache used its reference, so I should not need to do
  it. But things turn out that I am not correct. I am a little confused.

  --
  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 
  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: Issue with URLFetchService HTTPResponse .getContent()

2010-02-15 Thread Johnnie Walker
Rookie mistake, I feel stupid, Thanks John.

On Feb 15, 1:26 am, John Patterson jdpatter...@gmail.com wrote:
 http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getName()

 On 15 Feb 2010, at 05:40, Johnnie Walker wrote:

  Hi,

  I might be my environment but could somebody else please check if they
  can replicate this:

  URLFetchService f=URLFetchServiceFactory.getURLFetchService();
  HTTPResponse r=f.fetch(new URL(url));

  If then I execute this line:
  r.getContent().getClass().getName()

  it returns this:
  [B      (Yes, square bracket and uppercase B)

  When I am expecting:
  byte[]

  What am I doing wrong? is this a bug?

  I am using sdk 1.3.1 with Groovy/Grails

  Thanks

  JT.

  --  
  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 
  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] Cron job schedule format question

2010-02-15 Thread opok
Hi, I need a cron job to run on every 15 mins in every weekday just
from 8:00 to 16:00.
How to set the Schedule Format for this cron job?

-- 
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] How would you suggest to have a dynamic settings in my app ?

2010-02-15 Thread Shai
Hi,

I would like to dynamically change some settings of my application
without having the settings hard-coded and re-deploy the
application ..
I guess I could have a static settings file somewhere and URLFetch it
+ parse and change settings accordingly.
However this seems slow and cumbersome ..
Any standard way of doing something like that ?


-- 
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] DeadlineExceededException on LogFactory.getClass()

2010-02-15 Thread Heru Martinus Salim

Hello,

I got a DeadlineExceededException as I initialize my Logger.
Here is the code which threw this exception:
private final org.apache.commons.logging.Log LOG = 
org.apache.commons.logging.LogFactory.getLog(this.getClass());
Any idea how could this happen?
This class is initialized via Spring Framework and also this exception is 
thrown on initializing the spring bean.

Below is the error Log.

Best regards,
Heru

[org.springframework.web.servlet.DispatcherServlet] - Context initialization 
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'loginController' defined in class path resource 
[rumahmakan-servlet.xml]: Initialization of bean failed; nested exception is 
com.google.apphosting.api.DeadlineExceededException: This request 
(41e0e0837894c24e) started at 2010/02/15 08:42:29.271 UTC and was still 
executing at 2010/02/15 08:42:57.773 UTC.
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at 
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)
at 
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)
at 
org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
at 
org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:215)
at 
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
at 
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:191)
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:168)
at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123)
at 
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:235)
at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5485)
at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5483)
at 
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:363)
at com.google.net.rpc.impl.Server$2.run(Server.java:837)
at 
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
at 
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:536)
at com.google.net.rpc.impl.Server.startRpc(Server.java:792)
at com.google.net.rpc.impl.Server.processRequest(Server.java:367)
at 

[appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-15 Thread Matthew McGinty
Keith,

Please address #2739 :

http://code.google.com/p/googleappengine/issues/detail?id=2739

at the same time you address #1515.
My project (Open BlueDragon) needs to be easily switched between non-
GAE and GAE environments.

Thanks.

Matt McGinty



On Feb 4, 2:52 pm, Keith Platfoot kplatf...@google.com wrote:
 Hey all,

 Many of you have reported incompatibilities between the Google Plugin for
 Eclipse and other build systems/project structures, most notably Maven and
 J2EE/Dynamic Web Projects.  For example, issue 1515 (Eclipse plugin requires
 fixed location for war
 directory)http://code.google.com/p/googleappengine/issues/detail?id=1515
 has
 collected well over 100 stars, and a similar one in the GWT issue tracker
 has attracted a lot of attention as well.  Based on this feedback, we've
 decided to try and address as many of the incompatibilities as possible with
 our upcoming 1.3 release of the plugin.  To deliver on that goal, we want to
 share with your our current plans, and also let you know about a preview
 build that we'll make available so you can test the changes for yourself and
 give us feedback before final release.

 Our plans for the 1.3 release include 4 changes designed to make integration
 with Maven and J2EE projects easier:

    1. The WAR directory can now be configured to be *any* project-relative
    path (e.g. src/main/webapp if you're using Maven).  You'll also be able
    to specify whether that directory is source-only (typical Maven/J2EE
    scenario), or whether it should also function as the WAR output directory
    from which to run/debug or deploy to App Engine.  If your WAR directory is
    input *and* output (which will remain the default for new Web App
    projects), the plugin will manage synchronizing the contents of WEB-INF/lib
    WEB-INF/classes with your project's build path and compiled output.
     Otherwise, we'll leave your WAR source directory alone and you'll need to
    specify your WAR output location when launching, deploying, etc (the plugin
    will remember the location once you set it the first time).
    2. The Web App launch configuration UI is being redesigned to allow you
    to see, and if necessary change, *any* of the launch arguments.
     Previously, we were waiting until launch time to set many of these
    arguments based on heuristics that were invisible and inaccessible to you.
     Now you'll be in full control of how your projects get launched.  Also,
    we're adding the capability to automatically migrate your launch
    configurations when necessary, for example, updating the -javaagent flag
    when changing App Engine SDKs.
    3. GWT/App Engine projects will no longer require our SDK library on the
    classpath.  This means Maven users will be able to pull in JAR files from
    their M2 repository as they're accustomed to and the plugin won't mind a
    bit.
    4. The severity of any problem marker generated by the plugin will be
    fully customizable via an Errors/Warnings preference page (similar to the
    Java Errors/Warnings page), letting you specify either Error, Warning, or
    Ignore.

 We'll also be including a few smaller features and bug fixes as well.

 What does everyone think about the 4 changes outlined above?  We've been
 testing the plugin against various Maven and J2EE configurations to try to
 ensure that we've eliminated the most critical roadblocks.  However, we're
 very interested in also having you folks take it for a spin before the
 official release date (slated for next month).  We're not quite ready yet,
 but stay tuned for a 1.3 preview build to be made available hopefully in a
 few weeks.  We'll distribute it as a zip file for dropin
 installationhttp://code.google.com/eclipse/docs/install-from-zip.html
 so
 it will come with the standard warnings and caveats (use with a clean
 Eclipse install and workspace, use at your risk, etc.).  However, it will
 hopefully give you a chance to give us any last-minute feedback about our
 changes before the final release.

 Thanks,

 Keith

-- 
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] AppCfg error

2010-02-15 Thread Andreas Blomqvist
Hi

Still has this problem. Using Netbeans 6.8 on SnowLeopard 10.6 (OSX)
What build file are you refering to? The build-impl.xml or the
ant-deploy.xml ?

Thanks


2010/1/30 杨浩 skzr@gmail.com

 after gae set,this is a e.x:

 target name=GAE update description=Uploads the application to App
 Engine.
 echo开始更新GAE.../echo
 appcfg action=update war=war/
 /target

  --
 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] Task Queue bugs?

2010-02-15 Thread WSouza
Hello,

Is this normal? I am using the task queues, I've added about 20 tasks
and all of them returned with a 500 error on the first execution
(indexes being built or cold start latency), and now after 25 minutes
they are all still in queue, is it normal to take that long after an
error? Or is just because it is a low traffic app (still in
development, so there is just a little traffic).

The Oldest Task on Task Queue Dashboard seems to show random times
too, sometimes it shows 1 minutes, sometimes 25 minutes.

Is anyone experiencing similar problems?

Thanks,
William

-- 
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: using getResourceAsStream to fetch XSL Sheet

2010-02-15 Thread derkent
thanks I figured it out. For some reason I had to extract the file
then mimic the clashpath under web-inf and it worked. odd.

On Feb 15, 9:16 am, vbart vaclav.barta...@spolecne.cz wrote:
 Hello,

 I also load XSL style sheets from a jar and without problems. I do not
 have any special config line in web.xml nor appengine-web.xml.

 Only if your XSL style sheets were put directly in the WAR and outside
 WEB-INF folder, then you would have to add to the appengine-web.xml
 something like this (for example if xslPath=/resources/your.xsl):
   resource-files
     include path=/resources/*.xsl /
   /resource-files

 Does you XSL is an all-in-one style sheet or do you import/include any
 other style sheets ?
 Which XSLT implementation do you use ?
 I use Xalan - I put all xalan libraries into WEB-INF/lib. Also for
 xalan - the xsl:output throws an exception - 
 seehttp://code.google.com/p/googleappengine/issues/detail?id=1367comment
 21

 Vaclav

 On Feb 13, 8:39 pm, derkent derkentgib...@gmail.com wrote:

  I am using a jar which is doing the following :

  new
  StreamSource(getClass().getClassLoader().getResourceAsStream(xslPath)));

  It is loading an xsl style sheet from a jar.

  If I use the library locally everything is ok, but if I  try to do the
  same thing in an app engine servlet, it can't find the resoruce.

  How do define the web.xml for this problem, or is their another
  solution?

  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.



[appengine-java] Need urgent help - java.lang.ClassNotFoundException: com.google.appengine.api.memcache.MemcacheService

2010-02-15 Thread imyousuf
Hi,

I am getting the error below for the following Guice binding:

protected void configure() {
.
 
bind(MemcacheService.class).toInstance(getMemcacheServiceInstance()); //
Line 44
.
  }

  protected MemcacheService getMemcacheServiceInstance() {
return MemcacheServiceFactory.getMemcacheService();
  }

Can someone please help me in identifying what I am doing wrong here?
I am using the Low Level API for caching and I did not specify any
configuration in any XML file. I am in dire need of help :(. Please
help me.

Thank you,

Imran

** ERROR **

Root cause:

java.lang.ClassNotFoundException:
com.google.appengine.api.memcache.MemcacheService
 at
com.google.appengine.runtime.Request.process-11ed5249f6aebca1(Request.java)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 at
com.smartitengineering.stockexchange.feeds.factory.SmartStockFactoryModule.configure(SmartStockFactoryModule.java:
44)
 at com.google.inject.AbstractModule.configure(AbstractModule.java:
59)
 at com.google.inject.spi.Elements
$RecordingBinder.install(Elements.java:223)
 at com.google.inject.spi.Elements.getElements(Elements.java:101)
 at com.google.inject.InjectorShell
$Builder.build(InjectorShell.java:135)
 at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:
102)
 at com.google.inject.Guice.createInjector(Guice.java:92)
 at com.google.inject.Guice.createInjector(Guice.java:69)
 at com.google.inject.Guice.createInjector(Guice.java:59)
 at
com.smartitengineering.stockexchange.feeds.factory.SmartStockFactory.clinit(SmartStockFactory.java:
17)
 at
com.smartitengineering.stockexchange.feeds.panels.StockExchangePanel.initComponents(StockExchangePanel.java:
32)
 at
com.smartitengineering.stockexchange.feeds.panels.StockExchangePanel.init(StockExchangePanel.java:
28)
 at
com.smartitengineering.stockexchange.feeds.HomePage.init(HomePage.java:
15)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:33)
 at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:
192)
 at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:
57)
 at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:
298)
 at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:
320)
 at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:
234)
 at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:
92)
 at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
1250)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
 at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
479)
 at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:
312)
 at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1084)
 at
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:
97)
 at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1084)
 at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
35)
 at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1084)
 at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
 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.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
238)
 at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
139)
 at org.mortbay.jetty.Server.handle(Server.java:313)
 at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
506)
 at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:830)
 at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
76)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
381)
 

[appengine-java] Re: Unable to upload application - Total refill rate must not exceed 20 per second

2010-02-15 Thread Ronin
I dont think it is related to queue configuration. All the queue rates
are below 20. I cant upload this as a  second application ( with a new
app id ). But I can upload this as the first application. There is
some connection between app ids  queue configs. Should the queuenames
be unique across multiple applications ?


On Feb 6, 3:18 pm, seleronm seler...@gmail.com wrote:
 hi.

 I guessed because I paid attention to the following parts.
 [Invalid queue configuration. Totalrefillratemust not exceed 20 per second 
 (is 24.0).]

 queue.xml the rate numbers may have to decrease

 Please try.
 thanks.

 hi,

 I'm unable to upload the application to GAE.

 Check logs 
 Unable to update:
 java.io.IOException: Error posting to URL:
 http://appengine.google.com/api/queue/update?app_id=nsecharts-testve...
 400 Bad Request
 Invalid queue configuration. Totalrefillratemust not exceed 20 per
 second (is 24.0).

     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:
 427)
     at
 com.google.appengine.tools.admin.AppVersionUpload.updateQueue
 (AppVersionUpload.java:
 157)
     at
 com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.
 java:
 121)
     at
 com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
 56)
     at com.google.appengine.tools.admin.AppCfg
 $UpdateAction.execute(AppCfg.java:521)
     at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:130)
     at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:58)
     at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:54)
 com.google.appengine.tools.admin.AdminException: Unable to update app:
 Error posting to URL:http://appengine.google.com/api/queue/update?app_id=
 nsecharts-testversion=1
 400 Bad Request
 Invalid queue configuration. Totalrefillratemust not exceed 20 per
 second (is 24.0).

     at
 com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
 62)
     at com.google.appengine.tools.admin.AppCfg
 $UpdateAction.execute(AppCfg.java:521)
     at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:130)
     at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:58)
     at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:54)
 Caused by: java.io.IOException: Error posting to URL:
 http://appengine.google.com/api/queue/update?app_id=nsecharts-testve...
 400 Bad Request
 Invalid queue configuration. Totalrefillratemust not exceed 20 per
 second (is 24.0).

     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:
 427)
     at
 com.google.appengine.tools.admin.AppVersionUpload.updateQueue
 (AppVersionUpload.java:
 157)
     at
 com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.
 java:
 121)
     at
 com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
 56)
     ... 4 more

 --
 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] A record (IP address??)

2010-02-15 Thread raringsunny
I have a website hosted on google apps server and I recently made a
change and moved to Microsoft office live server.

I want to switch back to Google apps and I need help with the A record
(point to IP address field). That's the field I had changed and had
given Microsoft office live server's IP address to redirect requests
of my web site to a MS office live server.

What should be the value of A record (IP address) for Google Apps
server??

My web site is registered with GoDaddy.com and that's where I need to
change the A record.

Please help!

--SM

-- 
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] Discussion on will-it-play-in-app-engine

2010-02-15 Thread Bryant Luk
Apache Wink ( http://incubator.apache.org/wink/ ) should be compatible
with Google App Engine.

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



[appengine-java] Mail API / Sender Email Address

2010-02-15 Thread Henning
Hello,

I have set up my own .com domain on Google apps, set the CNAME entries
and I can now access my google app engine project through my own .com
address rather than appspot. I set up google mail as a google app on
my domain too.

If I have now a google mail account like m...@mydomain.com and my app
runs on www.mydomain.com how can I send with my application emails
with sender address m...@mydomain.com ? In the doc there it is said
that only addresses of admins or developers are valid. I tried to
create a new developer m...@mydomain.com but that does not work (no
invitation email ever arrives). If I send an email from hotmail to
m...@mydomain.com it arrives.

What can I do ? I have a registration form and the password should be
sent to the user by email. I don't want to provide the user my fancy
hotmail address I used to register on app engine / google accounts
originally.

Thank you,
Henning.

-- 
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] Cannot find the declaration of element 'jdoconfig'.

2010-02-15 Thread beart
I'm starting my local gae application and have jdo config the same
that example on gae tutorial, but there is the msg

Caused by:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 4 in XML document from class path resource [META-INF/
jdoconfig.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration
of element 'jdoconfig'.
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:
396)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
334)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
302)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:
143)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:
178)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:
149)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:
212)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:
126)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:
92)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:
130)
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:
458)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
388)
at
org.springframework.context.support.ClassPathXmlApplicationContext.init(ClassPathXmlApplicationContext.java:
139)
at
org.springframework.context.support.ClassPathXmlApplicationContext.init(ClassPathXmlApplicationContext.java:
93)
at ru.akugal.scentshop.db.DAOManager.getContext(DAOManager.java:26)
at ru.akugal.scentshop.db.DAOManager.getDAO(DAOManager.java:57)
at
ru.akugal.scentshop.server.operation.CreateCatalog.execute(CreateCatalog.java:
16)
at
ru.akugal.scentshop.server.GreetingServiceImpl.greetServer(GreetingServiceImpl.java:
19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:
100)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
562)
... 30 more
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
declaration of element 'jdoconfig'.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at
org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl
$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:
75)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:
388)
... 53 more


What can i do??
Using app engine 1.3.1

-- 
You received this message because you are subscribed to 

[appengine-java] 500 internal server error

2010-02-15 Thread karthikeyan s.p
Hi,

 I have created a web application that can be accessed with this
link,
http://publicationnumbersearch.appspot.com/
It gives 500 internal server error and I am not able to find why and
what causes the problem. How can I find the problem and what would
have been wrong here. Thanks.

Karthi.

-- 
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] SVG data in a jsp file

2010-02-15 Thread Martin Trögner
My application shall create SVG  data which will be integrated in a
jsp.
For svg data you normally can use
object data=f.svg type=image/svg+xml width=200
height=200 /

I think this cannot work, because you cannot create a file with the
SVG  data using GAE.

So I tried to use inline SVG, but the SVG data are not displayed in
the Browser.

When firefox shows the page source code and I store the source code in
file with the extension XHTML, this file is displayed correctly with
the SVG data.

So I think the mime type of the page is not correct.

Is the a possibility to solve this problem?

Martin


-- 
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: Class XXX has multiple relationship fields of type YYYY

2010-02-15 Thread Payam
The problem is still not solved.
Although you can persist an object with multiple relations of the
same type. When you actually query the object, the retrieved object
has duplicates for the multiple relations.
As in, if I were to persist instances A, B inside C. When I query for
C, both objects retrieved will be A. There will be no B.

This is a serious bug!

On Jan 26, 4:54 pm, oth other...@gmail.com wrote:
 Michael,

 In your jdoconfig.xml file add this entry:

 property
 name=datanucleus.appengine.allowMultipleRelationsOfSameType
 value=true/

 Thanks

 On Jan 26, 3:12 pm, Michael Shtelma mshte...@gmail.com wrote:



  Hi all,

  I am also experiencing this problem on GAE 1.3.0.
  Using multipleRelationsOfSameTypeAreErrors helps not in all cases,
  when I am trying to read such entities I get mentioned exception.
  Are the any solution for the 1.3.0 ?

  Thanks,
  Michael

  On Jan 21, 9:20 am, cowper iamco...@gmail.com wrote:

   Hi,
     I have a similar issue with 1.3.0 however it arises when the types
   are the same and not related to inheritance of any type.

   The work around suggested doesn't seem to work. Is the workaround
   valid for 1.3.0?

   thx,

   Conor

   On Dec 4 2009, 9:52 pm, Max Ross (Google) maxr

   +appeng...@google.com wrote:
SDK 1.2.8 contains a new check that detects if one of your JDO or JPA 
model
objects has two relationship fields of the same type.  For example:

class A {
  ListB bList;
  ListB anotherBList;

}

Unfortunately I was a little too aggressive with this check, so the
following also run afoul of the check:

abstract class B {}

class C extends B {}
class D extends B {}

class A {
  ListC cList:
  ListD dList;

}

If you get an exception that says

Class XXX has multiple relationship fields of type .  This is not 
yet
supported.

and your class hierarchy resembles the one above, you can disable this 
check
by with the following config property:

property 
name=datanucleus.appengine.multipleRelationsOfSameTypeAreErrors
value=true/

We'll get this fixed shortly.

Sorry for the trouble,
Max

-- 
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] Content caching and Compression

2010-02-15 Thread zainul franciscus
I was browsing through Google App Engine feature documentation. In
certain page I found that Google App Engine does not support gzip
compression  nor content caching but on other page Google said that
they have incorporated gzip compression feature in app engine.

Does any body know whether google app engine support gzip compression
and content caching ? If yes how can we do it.

Cheers,
Zainul Franciscus

-- 
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] [JDO/SDK1.3.1] A bug around transaction

2010-02-15 Thread vori
Hi, I think it is a bug around transaction of JDO/SDK1.3.1.
It does not occurs with SDK1.3.0


Entity entityA = pm.getObjectById(Entity.class, keyA);
entityA.setDoubleProperty(Math.random());

tx = pm.currentTransaction();
tx.begin();

// This makePersistent throws javax.jdo.JDOException:
// can't operate on multiple entity groups in a single
// transaction., if any properties of the entity gotten
// via getObjectById was updated.
pm.makePersistent(new Entity(keyB));
if(tx.isActive()) tx.commit();
-

Full source code is here.
 - http://code.google.com/p/test-gae-j-sdk-131/

Compiled application is deployed on here.
 - http://test4sdk131.appspot.com/

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



[google-appengine] Re: Lucene/Compass

2010-02-15 Thread Tonny
Not having access to the file system on GAE will prevent you from
using the out-of-the-box Lucene Index implementations (which uses the
filesystem).

On Feb 13, 12:40 am, Patrick Twohig patr...@namazustudios.com wrote:
 I was curious if anybody is using Lucene and Compass and how well it works
 in the app engine. I've seen some other posts indicating that it actually
 manages to handle quite a bit of data, but I was curious if anybody else out
 there could attest to how well it works.

-- 
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] 1.3.1 on linux

2010-02-15 Thread Tonny
Hi

Running 1.3.1 under Linux gives me this.

  File /opt/google_appengine/google/appengine/ext/db/__init__.py,
line 1563, in get
rpc = datastore.GetRpcFromKwargs(kwargs)

Any bode else trying to run 1.3.1 on Linux?

I also had a heap of problems running 1.3.1 on OS X, but they could be
worked around, and is a different story - maybe I should post it
later.

Regards
Tonny

-- 
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: 1.3.1 on linux

2010-02-15 Thread Tonny
My Bad, switching the GAE modules while the app is running is a bad
idea. I'm just so used to the dynamic reload part...

Cheers
Tonny

On Feb 15, 10:20 am, Tonny 12br...@gmail.com wrote:
 Hi

 Running 1.3.1 under Linux gives me this.

   File /opt/google_appengine/google/appengine/ext/db/__init__.py,
 line 1563, in get
     rpc = datastore.GetRpcFromKwargs(kwargs)

 Any bode else trying to run 1.3.1 on Linux?

 I also had a heap of problems running 1.3.1 on OS X, but they could be
 worked around, and is a different story - maybe I should post it
 later.

 Regards
 Tonny

-- 
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] Am I allowed to host my site at app engine?

2010-02-15 Thread Nick Johnson (Google)
Hi Philip,

You're certainly welcome to develop and host such a site on App Engine,
provided it doesn't violate any laws (eg, copyright law).

Please do read our Terms Of Service:
http://code.google.com/appengine/terms.html . We impose very few
restrictions on what apps may be run on App Engine.

-Nick Johnson

On Sun, Feb 14, 2010 at 4:42 PM, Flips p...@script-network.com wrote:

 Hi,

 I have a site that provides a conversion service for several video
 sites e.g. YouTube or MySpace. You have to enter the url of a video
 and my service loads this video and converts the video to mp3. The
 site is growing and I would like to deploy the frontend at google app
 engine and process the conversions through my servers. Am I allowed to
 host such a site at google app engine?

 Regards
 Philip

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




-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
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] Re: Unrecoverable 500 error

2010-02-15 Thread Nick Johnson (Google)
Hi Ivan,

This error occurs when all the request handlers for your app are busy
processing requests, and incoming requests are queued for more than 10
seconds. This is usually because your app takes a very long time to process
requests, or because you're doing 'long polling' or something else that
causes your app to artificially inflate the amount of time it takes to
return a response.

-Nick Johnson

On Thu, Feb 11, 2010 at 10:08 PM, Ivan Pardo trux...@gmail.com wrote:

 I'm desperately seeking a solution to this error.  For my app, it has
 awful consequences because if a user tries to visit the site while a
 cron job that will result in a 500 error is running, ALL RPC CALLS
 WILL FAIL.  I've scoured through my code for weeks now trying to
 discover what could possibly be causing it.  i have yet to find an
 answer.  the strange thing is that on some deployments it works
 perfectly fine, and then the next time i deploy every cron job will
 result in a 500.  could it be related to eclipse or datanucleus?  I'm
 no where near the quotas ive set up, i have billing enabled, and yet i
 still have this error coming up all the time.  at this point, ANY
 INSIGHT is greatly appreciated.

 My app is ~6000 lines of code so its difficult to troubleshoot the app
 with no guidance.  up until this issue came up, ive had very few
 problems with app engine, but i now find it very disappointing that
 there are hundreds of threads about this error and ive yet to see an
 official response from google.

 On Feb 11, 10:48 am, Peter Liu tinyee...@gmail.com wrote:
  I normally see this error when a cron job is run. But I just see this
  on my site just now. Therequesttime out (at ~10sec, 0cpu) without
  hitting the app at all. There's almost no load on the server so it's
  not a quota issue.
 
  Is there a way to prevent this? If it's an error that can be
  recovered, I can live with it. But we can't do anything with those
  because it never hit our code.
 
  Can Google configure this type of time out to show or redirect to an
  error page of our choice? Right now it shows a 500 error with black
  and white text. It looks really ugly and doesn't explain what happened
  to the user. The user will need to refresh the page by faith.
 
  Thanks.
 
02-11 10:23AM 40.220 /recent/spot/1 500 10025ms 0cpu_ms 0kb
  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/
  20091221 Firefox/3.5.7,gzip(gfe),gzip(gfe)
See details
 
67.49.47.0 - sgplatform [11/Feb/2010:10:23:50 -0800] GET /
  recent/spot/1 HTTP/1.1 500 0 http://www.vikispot.com/; Mozilla/5.0
  (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/
  3.5.7,gzip(gfe),gzip(gfe) www.vikispot.com
 
   Requestwasabortedafterwaitingtoolongtoattempttoserviceyourrequest.
 Most likely, this indicates that you have reachedyour
  simultaneous dynamicrequestlimit. This is almost always due to
  excessively high latency inyourapp. Please seehttp://
 code.google.com/appengine/docs/quotas.htmlfor more details.

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




-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
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] Re: JDO: Owned 1 to Many relationship between the objects of the same class

2010-02-15 Thread Alexander Arendar
Hi Ian,

thank you for explanation. I voted for that issue. Hope it will get is fixed
a bit faster :)

Sincerely,
Alex

On Sat, Feb 13, 2010 at 4:35 PM, Ian Marshall ianmarshall...@gmail.comwrote:

 Hi Alex,

 You might care to star datanucleus-appengine issue 80 (Recursive
 relation does not work).

 Cheers,

 Ian

 --
 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] Datastore bug?

2010-02-15 Thread clay
I'm running this query (.toString()) in my Java code:

SELECT * FROM FactWeekMediumKeyword WHERE __key__ =
DimAccount(d001200RlItfAAF)/FactWeekMediumKeyword(O27kBI-kCV==
JqKWRaCc73KiOq_iOF== ) AND __key__ 
DimAccount(d001200RlItfAAF)/FactWeekMediumKeyword(O27kBI-kCV==
JqKWRaCc73KiOq_iOV== ) AND __ancestor__ is
DimAccount(d001200RlItfAAF) ORDER BY __key__

which is equalivalent to this GQL query for the Datastore Viewer in
the appengine website:

SELECT * FROM FactWeekMediumKeyword WHERE __key__ =
Key('DimAccount','d001200RlItfAAF', 'FactWeekMediumKeyword',
'O27kBI-kCV== JqKWRaCc73KiOq_iOF== ') AND __key__ 
Key('DimAccount','d001200RlItfAAF',
'FactWeekMediumKeyword','O27kBI-kCV== JqKWRaCc73KiOq_iOV== ') AND
ancestor is Key('DimAccount', 'd001200RlItfAAF') ORDER BY __key__

This query (and my production code) return 23 records.  If I remove
the ancestor is part and query:

SELECT * FROM FactWeekMediumKeyword WHERE __key__ =
Key('DimAccount','d001200RlItfAAF', 'FactWeekMediumKeyword',
'O27kBI-kCV== JqKWRaCc73KiOq_iOF== ') AND __key__ 
Key('DimAccount','d001200RlItfAAF',
'FactWeekMediumKeyword','O27kBI-kCV== JqKWRaCc73KiOq_iOV== ') ORDER BY
__key__

I get what I want, all 49 records.

Looking at two records as an example,
name=O27kBI-kCV== JqKWRaCc73KiOq_iOF==
NMKoQqpWS5KZ75OjRaKs76GmNLGdQaR=
which is returned in both queries, and
name=O27kBI-kCV== JqKWRaCc73KiOq_iOF== Nb8jPqKm75OjRaKs76GmNLGdQaR=
which is returned only in the 49 result query, there is something
wrong with the ancestor I believe.

The keys (and internal entity keys) are:

DimAccount: name=d001200RlItfAAF  FactWeekMediumKeyword:
name=O27kBI-kCV== JqKWRaCc73KiOq_iOF==
NMKoQqpWS5KZ75OjRaKs76GmNLGdQaR=
entity key prefix:
ag1idHNlYXJjaHNtYXJ0cnwLEgpEaW1BY2NvdW50IhNkMDAxMjAwMDAwMF


DimAccount: name=d001200RlItfAAF  FactWeekMediumKeyword:
name=O27kBI-kCV== JqKWRaCc73KiOq_iOF==
NMKoQqpWS5KZ75OjRaKs76GmNLGdQaR=
entity key prefix:
ag1idHNlYXJjaHNtYXJ0coABCxIKRGltQWNjb3VudCITZDAwMTIwMDAwMD

The second entity key prefix, I imagine, should match the first since
they have the same ancestor.

Two questions:
1) If I query on a range of keys, is there any performance gain by
filtering on the ancestor as well?
2) Can you confirm that this is some internal Datastore bug?

Last bit of information,  I believe this bug started when I created
new __key__ indexes, which I didn't think I needed, but they get
generated anyways from the auto-generate-indexes code.

Thanks,
Clay


-- 
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: Datastore bug?

2010-02-15 Thread clay
I've posted this to the issue tracker, which is probably more
appropriate place.


-- 
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: Select columns

2010-02-15 Thread ryan
On Feb 14, 10:13 pm, Manny S manny.m...@gmail.com wrote:
 I was trying to use the Key string for ordering and pagination. Guess I will
 have to look into creating a separate field for pagination.  Thanks,

have you looked at the recent 1.3.1 release? we now support pagination
with cursors, so you no longer need a custom field if you can't use
__key__.

http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html

-- 
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: When is the Timeout bug going to get fixed?

2010-02-15 Thread ryan
On Feb 12, 9:42 am, Stephen sdea...@gmail.com wrote:

 Obviously, if your files are  1MB then the blobstore is your only
 option. If you have a few static files then static file serving is an
 option.  But if you have dynamic files  1MB there are now two
 options: db/memcache or blobstore.  Which is better, and why?

if the files won't change, and they really are opaque blobs,
definitely prefer blobstore. it shortcuts much of the app engine
serving stack, so it will usually be somewhat faster and more reliable
than the datastore. probably only by a small constant factor, but
that's still something.

 Great. I thought I remembered seeing 10% error rate reported in a
 slide deck, but I guess you're saying it's much lower than that.

yes. even before the extended retries in 1.3.1, the datastore's
overall average error rate was a few *orders of magnitude* less than
that. i don't know the error rate for static file serving off the top
of my head, but it's almost certainly even better, maybe as much as an
order of magnitude less than the datastore's itself.

(that's average, of course. spikes will always happen occasionally.
still, we've managed to reduce them pretty significantly in the last
few months 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.



Re: [google-appengine] Datastore bug?

2010-02-15 Thread Nick Johnson (Google)
Hi clay,

What is your application ID?

-Nick Johnson

On Mon, Feb 15, 2010 at 1:22 PM, clay clay.lenh...@searchlatitude.comwrote:

 I'm running this query (.toString()) in my Java code:

 SELECT * FROM FactWeekMediumKeyword WHERE __key__ =
 DimAccount(d001200RlItfAAF)/FactWeekMediumKeyword(O27kBI-kCV==
 JqKWRaCc73KiOq_iOF== ) AND __key__ 
 DimAccount(d001200RlItfAAF)/FactWeekMediumKeyword(O27kBI-kCV==
 JqKWRaCc73KiOq_iOV== ) AND __ancestor__ is
 DimAccount(d001200RlItfAAF) ORDER BY __key__

 which is equalivalent to this GQL query for the Datastore Viewer in
 the appengine website:

 SELECT * FROM FactWeekMediumKeyword WHERE __key__ =
 Key('DimAccount','d001200RlItfAAF', 'FactWeekMediumKeyword',
 'O27kBI-kCV== JqKWRaCc73KiOq_iOF== ') AND __key__ 
 Key('DimAccount','d001200RlItfAAF',
 'FactWeekMediumKeyword','O27kBI-kCV== JqKWRaCc73KiOq_iOV== ') AND
 ancestor is Key('DimAccount', 'd001200RlItfAAF') ORDER BY __key__

 This query (and my production code) return 23 records.  If I remove
 the ancestor is part and query:

 SELECT * FROM FactWeekMediumKeyword WHERE __key__ =
 Key('DimAccount','d001200RlItfAAF', 'FactWeekMediumKeyword',
 'O27kBI-kCV== JqKWRaCc73KiOq_iOF== ') AND __key__ 
 Key('DimAccount','d001200RlItfAAF',
 'FactWeekMediumKeyword','O27kBI-kCV== JqKWRaCc73KiOq_iOV== ') ORDER BY
 __key__

 I get what I want, all 49 records.

 Looking at two records as an example,
 name=O27kBI-kCV== JqKWRaCc73KiOq_iOF==
 NMKoQqpWS5KZ75OjRaKs76GmNLGdQaR=
 which is returned in both queries, and
 name=O27kBI-kCV== JqKWRaCc73KiOq_iOF== Nb8jPqKm75OjRaKs76GmNLGdQaR=
 which is returned only in the 49 result query, there is something
 wrong with the ancestor I believe.

 The keys (and internal entity keys) are:

DimAccount: name=d001200RlItfAAF  FactWeekMediumKeyword:
 name=O27kBI-kCV== JqKWRaCc73KiOq_iOF==
 NMKoQqpWS5KZ75OjRaKs76GmNLGdQaR=
entity key prefix:
 ag1idHNlYXJjaHNtYXJ0cnwLEgpEaW1BY2NvdW50IhNkMDAxMjAwMDAwMF


DimAccount: name=d001200RlItfAAF  FactWeekMediumKeyword:
 name=O27kBI-kCV== JqKWRaCc73KiOq_iOF==
 NMKoQqpWS5KZ75OjRaKs76GmNLGdQaR=
entity key prefix:
 ag1idHNlYXJjaHNtYXJ0coABCxIKRGltQWNjb3VudCITZDAwMTIwMDAwMD

 The second entity key prefix, I imagine, should match the first since
 they have the same ancestor.

 Two questions:
 1) If I query on a range of keys, is there any performance gain by
 filtering on the ancestor as well?
 2) Can you confirm that this is some internal Datastore bug?

 Last bit of information,  I believe this bug started when I created
 new __key__ indexes, which I didn't think I needed, but they get
 generated anyways from the auto-generate-indexes code.

 Thanks,
 Clay


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




-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
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] Re: Select columns

2010-02-15 Thread Jeff Schnitzer
You will likely find it good practice to keep a createdDate (and
possibly a modifiedDate) in all of your entities.  Makes debugging
easier, and if you're looking for this kind of pagination, there you
go.  Trying to abuse the key system for these purposes seems a bit
hazardous.

That said, you can always generate your own String name as part of the
key.  This is not a trivial task given the distributed nature of
appengine.

Jeff

On Sat, Feb 13, 2010 at 8:12 AM, Manny S manny.m...@gmail.com wrote:
 Hi  Tim,
 Thanks again Tim. A naive question - if I use the datastore generated keys
 and sort by the keys desc (for pagination) the key value of new data
 inserted will be greater than that of previously entered data (if I do a
 keytostring and a string compare?).
 In other words does the datastore generate keys in a order or at random. I
 did some experiments and I found that pagination works according to
 date/time of insert if I  just sort keys by descending but just wanted to
 make sure.
 Regards,
 Manny
 On Sat, Feb 13, 2010 at 1:17 PM, Tim Hoffman zutes...@gmail.com wrote:

 Hi Manny

 Understood.

 You know you can let the system generate the entity identifiers for
 you, and pagination will
 just work (by __key__) any way.  So you don't have to the key_name or
 id at all
 if you don't care what the key is.

 Rgds

 T

 On Feb 13, 1:00 am, Manny S manny.m...@gmail.com wrote:
  Thanks a bunch Tim for your inputs,
 
  My rationale  for adding the date to the appstore generated key is to
  make
  pagination easier. I would do pagination on the key and not add a
  separate
  column for that. (Pagination by date alone will also not solve my
  problem
  since it can have duplicates and hence couple it with the key)
 
  I understand fetching by keys is much faster. Though I don't see a
  scenario
  where I would have to do that now I would like to architect my app where
  that would be possible. However, I do not have anything unique in my
  record
  with which I can set the key. It just contains city name, locality
  details
  and a series of other fields all of which could have duplicates. Any
  ideas
  as to how I can generate unique ids from these or any general pointers
  towards generating unique Ids from data where the data itself does not
  have
  a unique field?
 
  Manny
 
  On Thu, Feb 11, 2010 at 4:49 PM, Tim Hoffman zutes...@gmail.com wrote:
   Hi Manny
 
   Do you really want to do that for a key.  One if the big advantages of
   creating your own keys
   is being able to explicitly get entities by key (1 or more with
   db.get(list_of_keys) which is much
   quicker than a gql or filter.  Making your keys include dates mean you
   will be unlikely to
   guess/know what the keys are in advance.
 
   This of course may not be useful for what you are doing, but worth
   keeping in mind.
 
   Rgds
 
   T
 
   On Feb 11, 2:12 pm, Manny S manny.m...@gmail.com wrote:
Hi Ikai,
 
I did read the documentation and now I have my data structures in
place.
   One
thing I wanted to do and that was not clear from my previous post
was to
append a app generated string (not unique) as a prefix to a
datastore
generated key. For instance, I want to generate a key that has the
 date
   (of
record creation) as a prefix to the datastore generated unique key.
 Is
there a way to do this? I do not want my application to generate
unique
   Ids.
 
From reading through the literature so far, I am guessing that will
not
   be
possible since the datastore keys are generated only at the time
when the
objects are being made persistent.
 
Manny
 
On Wed, Feb 10, 2010 at 3:30 AM, Ikai L (Google) ika...@google.com
   wrote:
 
 Have you read our documentation on KeyFactory?
 
   
 http://code.google.com/appengine/docs/java/datastore/relationships.html
 
 
  http://code.google.com/appengine/docs/java/datastore/relationships.html
   I'd
 try to understand what's going on there. It sounds like you're
 doing it
   the
 right way, but it's up to you to benchmark and find the best
 approach
   for
 what works for you. The usage characteristics of your application
   should
 determine the way your store your data.
 
 On Wed, Feb 3, 2010 at 3:42 AM, Manny S manny.m...@gmail.com
 wrote:
 
 Ikai,
 Based on your inputs I created two data classes that have a
   unidirectional
 one-to-one relationship
 Now, I have two data classes simpledata and detailscol.
 simpledata contains fields A, B, C (and a Key field)
 detailscol just contains field D.
 
 simpledata imports detailscol that contains field D (and a Key
 field).
   It
 also contains an accessor for the detailscol.
 Code:
 simpledata sdata = new simpledata(A,B,C);
 sdata.setKey(null);
 detailscol obj = new detailscol(D);
 sdata.setD(obj);
 
 The keys are generated by the application and then I make the
 data

[google-appengine] Some questions about scalability and feasibility (i.e. trying to do due diligence :))

2010-02-15 Thread peterk
I've sort of been 'visioneering' some web apps that I might implement
on GAE, and as I am inclined to do, I've been thinking about the best-
case scenarios, and scalability to that point.

I note that for billed apps, there's a request limit of 43m requests
per day - calculated from a limit of 500 requests per second.

I've a couple of questions about this - is this based on some average
amount of CPU time used? If so, if an app uses less CPU time on
average for its requests, could it break this limit without applying
to Google for a limit raise? Is it a hard limit, or can it vary up and
down based on CPU time used per request?

Secondly, and about that limit-raise - it seems to be spun as a last
resort in case of extraordinary spikes in traffic. However, what if
your application start to persistently/permanently require significant
amounts of resources in excess of the standard limits? Will Google
accommodate such applications?

For example I was reading about one less well known software-as-a-
service platform out there that mentioned it is processing 4 billion
API requests per month (yes, believe it or not, this service isn't
very high profile, which makes me wonder how many such apps are out
there!). The current limits on GAE bring you to about 1 billion
requests per month, and this assumes an even distribution of requests
over that period (500 per second). But one has to think that with a
'real' application such as the one I mention, its request load will
vary to quite a degree. Some seconds it may need to deal with...1000,
2000, 3000, 4000+ requests in a second. Perhaps more still.

If push came to shove and a GAE app grew to a point where it
permanently/persistently needed resources beyond the current limits,
would Google accommodate this and accommodate growth to the level seen
by the service above?

If you did grow an app to this point on GAE...it would be an absolute
pain in the ass if Google turned around and said 'sorry guys, you'll
have to go somewhere else', particularly given the amount of
'googleness' in the platform, and the difficulty of bringing that
elsewhere if you needed to. So I guess this is why I'm asking
upfront :)

PS: I know we're dealing with a fair bit of pie-in-the-sky here. But I
still think it's a question worth addressing.


-- 
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: Datastore updates in 1.3.1: So much better

2010-02-15 Thread gwstuff
Just thought I'd add my vote of satisfaction here too. Errors that
used to occur in my apps due to timeouts have completely disappeared
since the release. I already had code that would retry failed writes
when they were critical (i.e. the response depended on them) but that
tactic would sometimes take my app over the concurrent request limit.
It would only happen in 0.01% of the requests but I'm glad that it
appears to be gone now.


On Feb 14, 2:00 am, Rob rob.bre...@gmail.com wrote:
 I just had to post to say thanks.  Since the 1.3.1 datastore
 performance improvements and automatic (behind the scenes) retries,
 the number of errors on my apps have been nearly completely
 eliminated.  Even though I had some of the longer requests wrapped in
 retries before, this addition seems to have really cleaned up the rest
 for me.

 Quite satisfied with this update.  Thanks.

 Rob

-- 
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] Width Problem with GWT DialogBox in Chrome, Safari

2010-02-15 Thread Brett Shelley
Hi all,

I am experiencing some problems with the GWT DialogBox in a number of
places.  Basically, the DialogBox gets cut off (width-wise) when in displays
in Chrome and Safari.  The DialogBox appears fine in Internet Explorer and
Mozilla Firefox.  I have attached a screenshot for those interested.

My dialog boxes typically contain a FlexTable, but also simpler
VerticalPanels.  This problem seems systemic - and oddly always appears
after the width exceeds roughly 400 pixels.  I am *not *setting the dialog's
width anywhere.

I can only assume that I am not the first to experience this problem.

I would be grateful to hear from those of you who have encountered this
specific problem and are aware of its root cause.  Naturally, any/all
workarounds for this problem are welcome.

Thank you for your time,

Brett Shelley

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

attachment: GWTwidthbug.jpg

Re: [google-appengine] Width Problem with GWT DialogBox in Chrome, Safari

2010-02-15 Thread 'Αλκης Ευλογημένος
This is the wrong mailing list for this question. You should be posting
here: http://groups.google.com/group/Google-Web-Toolkit

On Mon, Feb 15, 2010 at 8:16 PM, Brett Shelley brett.h.shel...@gmail.comwrote:

 Hi all,

 I am experiencing some problems with the GWT DialogBox in a number of
 places.  Basically, the DialogBox gets cut off (width-wise) when in displays
 in Chrome and Safari.  The DialogBox appears fine in Internet Explorer and
 Mozilla Firefox.  I have attached a screenshot for those interested.

 My dialog boxes typically contain a FlexTable, but also simpler
 VerticalPanels.  This problem seems systemic - and oddly always appears
 after the width exceeds roughly 400 pixels.  I am *not *setting the
 dialog's width anywhere.

 I can only assume that I am not the first to experience this problem.

 I would be grateful to hear from those of you who have encountered this
 specific problem and are aware of its root cause.  Naturally, any/all
 workarounds for this problem are welcome.

 Thank you for your time,

 Brett Shelley

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




-- 

Alkis

-- 
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] Width Problem with GWT DialogBox in Chrome, Safari

2010-02-15 Thread Brett Shelley
Sorry about that.  My apologies.


2010/2/15 Alkis Evlogimenos ('Αλκης Ευλογημένος) evlogime...@gmail.com

 This is the wrong mailing list for this question. You should be posting
 here: http://groups.google.com/group/Google-Web-Toolkit

 On Mon, Feb 15, 2010 at 8:16 PM, Brett Shelley 
 brett.h.shel...@gmail.comwrote:

 Hi all,

 I am experiencing some problems with the GWT DialogBox in a number of
 places.  Basically, the DialogBox gets cut off (width-wise) when in displays
 in Chrome and Safari.  The DialogBox appears fine in Internet Explorer and
 Mozilla Firefox.  I have attached a screenshot for those interested.

 My dialog boxes typically contain a FlexTable, but also simpler
 VerticalPanels.  This problem seems systemic - and oddly always appears
 after the width exceeds roughly 400 pixels.  I am *not *setting the
 dialog's width anywhere.

 I can only assume that I am not the first to experience this problem.

 I would be grateful to hear from those of you who have encountered this
 specific problem and are aware of its root cause.  Naturally, any/all
 workarounds for this problem are welcome.

 Thank you for your time,

 Brett Shelley

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




 --

 Alkis

 --
 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] GAE Email is going to the spam folder. Best Practices to avoid this??

2010-02-15 Thread kghate
Hi All,

I am sending a very standard Account Confirmation email from my GAE
powered website www.smbreviews.com
The idea is simple, an email will sent out from ad...@smbreviews.com
asking recently registered users to confirm their email address, this
is just under development currently.

Everything seems to be working except that the email is very
consistently going to the SPAM folder on gmail, yahoo and hotmail :(

What are we supposed to do here? What are the best practices to ensure
that legitimate small business websites like mine who want to adhere
to all anti-spam policies can avoid having its email ending up in the
spam folder?

Please help!

-- 
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] Is there any way I can test datastore.Timeout

2010-02-15 Thread naan
It's great that SDK 1.3.1 automatically retries timeouted datastore
operation, but I still get enough timeout error on my instance.

The problem of dealing with timeout is there's no way to do unit
testing with timeout error. If SDK has some kind of Emulate datestore
timeout options, it would be very helpful.

-- 
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: Programmatic access the logs

2010-02-15 Thread peterk
Came to ask about this and found your post.

This would be exceptionally useful.

A common use case at the moment seems to be this - a request comes in
with some data, dump the data to memcache, then later on a task might
come along, aggregate data from memcache, and persist it to datastore
in batches, or aggregated results in batches. Saving the datastore
being accessed for every request.

Problem with this, though, is that memcache is not perfectly reliable.
You might lose data.

However...if you had access to the request logs, along with data sent
with a request, you could do a number of things. You could sanity
check your data periodically to check the above approach is 'OK'. Or,
more directly, you could skip the memcaching altogether. You could
just set up a task to process your logs every so often. The data is
all there (at least if you pass your data using GET parameters), and
the logs are, I presume, reliable. So your requests would just
immediately return, and then later you periodically process the logs
and do whatever aggregating and persisting you need to do. For this it
would be handy to be able to programmatically 'regex' the logs you
want to access also...

This saves us processing time of course. And thus could mean less
money for Google. However, I believe Google has to date encouraged and
provided tools for efficient use of GAE. It seems really wasteful to
put data in memcache for later processing if it's already being
recorded more reliably somewhere else by default...as appears to be
the case with the logs.

Cheers,

On Feb 11, 7:41 am, $ÂÑЀ€P sandeep.kod...@gmail.com wrote:
 Is Programmatic access thelogsavailable by now.
 last post states it will be available in future. its long time after
 that was posted

 i need to access the user ips,requesttime and url accessed  for all
 requests, to aggregate user requests.

 my question is, do i have to maintain my own records in datastore/
 memcache.
 or can i have access the data that is already present inlogs.

-- 
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] GAE Email is going to the spam folder. Best Practices to avoid this??

2010-02-15 Thread Barry Hunter
You could setup SPF records on your domain to designate AppEngine as a
permitted sender.

I beleive you can use _netblocks.google.com to delegate. have a look
at how gmail.com does it, can use `dig gmail.com TXT`

Not a magic bullet, but shouldnt harm and is quite easy.


On 15 February 2010 21:45, kghate kgh...@gmail.com wrote:
 Hi All,

 I am sending a very standard Account Confirmation email from my GAE
 powered website www.smbreviews.com
 The idea is simple, an email will sent out from ad...@smbreviews.com
 asking recently registered users to confirm their email address, this
 is just under development currently.

 Everything seems to be working except that the email is very
 consistently going to the SPAM folder on gmail, yahoo and hotmail :(

 What are we supposed to do here? What are the best practices to ensure
 that legitimate small business websites like mine who want to adhere
 to all anti-spam policies can avoid having its email ending up in the
 spam folder?

 Please help!

 --
 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] Re: Lucene/Compass

2010-02-15 Thread Patrick Twohig
Yeah.  I know.  The beta version of Compass supports GAE

On Mon, Feb 15, 2010 at 1:13 AM, Tonny 12br...@gmail.com wrote:

 Not having access to the file system on GAE will prevent you from
 using the out-of-the-box Lucene Index implementations (which uses the
 filesystem).

 On Feb 13, 12:40 am, Patrick Twohig patr...@namazustudios.com wrote:
  I was curious if anybody is using Lucene and Compass and how well it
 works
  in the app engine. I've seen some other posts indicating that it actually
  manages to handle quite a bit of data, but I was curious if anybody else
 out
  there could attest to how well it works.

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




-- 
Patrick H. Twohig.

Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161

-- 
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: Some questions about scalability and feasibility (i.e. trying to do due diligence :))

2010-02-15 Thread ryan
hi peter! thanks for the post.

On Feb 15, 10:49 am, peterk peter.ke...@gmail.com wrote:
 I've sort of been 'visioneering' some web apps that I might implement
 on GAE, and as I am inclined to do, I've been thinking about the best-
 case scenarios, and scalability to that point.

 I note that for billed apps, there's a request limit of 43m requests
 per day - calculated from a limit of 500 requests per second.

there is a soft cap, but it's definitely not a fundamental limit of
the platform, as we explain on the quota increase form:

http://code.google.com/support/bin/request.py?contact_type=AppEngineCPURequest.

we've had plenty of apps scale far beyond 500 qps. the obama
administration's open for questions, for example:

http://googlecode.blogspot.com/2009/04/google-developer-products-help.html

and it was one of the smaller ones.

-- 
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: Is there any way I can test datastore.Timeout

2010-02-15 Thread ryan
On Feb 15, 3:27 pm, naan kaz...@gmail.com wrote:
 It's great that SDK 1.3.1 automatically retries timeouted datastore
 operation, but I still get enough timeout error on my instance.

 The problem of dealing with timeout is there's no way to do unit
 testing with timeout error. If SDK has some kind of Emulate datestore
 timeout options, it would be very helpful.

if you're using methods on the Model or Expando class, you can easily
mock them out with a library like mox and have them raise any
exception you want, or do anything else. if you're using db module
functions directly, you can mock out the entire db module in the same
way.

if you prefer not to use a mock library, you can monkey patch
manually, e.g.:

db.put = lambda x: raise db.Timeout()

-- 
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] Google Calendar Sharing

2010-02-15 Thread Patrick Twohig
Wrong group for this sort of thing.  You need the group for Google Apps not
Google App Engine.

On Thu, Feb 11, 2010 at 3:15 AM, Rajalakshmi Subramanian 
raji.sm...@gmail.com wrote:

 Hi everydody
   I'm working with Google app for domain.Admin want to share user
 A's calendar to user B is it possible do this without A's idpassword.

 Regards
 Rajalakshmi

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




-- 
Patrick H. Twohig.

Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161

-- 
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: Why i don't use Google App Engine... and don't recomend it to you

2010-02-15 Thread ai_...@live.ru
1) Don't be rude with me plz.. i'm not your freind, and i (unlike you)
don't call you stupid.

2) If you call everione who use\used GAE - troll.. Hmmm.. then i have
nothing to say to you.

On 14 фев, 05:43, Wooble geoffsp...@gmail.com wrote:
 This wouldn't happen to most of us because 1) we remember our gmail
 passwords even if our machines are wiped and 2) we're smart enough to
 back up our code and use revision control.  But possibly not smart
 enough to stop feeding the trolls.

 On Feb 13, 6:36 pm, ai_...@live.ru ai_...@live.ru wrote:



  Well i think NOBODY anderstend me...

  I WASTE 6 MONTHS for Google App Engine and right now i get nothing. I
  could not use my sites. I could no edit them. And technical support
  DOSENT WORK AT ALL I don't care how Google App Engine is good. I
  CAN'T USE IT!!!

  So... imagine for a second that you create something huge like
  Facebook. And one day. You lost control for your apps. Lost your time
  and money!!

  Right now i talking that EVERIONE can face with my situation.

  So... save your time. Use other stable cloud services.

  On 12 ÆÅ×, 11:15, Tim Hoffman zutes...@gmail.com wrote:

   But then I have to manage systems, scalablity, load balancing.

   Everything is a trade off ;-)

   T

   On Feb 12, 12:15 pm, Dennis Peterson dennisbpeter...@gmail.com
   wrote:

It's not google's fault, but on the other hand, deploy at Rackspace and 
you
can call them on the phone and sort things out.

On Thu, Feb 11, 2010 at 10:19 PM, Tim Hoffman zutes...@gmail.com 
wrote:
 I access appengine from multiple systems' (access to app engineis not
 tied to a O/S install)
 Looks like you haven't kept track of you gmail accounts.

 Hardly googles or appengines fault.

 T

 On Feb 12, 3:22 am, ai_...@live.ru ai_...@live.ru wrote:
  Well it's a short story. I register an account on App Engine. I 
  made a
  2-3 sites. Everithing was fine and i was happy :)

  But one time i reinstall my operating system (you know what system
  nead to be reainstalled :) ) i get strange error. I coldn't loggin 
  to
  my account. I search for reasons, make post in tech support but i 
  get
  nothing. NO ONE from tech support have contact with me. NO ONE!!!

  But one day i read some smart artice and i finally loged in. But 
  then
  i faced with other bug. When i try to create new site, i get this
  message You have no right to work wot this site. After that i 
  didn't
  see site in my sites list and lose it. So i couldn control him and
  even edit...

  I spend 6 months at Google App Engine to get nothing.

  So... GOOGLE APP ENGINE IS VERRY BAD SERVISE... DON'T USE IT... SAVE
  YOUR TIME..

 --
 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�...@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: Why i don't use Google App Engine... and don't recomend it to you

2010-02-15 Thread ai_...@live.ru
Well i like GAE, but this situation is pissing me off. And you even
want someone to pay money for THAT? o_O

I just want to use servise. I don't want you to suggest somethin. I
want you to help me.

Is it really hard for Google to help people to use they servises?

And please READ THIS ONE MORE TIME.. i think i make it clear that i
don't forget passowrd. And i clearly say what error i have.

But one day i read some smart artice and i finally loged in. But
then
i faced with other bug. When i try to create new site, i get this
message You have no right to work with this site. After that i
didn't
see site in my sites list and lose it. So i couldn control him and
even edit... 

On 14 фев, 15:57, Danny Tuppeny da...@tuppeny.com wrote:
 We understand you. We don't understand why you don't respond to people
 trying to help you.

 Eg. you posted here:

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

 And Wooble made a suggestion (assuming your account was an Apps
 account), but you never replied.

 We can't help you if you just complain and then disappear.

 If you have a problem, try explaining it in more detail. Why can't you
 login? Do you get an error? Did you forget your password? Have you
 lost your source code?

 2010/2/13 ai_...@live.ru ai_...@live.ru:



  Well i think NOBODY anderstend me...

  I WASTE 6 MONTHS for Google App Engine and right now i get nothing. I
  could not use my sites. I could no edit them. And technical support
  DOSENT WORK AT ALL I don't care how Google App Engine is good. I
  CAN'T USE IT!!!

  So... imagine for a second that you create something huge like
  Facebook. And one day. You lost control for your apps. Lost your time
  and money!!

  Right now i talking that EVERIONE can face with my situation.

  So... save your time. Use other stable cloud services.- Скрыть цитируемый 
  текст -

 - Показать цитируемый текст -

-- 
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: Why i don't use Google App Engine... and don't recomend it to you

2010-02-15 Thread ai_...@live.ru
Plz get lost.. I'm talking about Google right now...

On 15 фев, 03:25, Jesaja Everling jeverl...@gmail.com wrote:
 I also recommend bitbucket. There is a free plan that lets you create
 one private repository, and the cheapest paid plan is only 5$ (5
 private repositories). The free plan even offers all the features of
 paid plans except support for CNAMEs.
 You can of course also just clone your repositories to another
 computer or something like dropbox.

 Best Regards,

 Jesaja Everling



 On Sun, Feb 14, 2010 at 6:08 PM, Stephen sdea...@gmail.com wrote:

  On Feb 14, 10:54 am, Danny Tuppeny da...@tuppeny.com wrote:
  There have always been two things that stopped me using Git/Github. I
  do like Git (I use GitX on my Mac for iPhone stuff, and it's great).

  1. I already use Google Code for some open source stuff 
  (eg.http://google-wave-notifier.googlecode.com/) and it'd be nice to keep
  them together.

  2. Last time I checked, there didn't seem to be any native Windows
  support, and the clients sucked (though this might've improved since).

  I'm not sure why Google chose to use Mercurial over Git, but I was
  going to check it out. Not being able to host my private projects
  alongside the open source ones is a PITA though.

  Bitbucket: It's like guthub, but for Mercurial.
  They have a free, private plan. (I haven't personally tried this).

     http://bitbucket.org/plans/

  Most of them (eg. my blog), I don't care about being
  browsable, I just think it's cluttering Google Code with
  personal crap if I was to put it up there :(

  If you're just concerned about backing up private repositories then
  you could always export and either email it to yourself or upload to
  Google Docs.  The export format is highly compressed (more so than the
  Git export format) so unless you are tracking a lot of large binaries
  this will be manageable for a reasonably large project.

  If you are collaborating with another person then you can export
  changesets at the end of the day and email them to each other.  The
  email functionality is built right into Git and Mercurial. This itself
  if a form of backup.

  Last time I checked, there didn't seem to be any native Windows
  support, and the clients sucked

  Mercurial works great on Windows.

  --
  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 
  athttp://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] Memcache: key_prefix vs namespace?

2010-02-15 Thread Nickolas Daskalou
What's the difference between key_prefix and namespace when using the
Memcache.*_multi() functions?

Maybe my understanding of namespace is wrong, but I thought namespace was
basically a (string) prefix on the cache key.

-- 
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] Monitoring HTTPS traffic from app engine - running locally

2010-02-15 Thread mattb
Hello,
  I need to peek at the HTTPS traffic generated by my local instance
of the app-server when debugging.

  How do I configure the local appengine instance to use to a http
proxy for it's web requests?  Or is there a way to configure a proxy
to employed by urlfetch using the urlfetch API (I didn't see anything
in the docs)

  I use Charles on OS-X to peek at web traffic, and it's OS-X Proxy
capture doesn't pick up the urlfetch's I am calling in my Python
appengine app.



  - mattb

PS: I can't simply sniff the packets because my request is HTTPS and I
need Charles or something that understands HTTPS to decrypt the
traffic for me.

-- 
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: Unit testing XMPP service

2010-02-15 Thread skyleecm
hi Dan,

how about using any of XMPP client library to write your tests?

Cheemeng


On Feb 13, 5:44 pm, Dan dka...@gmail.com wrote:
 Hi,

 I've got an app that uses GAE's XMPP service.  I'd like to write some
 unit tests that verify the behavior of the server when it receives
 various messages through this service, but I'm not sure how.  Right
 now I simply test one layer deeper (i.e. I hook straight into the code
 that my servlet would invoke based on the content of the XMPP message
 it receives), but I'd like to be more thorough if possible.

 Is this possible?  I know that there's an XMPP tester built into the
 development console, so I assume there's a way.  Should I just have an
 HTTP client POST to localhost:/_ah/admin/xmpp or is there a better
 way?

 Thanks,
 Dan

-- 
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: 1.3.1 SDK Prerelease - help us verify

2010-02-15 Thread Christian Schuhegger
Hello,

I understand that this is a prerelease, but is there a maven
repository where I can reference this new SDK? I did not find it at:
http://maven-gae-plugin.googlecode.com/svn/repository/com/google/appengine/

-- 
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] Changing a model's property type

2010-02-15 Thread lennysan
I created a model with the type IntegerProperty, and now need to
convet this to a StringProperty. I tried to follow the direction of
http://code.google.com/appengine/articles/update_schema.html, but I
can't seem to get around a BadValueError when fetching the data. Is
there any way to do this?

Thanks in advance.

-- 
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] Unable to Sign up for Google App Engine

2010-02-15 Thread intermension
There appears to be a problem with the Google Apps sign up service
at :

https://appengine.google.com/start

At the above URL, there is an button to Create An Application.
Clicking that button redirects to a Verify Your Account by SMS form.

Since a New Zealand mobile phone number is to be used for the SMS
verification the Other (Not Listed) is selected and the mobile phone
number entered.

Clicking send generates a red dialog box that states There were
errors mobile number or username.
No other information is offered. No problems were encountered using
sms verification for other Google wares.

How can more detail about the problem be obtained?
What is the resolution to this problem?

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] Moving domain to Google App Engine

2010-02-15 Thread Martijn
I'm investigating the possibilities of Google App Engine for a
website. I've come to the point of moving the website from the old PHP
host to GAE.

The site has it's own domain and e-mail addresses attached to this
domain. Because I don't need the services of the old host anymore, I'd
like to move the domain to Google. The MX-record for the domain is
linked to our own mail server.

Now this is my point of confusion. It's absolutely vital that no e-
mail will be lost during the transfer to GAE. I spent quite some time
reading the boards but I can't really find an answer to my question...

Can anybody tell me how to assure no e-mail goes lost during the
domain transfer?

-- 
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: App Engine SDK 1.3.1 is out!

2010-02-15 Thread reallife
Quick question: I understand how to set up the custom wildcard domain
(as described here: http://code.google.com/appengine/docs/domain.html)
but I am unsure how to map this within my application. I could not
find any Python code examples in the documentation. Any suggestions
are very much appreciated! :)

Thanks

On Feb 13, 6:21 pm, Danny Tuppeny da...@tuppeny.com wrote:
 Excellent, thanks for pointing this out, I should've checked :-)

 On 13 February 2010 17:36, Barry Hunter barrybhun...@googlemail.com wrote:



  From the documentation:

  If you have administrator-only pages in your application that are used
  to administer the app, you can have those pages appear in the
  Administration Console. The Administration Console includes the name
  of the page in its sidebar, and displays the page in an HTML iframe.

-- 
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] Servelts jsp

2010-02-15 Thread kizito
people i am really new and seeking for help.
I have a project in app engine application. i have started by reading
on the net but i cant get thing right.

I see code in servlet is the same with code in jsp

My question is that, is it possible to use Jsps with javabeans without
using servlets to develop applications?

somebody help

-- 
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] what is the free quota of GAE?

2010-02-15 Thread oscar

I only find this,but no cpu cycle that we can free use...


Hard limits
Quota   Limit
Apps per developer  10
Time per request30 sec
Files per app   3,000
HTTP response size  10 MB
Datastore item size 1 MB
Application code size   150 MB

Quota   Limit
Emails per day  2,000
Bandwidth in per day1,000 MB
Bandwidth out per day   1,000 MB
CPU time per day6.5 hours per day
HTTP Requests per Day   1,300,000*
Datastore API calls per day 10,000,000*
Data stored 1 GB
URLFetch API calls per day..657,084*

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] BotNet/DDoS Attack on my App Engine site ?

2010-02-15 Thread Madhukar
I have a simple website at http://www.dollar2rupee.net/ which uses App
Engine. I used to get anywhere between 100 to 1000 visits a day. But
today App Engine is reporting 296K requests only in past few hours and
I'm already over the quota limit. I have disabled the app temporarily
now. Is this some kind of BotNet/DDoS Attack on my site or is this an
error ? Fortunately I haven't enabled billing. What should I do to
report it to Google ?

-- 
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] 1.3.1 on linux

2010-02-15 Thread andreas schmid
mine is working fine on ubuntu karmic.

Tonny wrote:
 Hi

 Running 1.3.1 under Linux gives me this.

   File /opt/google_appengine/google/appengine/ext/db/__init__.py,
 line 1563, in get
 rpc = datastore.GetRpcFromKwargs(kwargs)

 Any bode else trying to run 1.3.1 on Linux?

 I also had a heap of problems running 1.3.1 on OS X, but they could be
 worked around, and is a different story - maybe I should post it
 later.

 Regards
 Tonny

   

-- 
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] Google Searchable site .. Displaying Array list help

2010-02-15 Thread Avis developer
Hi,

I hav 2 questions..

1.)  I tried searchng my application in google,it never came in the
list..
  why s t so.. How to make it appear in the list...


2.) I have a array list with say 50 items..I need to display it
sequentially in several pages with each page having 10 items..Like the
option in orkut for displaying scraps.. How is t to be done..the size
varies dynamically , so the no of items no of pages also changes
dynamically..

thanks in advance for the reply..

-- 
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] Moving domain to Google App Engine

2010-02-15 Thread Robert Kluin
Just be sure the MX entries continue pointing to your mail server.
Aside from you creating a CNAME record, GAE will not impact your DNS
at all.


Robert






On Mon, Feb 15, 2010 at 9:44 AM, Martijn keloys...@gmail.com wrote:
 I'm investigating the possibilities of Google App Engine for a
 website. I've come to the point of moving the website from the old PHP
 host to GAE.

 The site has it's own domain and e-mail addresses attached to this
 domain. Because I don't need the services of the old host anymore, I'd
 like to move the domain to Google. The MX-record for the domain is
 linked to our own mail server.

 Now this is my point of confusion. It's absolutely vital that no e-
 mail will be lost during the transfer to GAE. I spent quite some time
 reading the boards but I can't really find an answer to my question...

 Can anybody tell me how to assure no e-mail goes lost during the
 domain transfer?

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



[google-appengine] Re: GAE Email is going to the spam folder. Best Practices to avoid this??

2010-02-15 Thread kghate

Thanks Barry.
I made the changes as per this article 
http://www.google.com/support/a/bin/answer.py?hl=enanswer=33786
Are these are the changes that you meant?



On Feb 15, 4:20 pm, Barry Hunter barrybhun...@googlemail.com wrote:
 You could setup SPF records on your domain to designate AppEngine as a
 permitted sender.

 I beleive you can use _netblocks.google.com to delegate. have a look
 at how gmail.com does it, can use `dig gmail.com TXT`

 Not a magic bullet, but shouldnt harm and is quite easy.

 On 15 February 2010 21:45, kghate kgh...@gmail.com wrote:



  Hi All,

  I am sending a very standard Account Confirmation email from my GAE
  powered websitewww.smbreviews.com
  The idea is simple, an email will sent out from ad...@smbreviews.com
  asking recently registered users to confirm their email address, this
  is just under development currently.

  Everything seems to be working except that the email is very
  consistently going to the SPAM folder on gmail, yahoo and hotmail :(

  What are we supposed to do here? What are the best practices to ensure
  that legitimate small business websites like mine who want to adhere
  to all anti-spam policies can avoid having its email ending up in the
  spam folder?

  Please help!

  --
  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 
  athttp://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] Extra Developer don't see the application, can't upload the app

2010-02-15 Thread Mehdi
I added a developer to my application.
The status on the developers tab shows Active. But he signs in his
account, he can't see the application.
He can't upload the app either.

-- 
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] Re: App Engine SDK 1.3.1 is out!

2010-02-15 Thread Danny Tuppeny
When you setup extra domains, they'll all just run the same scripts.
However in your scripts you can read the host header using:

os.environ.get('HTTP_HOST')

This will contain the full domain (eg. mysub.mydomain.com), which you
could use to do output different content.

Hope this helps,

Danny




On 15 February 2010 19:42, reallife fili...@gmail.com wrote:
 Quick question: I understand how to set up the custom wildcard domain
 (as described here: http://code.google.com/appengine/docs/domain.html)
 but I am unsure how to map this within my application. I could not
 find any Python code examples in the documentation. Any suggestions
 are very much appreciated! :)

 Thanks

 On Feb 13, 6:21 pm, Danny Tuppeny da...@tuppeny.com wrote:
 Excellent, thanks for pointing this out, I should've checked :-)

 On 13 February 2010 17:36, Barry Hunter barrybhun...@googlemail.com wrote:



  From the documentation:

  If you have administrator-only pages in your application that are used
  to administer the app, you can have those pages appear in the
  Administration Console. The Administration Console includes the name
  of the page in its sidebar, and displays the page in an HTML iframe.

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



[google-appengine] Re: Moving domain to Google App Engine

2010-02-15 Thread Martijn
Thanks for the reply Robert, it's quite clear now.

Just a quick follow-up question: I can also keep my current hosting
provider to host the domain (DNS) only. This way nothing will change
in the MX-records.

If I understand correctly I have to do this next:

- I will have to add the domain to Google Apps
- Make a CNAME record pointing to ghs.google.com there so I can access
my app at www.mydomain.com (or [subdomain].mydomain.com).
- I will have add an A record as well for http://mydomain.com.

Is this correct?

And if I want to add an SSL certificate to https://[subdomain].mydomain.com,
can I do this at the Google Apps or at my old hosting provider?

On 16 feb, 06:13, Robert Kluin robert.kl...@gmail.com wrote:
 Just be sure the MX entries continue pointing to your mail server.
 Aside from you creating a CNAME record, GAE will not impact your DNS
 at all.

 Robert



 On Mon, Feb 15, 2010 at 9:44 AM, Martijn keloys...@gmail.com wrote:
  I'm investigating the possibilities of Google App Engine for a
  website. I've come to the point of moving the website from the old PHP
  host to GAE.

  The site has it's own domain and e-mail addresses attached to this
  domain. Because I don't need the services of the old host anymore, I'd
  like to move the domain to Google. The MX-record for the domain is
  linked to our own mail server.

  Now this is my point of confusion. It's absolutely vital that no e-
  mail will be lost during the transfer to GAE. I spent quite some time
  reading the boards but I can't really find an answer to my question...

  Can anybody tell me how to assure no e-mail goes lost during the
  domain transfer?

  --
  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 
  athttp://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.