Re: [appengine-java] Re: Help Me..!

2011-05-04 Thread kartik kudada
Hi Rambo,

Have you installed  google plugin for eclipse?
If it is installed, you can upload your application from eclipse.

Regards,
kartik



On Wed, May 4, 2011 at 11:04 AM, Rambo ramkumarpec...@gmail.com wrote:

 My project is not a web application project, its purely java
 project,
 I want to deploy it in GAE..

 On May 3, 7:17 pm, Felipe Teixeira
 felipe.teixe...@ipnetsolucoes.com.br wrote:
  i´m not understand,
 
  a simple deploy to google appengine , in eclipse..
 
  your application going to GAE.
 
  2011/5/3 Rambo ramkumarpec...@gmail.com
 
 
 
 
 
 
 
 
 
   Hi friends..!
  I am doing a small project in java using spreadsheet api to read
   and write data's in the Google spreadsheet. I finished it
   successfully.
  Now i wanna to upload it to GAE
 
  Please give me some suggestions.
 
   Thanks in Advance
 
   --
   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.
 
  --
  *Felipe Teixeira*
  *Desenvolvedor Java
  *
  IPNET - Soluções  em Informática
  Tel.: 55 21 3553 2717 / 21-7805-6867
  Rua Visconde de Inhaúma, 134, Sala 615
  Centro - RJ - CEP: 20091-007
  *http://www.ipnetsolucoes.com.br*

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



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



[appengine-java] Channel API limit

2011-05-04 Thread Sinan Yuce
Hi,

I am glad that GAE team increased the channel API limits. Here are new 
limits:
Channel API Calls
[image: 0%]
0%0 of 91,995,495OkayChannels Created
[image: 0%]
0%0 of 95,040OkayChannel Data Sent
[image: 0%]
0%0.00 of 2,088.13 GBytesI still believe that number of channels created is 
too low (though I do not have problem with limits of Channel API calls and 
channel data sent). Since my application will heavily depend of channels, I 
believe that in near future i will exceed the number of channels created. Is 
there a way that we can request to increase the number of channels for 
specific applications?

Thanks,

(By the way since my application is limited to very few people, I do not 
have any issue right now. But when we go to full production, it will be a 
huge issue, and this is the concern that bothers us the most).

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



[appengine-java] Re: Help Me..!

2011-05-04 Thread Rambo
Its installed

When i tried to deploy the project, simply its shows the message that
The current project is not an App Engine project..

On May 4, 11:07 am, kartik kudada kartik.kud...@gmail.com wrote:
 Hi Rambo,

 Have you installed  google plugin for eclipse?
 If it is installed, you can upload your application from eclipse.

 Regards,
 kartik







 On Wed, May 4, 2011 at 11:04 AM, Rambo ramkumarpec...@gmail.com wrote:
  My project is not a web application project, its purely java
  project,
  I want to deploy it in GAE..

  On May 3, 7:17 pm, Felipe Teixeira
  felipe.teixe...@ipnetsolucoes.com.br wrote:
   i´m not understand,

   a simple deploy to google appengine , in eclipse..

   your application going to GAE.

   2011/5/3 Rambo ramkumarpec...@gmail.com

Hi friends..!
   I am doing a small project in java using spreadsheet api to read
and write data's in the Google spreadsheet. I finished it
successfully.
   Now i wanna to upload it to GAE

   Please give me some suggestions.

Thanks in Advance

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

   --
   *Felipe Teixeira*
   *Desenvolvedor Java
   *
   IPNET - Soluções  em Informática
   Tel.: 55 21 3553 2717 / 21-7805-6867
   Rua Visconde de Inhaúma, 134, Sala 615
   Centro - RJ - CEP: 20091-007
   *http://www.ipnetsolucoes.com.br*

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

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



Re: [appengine-java] A couple of datastore questions!

2011-05-04 Thread Muhammad Ijaz Khan
so no other way?

