[appengine-java] java.io.FileNotFoundException: logging.properties.

2011-01-19 Thread Dzmitry Lazerka
Hi folks,
I've created default GAE 1.4.0 project in Eclipse Galileo.
1. Changed .level = FINE, but don't see log messages of level FINE and
lower in console. INFO and higher are shown as intended.
2. The same for .level = FINER, FINEST and ALL.

-- 
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] Store objects from a desktop application

2011-01-19 Thread Joshua Lückers
Hello,

I am writing a desktop application with Swing. Now I want to store
objects in the Google App Engine datastore.
Users do have to login with their Google Account before they can use
the application. The objects (Tasks, I am writing a task manager) will
be stored in the datastore.

Can someone point me in the right direction how I can accomplish this?

-- 
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] .startsWith does not work on production

2011-01-19 Thread Dzmitry Lazerka
STEPS TO REPRODUCE:
1. Create default GAE 1.4.0 project in Eclipse Galileo.
2. Execute
Query query = pm.newQuery(MyRecord.class);
query.setFilter(myfield.startsWith(:1));
query.setRange(0, 10);
ListMyRecord records = (ListMyRecord) query.execute(myValue);
OBSERVED:
1. Works OK in Dev env.
2. Returns no results on Prod. No error messages, just
EXPECTED:
1. At least work or do not work simultaneously.

-- 
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: Store objects from a desktop application

2011-01-19 Thread Didier Durand
Hi,

You have to use the official App Engine User Service: it is based on
regular Google login

See to start http://code.google.com/appengine/docs/java/users/

You can also go the GWT tutorial to get some working samples:
http://code.google.com/webtoolkit/doc/1.6/tutorial/appengine.html#user

come back if you need more

regards

didier

On Jan 19, 9:50 am, Joshua Lückers joshualuck...@gmail.com wrote:
 Hello,

 I am writing a desktop application with Swing. Now I want to store
 objects in the Google App Engine datastore.
 Users do have to login with their Google Account before they can use
 the application. The objects (Tasks, I am writing a task manager) will
 be stored in the datastore.

 Can someone point me in the right direction how I can accomplish this?

-- 
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] Sample to read Log

2011-01-19 Thread Guillaume B.
Hello

./appengine-java-sdk/bin/appcfg.sh permits to extract log from an appengine 
application
and this shell call a java library gicen with the java appengine sdk

does someone has already read logs directly in java using the sdk ?

is there sample to do that

the goal is to avoid to read logs in a flat file and after have to treat that 
file
I can rea log in java and do a direct treatment on that

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.



[appengine-java] Re: basic understanding of PersistenceManger

2011-01-19 Thread WillSpecht
You can look at the local datastore at localhost:/_ah/admin   Also
if you are storing things in an arraylist you should be using
pm.makePersistentAll(gcalendar).  This is because this is only one api
call instead of how ever many objects are in your arraylist, plus its
less code.  to erase entries you can use the datastore viewer or
delete the local datastore which is descrbed well in this answer on
stackoverflow 
http://stackoverflow.com/questions/1062540/how-to-delete-all-datastore-in-google-app-engine/1062553#1062553

On Jan 15, 3:05 am, soujiro0725 soujiro0...@gmail.com wrote:
 Hi I'm a newbie in App Engine.
 Right now, I am trying to develop an application myself, but my basic
 understanding is weak.  So someone, please clarify my knowledge.

 The question is HOW to store the data and to know what is stored.

 Say, I have my own class like,

 GCalendar(String date, String day, String time, String content)

 The variable date can be either a Date object or simply a String
 object as long as the information (such as 2010/12/14) can be stored
 and retrieved.

 Since an instance of this class represents one event, I want an array
 of this class like,

 ListGCalendargcalendar = new ArrayListGCalendar();

 After obtaining data, I want to store them into Bigtable, so

 //-
 PersistenceManager pm = PMF.get().getPersistenceManager();
 for (int j = 0; j  gcalendar.size(); j++){
     try {
         pm = PMF.get().getPersistenceManager();
         pm.makePersistent(gcalendar.get(j));
     } finally {
         pm.close();
     }}

 //-
 Is this enough?

 The reason I'm asking is that I have no idea what is being stored as
 the instance, namely pm.
 GCalendar object, maybe?

 Once the program is executed, it seems like some data is stored, even
 if a part of it produces errors.

 How can I erase the entire data in order to start from scratch?

 If I can find out what is now stored with PersistenceManager, it seems
 easier to continue fixing errors.

 soujirou

