[appengine-java] Bulk Downloading

2010-07-28 Thread pbadn
This is a problem I have been working on for several hours.  I
installed the RemoteApiServlet into my GAE Java app and deployed it.
I also modified my web.xml file to have a security-constraint that
limited access to admin only.  I get about 10 messages marked
[INFO ].  The last one says it is connecting to the address of the
RemoteApiServlet.  Then it gives me a warning about ssl and Python and
asks for a login.  I enter a username and password that has access to
the administration console for the app and then I see:

[INFO  ] Authentication failed

I have tried appcfg.py with a lot of options and nothing seems to
work.  My email I use to log in to the administration console is
managed by Google Apps.  It is not a @gmail.com address.  I also have
a Google Account associated with the email address and the password
for the Google account is different from the one I use to access
Google Apps.

I would really appreciate any help.  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-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.



[appengine-java] JDO creates entities when I don't ask it to

2010-07-18 Thread pbadn
I am having a problem that is confusing me.

I have two entities, A and B.  Both have user-assigned numeric ids and
A refers to an instance of B.  So I have a process like this:

B b = new B();
b.setId(1);

// save b

A a = new A();
a.setId(1);

B b2 = DAL.getBById(1);
a.setB(b2);

// save a

DAL.getBById is a method that returns an instance of B by the id given
to it.  However, when I do this, a second instance of B is created.
So I should have an instance of A and an instance of B that is
referred to by A.  But what I have is an instance of A and two
instances of B.
Is this a common mistake?  I am new to GAE/J and JDO.

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