On Wed, May 4, 2011 at 12:08 AM, Muhammad Ijaz Khan aija...@gmail.comwrote:

 This is exactly what I am doing for now but was wondering if there is a
 better way and better way of loading the actual object from key. Thanks for
 your comment as it reduced my loneliness :)

 On Wed, May 4, 2011 at 12:03 AM, Luca Matteis lmatt...@gmail.com wrote:

 Owned relationships are a bit weird in my opinion. I was having your
 same issue. I had a `MyImage` class that was defined inside two
 different classes. This didn't work... I didn't quite understand why
 and so to avoid all weirdness I decided that for more complex
 relationship cases I would always use unowned relationships (defining
 the Key of the reference object instead of the object itself).

 So I only use owned relationships when the child object can only exist
 under 1 (and only 1) parent.

 Hope this helped... it's only what I experienced... I'm not a JDO expert.

Luca

 On Tue, May 3, 2011 at 10:51 PM, Muhammad Ijaz Khan aija...@gmail.com
 wrote:
  Hi,
  I am building an application and have used JDO for datastore for
  implementing use cases. Now when I am implementing the backend machine
 which
  is a bit complex in relationships among objects then I am facing hard
 times
  with JDO (May be due to lack of my knowledge). I have following
 questions to
  ask,
  1. Can I use reference of objects in more than one classes? For example,
  Class A is persistent and being used as foreign key in Class B and Class
 C.
  Do I need to create unowned relationships through Key or can I use some
  annotation (or something) to mark a field of type A as foreign key? When
 I
  make a field of type A in class B, and assign an object of class A to
 it, it
  is stored as new object as child of B :s
  2. Can I use objectify for this use case only (mixing with jdo) and will
 it
  simplify stuff or not, any experience comment?
  Thanks in advance.
  regards
  Ijaz
 
  --
  You received this message because you are subscribed to the Google
 Groups
  Google App Engine for Java group.
  To post to this group, send email to
 google-appengine-java@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 

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




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



Re: [appengine-java] Re: GAE Teams Content-Transfer-Encoding: base64 data uploads don't work.

2011-05-04 Thread Brandon Donnelson
FYI: (will store in issue too, and post to GWT issues)

I noticed is Base64Utils a $ for the 63 character. Docs show 63 being a / 
char. 
http://en.wikipedia.org/wiki/Base64#Variants_summary_table . I'm not sure 
which Base64 variant is being used in app engine, but I am assuming mime. 
I'm wondering if this has anything to do with some of the other appengine 
stuff? I'm going to post this to GWT as well.

Snippet from GWT lib

package com.google.gwt.user.server;

/**
 * A utility to decode and encode byte arrays as Strings, using only safe
 * characters.
 */
public class Base64Utils {

  /**
   * An array mapping size but values to the characters that will be used to
   * represent them. Note that this is not identical to the set of characters
   * used by MIME-Base64.
   */
  private static final char[] base64Chars = new char[] {
  'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N',
  'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b',
  'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
  'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3',
  '4', '5', '6', '7', '8', '9', '$', '_'};

//...
}

Javascript canvas is feeding me this snippet: 
/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAICAgICAQICAgICAgIDAwYEAwMDAwcFBQQGCAcICAgH
   
Brandon Donnelson
http://gwt-examples.googlecode.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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: GAE Teams Content-Transfer-Encoding: base64 data uploads don't work.

2011-05-04 Thread Brandon Donnelson
Oops I think the 62 (zero ordinal index) should be a +.

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



[appengine-java] How to write an article for the Google App Engine documentation?

2011-05-04 Thread expressFlow
Hi Google App Engine Community!
 
I am interested in publishig an article in the Google App Engine 
Documentation. We are working on a Java open-source workflow engine for the 
Google App Engine and we think, that our experiences during the development 
are worth sharing it with the community.
Does anybody know, how to proceed on this issue?
 
Thanks a lot for your information!
 
Kind regards,
Martin
 

http://expressFlow.com http://expressflow.com/
Simple, fast and flexible workflow design
 

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



[appengine-java] user api: logout link logs me out of google account instead of just my app?

2011-05-04 Thread hst
Hi,

I have an app for which I enabled login via google accounts with the user 
api. I proceeded following the documentation, in particular I provide the 
logout link created by userService.createLogoutURL() to the user. 

The (big!) problem is that when users click on this link, they don't only 
get signed out of our app, but out of their google account entirely, i.e. 
gmail, google docs, and everything else that uses this account.

Is there a way to avoid this behavior? I really cannot release our app like 
that, people are going to fry me.

Cheers,
hst

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



[appengine-java] Stripes + UrlBinding + Google App Engine