-- 
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: 620 Error with Google Geocoding service

2011-01-19 Thread Didier Durand
Hi,

I think that you've more chances of getting heard by going to
http://groups.google.com/group/google-maps-api or one of the other
groups mentionned on the page of this url.

regards

didier

On Jan 19, 6:09 pm, culov cul...@gmail.com wrote:
 This has happened many times before and its happening again.  I can't
 geocode anything successfully from my GAE Java app because a 620 error
 is ALWAYS returned.  Please fix!

-- 
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 delete indexes using XML configuration?

2011-01-19 Thread Dzmitry Lazerka
How to delete indexes using XML configuration?

-- 
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: Struggling w/datastore relationship

2011-01-19 Thread WillSpecht
This is not the way that I would do it.  First, this is the JAVA app
engine group that code looks like python as is the link you
referenced.   The way I have found in app engine to be able to make
the fastest queries is to use lists of keys in each object to manage
relationships.


so your model would look like this.

USER has a list of URL's and a URL has a list of USER's

This way you can find all the URL's of a user by

Query query = pm.newQuery(URL.class);
query.setFilter(userId == userParam);
query.declareParameters(Key userParam);
query.declareImport(import com.google.appengine.api.datastore.Key );
ListURL myURLs = (ListURL) query.execute(userId);

Or find all the USER's that hold a URL

Query query = pm.newQuery(USER.class);
query.setFilter(urlId == urlParam);
query.declareParameters(Key urlParam);
query.declareImport(import com.google.appengine.api.datastore.Key );
ListUSER urlUsers = (ListUSER) query.execute(urlId);

I usually put this in a static function in my class

public static USER getUserFromURL(urlId)



Same goes for URL's and TAG's

What then do you have to worry about.  When a user removes a URL you
have to remove it from the USER and the URL.  This means more work
when a change happens but reads happen much more often than writes(a
mind set you need to accept to work on app engine) so we optimize for
the reads not the writes.

Watch this google IO lecture to see even more about this including
ways to handle your user having 2000+ URL's
http://www.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html

If you have any other questions, feel free to ask.

On Jan 18, 6:57 am, Ben Carlson bencarl...@gmail.com wrote:
 Hello, I'm writing a replacement for del.icio.us on GAE, and am really
 struggling with what the right way to do the User / URL / Tag
 relationship:

 Here's what I'm referencing for my idea:

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

 My thought is to have three Entity's:

 User
 URL
 Tag

 Then use a relationship model for the inter-relationships:

 class UserURLTags(db.Model):
    userURLs = db.ReferenceProperty(User,
                                   required=True,
                                   collection_name='urls')
    userTags = db.ReferenceProperty(User,
                                   required=True,
                                   collection_name='tags')
    urlUsers = db.ReferenceProperty(URL,
                                   required=True,
                                   collection_name='users')
    urlTags = db.ReferenceProperty(URL,
                                   required=True,
                                   collection_name='tags')
    tagUsers = db.ReferenceProperty(Tag,
                                   required=True,
                                   collection_name='users')
    tagURLs = db.ReferenceProperty(Tag,
                                   required=True,
                                   collection_name='urls')

 The idea behind this is to allow lookups for each of the following:

 User's URLs (get all of user xyz's URLs)
 User's Tags

 URL's Tags (get all of the tags for URL 'abc')
 URL's Users

 Tag's URLs (get all of the URLs tagged with 'efg')
 Tag's Users

 Is this just a terrible mis-understanding of the proper way of doing
 this association?

 Thanks in advance!

 -Ben

