Hey, thank you for replying.
but what exactly do you mean by starting the local environment services, I
created the Datastore indexes.xml and Im using the google plugin.
I ran the app and it worked but it doesnt create the local_db file, I
deployed it to the google cloud it worked aswell.
The problem is in development mode and the exception is thrown on the line
"entityTransaction.beging()".
When I choose "*Run GWT Dev Mode on Google App Engine *(on Netbeans)" (Im
also using gwt as a framework), it tells me:
Please set the AppEngine Agent environment variable. Add
appengine.agent={path-to-appengine-installation}/lib/agent/appengine-agent.jar
to the file: {path-to-this-project}/nbproject/private/private.properties
Wich I did manually (opened the properties file and wrote the path of the
appengine-agent jar). But it keeps erasing itself. How should I configure
the appengine-agent, maybe thats the problem.
Thank you in advanced.
Kido.
On 14 December 2010 05:35, Didier Durand <[email protected]> wrote:
> Hi,
>
> Do you get this on the local dev server n your IDE ? If yes, it comes
> become you didn't start the local environnement services: see
> http://code.google.com/appengine/docs/java/tools/devserver.html
>
> On Dec 13, 8:28 pm, kidowell <[email protected]> wrote:
> > Hey I'm new at this, I just want to use the Google datastore, I made a
> > persistence object but when it comes to save it to the datastore an
> > exception is caught saying "No environment variable is registered for
> > this thread".
> >
> > When debugging the exception is thrown on the line
> > the "entityTransaction.begin();"
> >
> > I'm using NetBeans and JPA. I havent found yet an example where a
> > persistent object is save to the datastore.
> >
> > Please it's been 5 days since I have been trying to save something to
> > the datastore. I really need some help. Thank you in advanced.
> >
> > Kido.
>
> --
> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
--
Cesar Ruiz.
--
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 [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-java?hl=en.