Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine App with JPA deployment hangs

I have a java GAE web app with datanucleus as the JPA provider. When deploying locally on my machine - the deployment hangs (takes minutes). Looking at the task manager I have a javac process running. Any idea what is going wrong?

like image 711
Cristi Avatar asked Jan 31 '11 19:01

Cristi


1 Answers

Agreed. Its the problem with GAE as it takes a 6permutation Compilation only after which the application would be deployed and shown on the browser. I feel its the problem only with GAE and not JPA. I have developed a similar app and if you feel its because of JPA, you can check the corresponding database admin to see how many threads are being opened for the user. If you seem to find some aren't Garbage collected, check your code. Else you can use ConnectionPooling mechanism (to speedup db retrieval using ORM).....

like image 113
Ashok Avatar answered Sep 20 '22 17:09

Ashok