-- 
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: Unable to navigate my app in production server, while in development server works fine

2011-01-19 Thread Markel Arizaga
Solved.

It was a path problem in web.xml. I didn't put the first slash (/) in the 
paths to the jsp files.

Thanks to everyone who tried to help.

-- 
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: Struggling w/datastore relationship

2011-01-19 Thread Benjamin Carlson
Thanks much for the link! It doesn't directly answer my issue, but it did 
give me a few more ideas about how to go about this... I've watched it three 
times (so far)! :)

Despite seeing the merge-join in action, I don't think it quite matches my 
model, so I'm trying to visualize how to make my data match one of these 
models... and that's not working so far either. Anyone else have ideas? The 
issue that isn't addressed is the third relationship... everything 
demonstrated and talked about in these slides only discuss two 
relationships, and it doesn't appear that a third would work (or at least 
not very well!). 

Also, the limit _is_ over 2000, but sounds like it's 5000 per index. The 
extended index class is pretty interesting, but I'm not completely 
understanding that either... does that mean I create a new instance of the 
index class each time I reach 5000 entries? Or does it mean I create a new 
index class itself (i.e. three instances of userIndexClass or one instance 
of each of userIndexClassOne, userIndexClassTwo and userIndexClassThree)?

Thanks again!

-Ben


-- 
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: A MapReduce job isn't going anywhere

2011-01-19 Thread burnayev
Solved.

Rebuilt the appengine-mapper.jar from the latest code and removed

user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint

for the mapped URL from web.xml.

Kind regards,
Borys Burnayev
actioncomplete.com
GTD for Android and Web

On Jan 17, 11:35 pm, burnayev burna...@gmail.com wrote:
 Update:

 In fact there is some interesting info in the log:

 0.1.0.2 - - [17/Jan/2011:20:16:38 -0800] POST  .../mapperCallback
 HTTP/1.1 403 234 .../command/start_job AppEngine-Google; (+http://
 code.google.com/appengine) appspot.com ms=6 cpu_ms=23
 api_cpu_ms=0 cpm_usd=0.000728 queue_name=default task_name=worker-
 attempt-1295324073192-0001-m-03-1--0

 0.1.0.2 - - [17/Jan/2011:20:16:40 -0800] POST .../controllerCallback
 HTTP/1.1 403 234 .../command/start_job AppEngine-Google; (+http://
 code.google.com/appengine) appspot.com ms=8 cpu_ms=23
 api_cpu_ms=0 cpm_usd=0.000723 queue_name=default task_name=controller-
 job-1295324073192-0001--0

 It seems like I'm getting 403 errors.

 Any clues why? Can it be related to the AppEngine 1.4 upgrade?

 Kind regards,
 Borys Burnayev
 actioncomplete.com
 GTD for Android and Web

 On Jan 17, 11:41 am, burnayev burna...@gmail.com wrote:

  I've got a few MapReduce jobs based on the AppEngine implementation
  that used to run just fine. Today I figured that one of the jobs is
  not good anymore. Namely it sort of hangs every time I run it. The
  MapReduce Overview console shows 0 / 0 shards all the time and
  there's no chart in the details screen. The status is running and
  the console is indifferent about my clicking the Abort button. The
  number of retries for the job in the default task queue keep
  increasing though. The log, through INFO level, is silent about the
  MapReduce jobs. Over the past few hours I cleaned up the jobs manually
  and restarted with the same result.

  I'm on AppEngine for Java.

  Any ideas on what's going on?

  Kind regards,
  Borys Burnayev
  actioncomplete.com
  GTD for Android and Web

-- 
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: multiple list properties

2011-01-19 Thread Benjamin Carlson
Bump, I would be interested in learning more about this as well. Thanks!

-Ben

-- 
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] OAuth with a custom domain

2011-01-19 Thread Eurig Jones
Hi. I have an android app which has a GAE backend and validates its
users using OAuth. It does not seem to validate users with a custom
google domain. What do I need to do to get this to work?

Thanks!
Eurig

