take a look in the application logs (if you have the app deployed in
GAE and you are not testing
locally) you will see the exception that caused the problem ...

My guess, based upon what you state in your post is that it is either
a Datastore operation timeout
(5 secs) or the processing quota timeout (30 secs) per request...


On Dec 22, 10:41 am, antiac <ant...@gmail.com> wrote:
> Hi,
>
> I'am new in Google App Engine, I've in my servlet this code:
>
> PersistenceManager pm = PMF.get().getPersistenceManager();
>         try {
>         addRecord(pm,"1010","BANCO DI NAPOLI S.P.A.");
>         ... other 900 record
>            } finally {
>             pm.close();
>         }
>
>   public void addRecord(PersistenceManager pm, String abi, String
> banca)  {
>       Banche banche = new Banche(abi,banca);
>       pm.makePersistent(banche);
>       }
>
> but executing servlet appear after 30 seconds "500 Server Error" page.
>
> Can u help me,
> Thanks
>
> --
> Antoniohttp://www.blia.it

--

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.


Reply via email to