Hello ,
ObjectifyService.register(Record.class);
ObjectifyService.register(Person.class);
ObjectifyService.register(Project.class);
ObjectifyService.register(Allocation.class);
Objectify ofy = ObjectifyService.beginTransaction();
String stringToReturn = "";
try {
Record record = new Record(5, new Time(1, 2010));
Person person = new Person("bagno","laurent");
person.setElementForTrainingList(1,record);
Project project = new Project("nova");
person.addProject(project);
Allocation alloc = new Allocation(project,person);
ofy.put(person);
ofy.put(alloc);
ofy.getTxn().commit();}...
When i execute my application on the GAE server , i've the following
error :
javax.servlet.ServletContext log: Exception while dispatching incoming
RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.String
client.GreetingService.greetServer(java.lang.String)' threw an
unexpected exception: java.lang.OutOfMemoryError: Java heap space
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
378)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
581)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
188)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
224)
But when i execute in IntelliJ , no problem.
Thanks for your request
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.