-- 
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: basic understanding of PersistenceManger

2011-01-19 Thread soujiro0725
Thank you for your help!
The development has become a lot easier now.

soujiro

On 1月20日, 午前1:56, WillSpecht willspe...@gmail.com wrote:
 You can look at the local datastore at localhost:/_ah/admin   Also
 if you are storing things in an arraylist you should be using
 pm.makePersistentAll(gcalendar).  This is because this is only one api
 call instead of how ever many objects are in your arraylist, plus its
 less code.  to erase entries you can use the datastore viewer or
 delete the local datastore which is descrbed well in this answer on
 stackoverflowhttp://stackoverflow.com/questions/1062540/how-to-delete-all-datastor...

 On Jan 15, 3:05 am, soujiro0725 soujiro0...@gmail.com wrote:







  Hi I'm a newbie in App Engine.
  Right now, I am trying to develop an application myself, but my basic
  understanding is weak.  So someone, please clarify my knowledge.

  The question is HOW to store the data and to know what is stored.

  Say, I have my own class like,

  GCalendar(String date, String day, String time, String content)

  The variable date can be either a Date object or simply a String
  object as long as the information (such as 2010/12/14) can be stored
  and retrieved.

  Since an instance of this class represents one event, I want an array
  of this class like,

  ListGCalendargcalendar = new ArrayListGCalendar();

  After obtaining data, I want to store them into Bigtable, so

  //-
  PersistenceManager pm = PMF.get().getPersistenceManager();
  for (int j = 0; j  gcalendar.size(); j++){
      try {
          pm = PMF.get().getPersistenceManager();
          pm.makePersistent(gcalendar.get(j));
      } finally {
          pm.close();
      }}

  //-
  Is this enough?

  The reason I'm asking is that I have no idea what is being stored as
  the instance, namely pm.
  GCalendar object, maybe?

  Once the program is executed, it seems like some data is stored, even
  if a part of it produces errors.

  How can I erase the entire data in order to start from scratch?

  If I can find out what is now stored with PersistenceManager, it seems
  easier to continue fixing errors.

  soujirou

-- 
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] Changing logging .level does not affect logging

2011-01-19 Thread Dzmitry Lazerka
Ugh, sorry, wrong subject. Correct is logging .level does not affect
logging

On Jan 19, 12:34 am, Dzmitry Lazerka dlaze...@gmail.com wrote:
 Hi folks,
 I've created default GAE 1.4.0 project in Eclipse Galileo.
 1. Changed .level = FINE, but don't see log messages of level FINE and
 lower in console. INFO and higher are shown as intended.
 2. The same for .level = FINER, FINEST and ALL.

-- 
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: 620 Error with Google Geocoding service

2011-01-19 Thread Matt Farnell
I'd suggest you do the geocoding on the clients browser and pass the
results back to your server if you need them.

On Wed, Jan 19, 2011 at 9:12 AM, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 I think that you've more chances of getting heard by going to
 http://groups.google.com/group/google-maps-api or one of the other
 groups mentionned on the page of this url.

 regards

 didier

 On Jan 19, 6:09 pm, culov cul...@gmail.com wrote:
 This has happened many times before and its happening again.  I can't
 geocode anything successfully from my GAE Java app because a 620 error
 is ALWAYS returned.  Please fix!

 --
 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] return an empty result from jdo query,any help?

2011-01-19 Thread ice_stream
Hi,all:
i write a DAO in application, and i do a local junit test ,it seems ok.

public ListDesignElement findByType(String type,PageModel pageModel)
{
PersistenceManager pm = PMF.get().getPersistenceManager();
Query q=pm.newQuery(DesignElement.class);
q.setFilter(type == typeparam);
q.declareParameters(String typeparam);
q.setRange(pageModel.getStartPos()-1, pageModel.getEndPos());
return (ListDesignElement)q.execute(type);
} 

 but when i test it in local dev server,an empty List is return.However, i 
check the page in the http://localhost:8080/_ah/admin,i can find some 
DesignElement pojo on the list,if i just find all by this code:

public ListDesignElement getAll()
{
PersistenceManager pm = PMF.get().getPersistenceManager();
Query q=pm.newQuery(DesignElement.class);
q.setRange(0,20);
return (ListDesignElement) q.execute();
}

all the pojo can be returned.
so ,what's the problem?
by the way,i have a datastore-indexs.xml in the WEB-INF/ with 
autoGenerate=true.
thanks for any help!!

-- 
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] return an empty result from jdo query,any help?

2011-01-19 Thread thangavel s
hi, try follows

public ListDesignElement getAll()
{
PersistenceManager pm = PMF.get().

getPersistenceManager();
Query q=pm.newQuery(DesignElement.class);
q.setRange(0,20);
ListDesignElement) DE=(ListDesignElement)q.execute();

  return DE;
}




On Thu, Jan 20, 2011 at 9:19 AM, Yuber Núñez yrnu...@gmail.com wrote:

 I have the same problem I want to test dao class using JUNIT.
 How I can do it?

 thanks for any help!


 On Wed, Jan 19, 2011 at 10:34 PM, ice_str...@163.com wrote:

 Hi,all:
 i write a DAO in application, and i do a local junit test ,it seems ok.

 public ListDesignElement findByType(String type,PageModel pageModel)
 {
 PersistenceManager pm = PMF.get().getPersistenceManager();
 Query q=pm.newQuery(DesignElement.class);
 q.setFilter(type == typeparam);
 q.declareParameters(String typeparam);
 q.setRange(pageModel.getStartPos()-1, pageModel.getEndPos());
 return (ListDesignElement)q.execute(type);
 }

   but when i test it in local dev server,an empty List is return.However,
 i check the page in the http://localhost:8080/_ah/admin,i can find some
 DesignElement pojo on the list,if i just find all by this code:

 public ListDesignElement getAll()
 {
 PersistenceManager pm = PMF.get().getPersistenceManager();
 Query q=pm.newQuery(DesignElement.class);
 q.setRange(0,20);
 return (ListDesignElement) q.execute();
 }

 all the pojo can be returned.
 so ,what's the problem?
 by the way,i have a datastore-indexs.xml in the WEB-INF/ with
 autoGenerate=true.
 thanks for any help!!

 --
 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.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-java@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-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] return an empty result from jdo query,any help?

2011-01-19 Thread ice_stream
this code is ok,it can return some pojos, 

-- 
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] return an empty result from jdo query,any help?

2011-01-19 Thread ice_stream
the getAll() method is ok, but findByType() method will fail.

-- 
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: A serious problem was encountered (Error code 203)

2011-01-19 Thread Didier Durand
Hi,

You probably have response to your question in the second post of this
thread: 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/9ac5d56754a1268d

Let us know if it solved your issue

regards

didier

On Jan 19, 8:37 pm, Luis l.pereira.fernan...@gmail.com wrote:
 Hi all,

 A couple of days ago I deployed a new cron tast that works fine on dev but
 in the app engine it has never worked. I always get the error below
 (although it is actually logged as a warning), without any further
 information about what it is really going wrong.

 Could someone from the App Engine team help me with this?

 Many thanks,
 Luis

 01-19 08:39AM 43.505 /cron/generalmaintenance 500 610280ms 7781cpu_ms
 571api_cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine)
 See details
 0.1.0.1 - - [19/Jan/2011:08:49:53 -0800] GET /cron/generalmaintenance
 HTTP/1.1 500 0 - AppEngine-Google; (+http://code.google.com/appengine)
 my-test-app01.appspot.com ms=610281 cpu_ms=7782 api_cpu_ms=572
 cpm_usd=0.216186 queue_name=__cron
 task_name=545f09d3b090cee12a3e589deeb3d83b pending_ms=206 exit_code=203W
 01-19 08:49AM 53.768 A serious problem was encountered with the process that
 handled this request, causing it to exit. This is likely to cause a new
 process to be used for the next request to your application. If you see this
 message frequently, you should contact the App Engine team. (Error code 203)

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