2011-05-04 Thread Pauli Savolainen
Hello

I am developing a Stripes webapp with Google App Engine. I have run into a 
problem trying to implement clean URLs using Stripes' UrlBinding annotation 
and the DynamicMappingFilter.

I have configured my action to answer to URL /hoblaa i.e. I have a 
@UrlBinding('/hoblaa) in my ActionBean. This result apparently in some 
sort of a redirect loop. The address bar looks like this 
/hoblaa/;jsessionid=lr9opztbd98s and the page could not 
be served.

ActionBeans without the @UrlBinding work as expected.

Also, what strikes me odd, is that in my development environment (running 
the app locally on eclipse) the @UrlBinding works OK and /hoblaa does what 
it is expected to.

The DynamicMappingFilter document says that checks for 404 and then tries to 
find appropriate ActionBean for the URL. Could it be that App Engine does 
not like this sort of a method?

My filter/servlet mappings in the web.xml are (ommitted the servlet and 
filter declarations):
  servlet-mapping
  servlet-nameDispatcherServlet/servlet-name
  url-pattern*.action/url-pattern
  /servlet-mapping
  filter-mapping
filter-nameStripesFilter/filter-name
url-pattern*.jsp/url-pattern
dispatcherREQUEST/dispatcher
dispatcherFORWARD/dispatcher
  /filter-mapping
  filter-mapping
filter-nameStripesFilter/filter-name
servlet-nameDispatcherServlet/servlet-name
dispatcherREQUEST/dispatcher
dispatcherFORWARD/dispatcher
  /filter-mapping
  filter-mapping
filter-nameDynamicMappingFilter/filter-name
url-pattern/*/url-pattern
dispatcherREQUEST/dispatcher
dispatcherFORWARD/dispatcher
dispatcherINCLUDE/dispatcher
  /filter-mapping

I would greatly appreciate some insight on this. Is it an App Engine 
specific issue or have I configure something wrong? I don't think I have 
misconfigured anything since all is fine in development environment, but who 
knows.

Thanks
Pauli Savolainen

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



Re: [appengine-java] user api: logout link logs me out of google account instead of just my app?

2011-05-04 Thread Jon McAlister
To log the user out of just your app, but not out of google, just
delete the ACSID or SACSID cookie from your domain.

On Wed, May 4, 2011 at 9:33 AM, hst hstoer...@gmail.com wrote:
 Hi,
 I have an app for which I enabled login via google accounts with the user
 api. I proceeded following the documentation, in particular I provide the
 logout link created by userService.createLogoutURL() to the user.
 The (big!) problem is that when users click on this link, they don't only
 get signed out of our app, but out of their google account entirely, i.e.
 gmail, google docs, and everything else that uses this account.
 Is there a way to avoid this behavior? I really cannot release our app like
 that, people are going to fry me.
 Cheers,
 hst

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


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



[appengine-java] Re: Objectify: IllegalAccessError

2011-05-04 Thread GeneralSlaine
Hi all,
Thanks for you feedback, I found the solution:

1) Indeed an upgrade was required to 1.4.3 app engine
2) Next to that I have this : inherits
name=com.googlecode.objectify.Objectify / to gwt.xml
found here: 
http://www.fishbonecloud.com/2010/11/use-objectify-to-store-data-in-google.html


BR


On 3 mei, 22:50, Felipe Teixeira
felipe.teixe...@ipnetsolucoes.com.br wrote:
 Hi, Brother,

 Your solution ;

 Objectify ofy = ObjectifyService.begin();
  ObjectifyService.register(AutorizacaoDAO.class);
     com.googlecode.objectify.QueryAutorizacaoDAO q =
 ofy.query(AutorizacaoDAO.class).filter(email,
         email).filter(senhaautorizada, senha);

 2011/5/2 GeneralSlaine lennart.ben...@gmail.com









  Hi all,

  I'm a first time user of objectify and  I'm implementing the
  intorduction (with slightly modified classes). When calling
  ObjectifyService.begin() I already run into trouble: an
  IllegalAccessError is thrown:

         //Some objectify Test code
         ObjectifyService.register(Website.class);

         Objectify ofy = ObjectifyService.begin();

  Exception:

  java.lang.IllegalAccessError: tried to access method

  com.google.appengine.api.datastore.DatastoreServiceFactory.getAsyncDatastor 
  eService(Lcom/
  google/appengine/api/datastore/DatastoreServiceConfig;)Lcom/google/
  appengine/api/datastore/AsyncDatastoreService; from class
  com.googlecode.objectify.ObjectifyFactory
         at

  com.googlecode.objectify.ObjectifyFactory.getRawAsyncDatastoreService(Objec 
  tifyFactory.java:
  159)
         at

  com.googlecode.objectify.ObjectifyFactory.getAsyncDatastoreService(Objectif 
  yFactory.java:
  138)
         at
  com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
  185)
         at
  com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
  176)
         at
  com.googlecode.objectify.ObjectifyService.begin(ObjectifyService.java:
  29)
         at com.fourture.catalog.server.UserServlet.doGet(UserServlet.java:
  23)\
  

  Any idea ?

  BTW: I'm implementing Objectify in the context of the following
  discussion on avoiding Data Transfer Objects:

 http://groups.google.com/group/google-appengine-java/browse_thread/th...

  BR

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

 --
 *Felipe Teixeira*
 *Desenvolvedor Java
 *
 IPNET - Soluções  em Informática
 Tel.: 55 21 3553 2717 / 21-7805-6867
 Rua Visconde de Inhaúma, 134, Sala 615
 Centro - RJ - CEP: 20091-007
 *http://www.ipnetsolucoes.com.br*

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



Re: [appengine-java] How to write an article for the Google App Engine documentation?

2011-05-04 Thread Ikai Lan (Google)
Hi Martin!

We welcome requests to write guest articles, but do know that just because
you submit an article does not mean it will necessarily be accepted. Here's
a recent article that was written by guests:

http://code.google.com/appengine/articles/fantasm.html

The writing and content are extremely high quality. Feel free to email me
off list. I'm pretty busy until after Google I/O, but I'd like to have a
look at what you've done.

We try to promote articles that demonstrate common problems or explain how
open source projects were written. I took a look at the link in your
signature. It seems like you would be advertising a product and not an open
source library/framework. We generally don't accept these topics - can you
elaborate on your idea?

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Wed, May 4, 2011 at 7:39 AM, expressFlow doktor.va...@gmail.com wrote:

 Hi Google App Engine Community!

 I am interested in publishig an article in the Google App Engine
 Documentation. We are working on a Java open-source workflow engine for the
 Google App Engine and we think, that our experiences during the development
 are worth sharing it with the community.
 Does anybody know, how to proceed on this issue?

 Thanks a lot for your information!

 Kind regards,
 Martin

 
 http://expressFlow.com http://expressflow.com/
 Simple, fast and flexible workflow design
  

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


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



[appengine-java] Re: user api: logout link logs me out of google account instead of just my app?

2011-05-04 Thread Brandon Donnelson
You could try nulling the Cookie that is created.

Brandon Donnelson
http://gwt-examples.googlecode.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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] JSP code changes don't auto compile on development server

2011-05-04 Thread Santosh Ravindranath
Hi,

When I make JSP code changes while the embedded development server(in
Eclipse)  is running, the changes do not reflect immediately on save.

I have to go and delete the temp data manually. This is really
tedious. Is this supposed to be this way? Or am I missing something?

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



Re: [appengine-java] warmup requests going crazy (9850 requests in 15 hours)

2011-05-04 Thread Ikai Lan (Google)
Can anyone else experiencing this add details here?

http://code.google.com/p/googleappengine/issues/list?cursor=4984

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Wed, May 4, 2011 at 3:33 PM, Matt Farnell mfarn...@gmail.com wrote:

 Hi there,

 My app is going crazy with warmup requests, here's the dashboard

  URI  Req/Mincurrent Requestslast 16 hrs Avg CPU (API)last hr % CPUlast 16
 hrs
 /_ah/warmuphttps://appengine.google.com/logs?version_id=1.350168112217871336app_id=memapapifilter_type=labelsfilter=path%3A%22%2F_ah%2Fwarmup%22severity_level_override=1view=Search
  26.0 9.85K 1876 (0) 98%
 This has only started happening today?


 --
 thanks,
 *Matt Farnell*
 *follow on twitter http://twitter.com/lepah*

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


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



Re: [appengine-java] warmup requests going crazy (9850 requests in 15 hours)

2011-05-04 Thread Matt Farnell
That url doesn't work, I'm assuming you mean
http://code.google.com/p/googleappengine/issues/detail?id=4984


On Wed, May 4, 2011 at 5:08 PM, Ikai Lan (Google) ika...@google.com wrote:

 Can anyone else experiencing this add details here?

 http://code.google.com/p/googleappengine/issues/list?cursor=4984

 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog: http://googleappengine.blogspot.com
 Twitter: http://twitter.com/app_engine
 Reddit: http://www.reddit.com/r/appengine



 On Wed, May 4, 2011 at 3:33 PM, Matt Farnell mfarn...@gmail.com wrote:

 Hi there,

 My app is going crazy with warmup requests, here's the dashboard

  URI  Req/Mincurrent Requestslast 16 hrs Avg CPU (API)last hr % CPUlast
 16 hrs
 /_ah/warmuphttps://appengine.google.com/logs?version_id=1.350168112217871336app_id=memapapifilter_type=labelsfilter=path%3A%22%2F_ah%2Fwarmup%22severity_level_override=1view=Search
  26.0 9.85K 1876 (0) 98%
 This has only started happening today?


 --
 thanks,
 *Matt Farnell*
 *follow on twitter http://twitter.com/lepah*

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


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




-- 
thanks,
*Matt Farnell*
*follow on twitter http://twitter.com/lepah*

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



[appengine-java] Re: Migration of data to HR Datastore

2011-05-04 Thread bixby
OK Guys,

Someone must know whether this is possible or not..

There are only two options
- somehow migrate the BlobInfo data across to the HR app
- manually upload all the blobs again and update the references to
BlobKeys in the entity data

I'm hoping to avoid the latter.

Any input on this would be appreciated






On Apr 25, 12:21 am, bixby p...@bixby.co.nz wrote:
 I'm looking at migrating my existing app to a new one using the HR datastore
 but am having trouble copying data.  I've successfully copied all my Entity
 data in to my new app but one thing I can't seem to do is copy the BlobInfo
 that my entities reference.  Am I missing something here?

 I've been using the remote api and appcfg.py and have also tried the
 datastore admin tool but that doesn't seem to support namespaces.  I can
 download the BlobInfo but cannot upload it.

 Does anyone have any idea how to copy BlobInfo to a new app?

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



[appengine-java] Query on date

2011-05-04 Thread Ramesh
Hi all,
Even after searching i am not able to see any correct answer on how to
work with GAE java dates.

My Model:
/**
 */
@Entity
@Table(name = testDetail)
public class TestDetail {

/**
 *
 */
private static final long serialVersionUID = 1L;

/**
 */
@Column(name = spreadSheetName, length = 2000, nullable = false)
private String spreadSheetName;

   /**
 * The date the entity was created.
 */
@Column(name = created_on, nullable = false)
@Temporal(TemporalType.TIMESTAMP)
private Date createdOn;

/**
 * The date the entity was last modified.
 */
@Column(name = modified_on, nullable = false)
@Temporal(TemporalType.TIMESTAMP)
private Date modifiedOn;

/**
 */
@Column(name = id, nullable = false)
@GeneratedValue(strategy=GenerationType.SEQUENCE)
@Id
private Long id;

//all setters and getters
}

And the dates in GAE datastore is stored in this format Sat Apr 23
18:25:28 UTC 2011

I am using JPA and my dao looks like this

public class TestDetailDaoImpl extends JpaDaoSupport {

@Autowired
public TestDetailDaoImpl(EntityManagerFactory entityManagerFactory){
setEntityManagerFactory(entityManagerFactory);
}

public ListTestDetailDetail findAllByDate(Date fromDate, Date
toDate) {
ListTestDetail testDetailList=null;//ListObject[]
try{
String query=Select  from 
+TestDetail.class.getName()+ where
createdOn=+fromDate.getTime()+ and createdOn +toDate.getTime()
+;
log.info(query);
testDetailList=getJpaTemplate().find(query);
log.info(testDetailList:+testDetailList);
}
catch(RuntimeException re){
re.printStackTrace();
throw re;
}
return testDetailList;
}

}

The above findAllByDate method always returns zero rows, even it has
data valid in it.

Can any one please tell me how should i handle dates in java.
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-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.