[appengine-java] Could not delete entity from local Datastore Viewer

2012-03-19 Thread July
HI all:

So curious that i can not delete entity data from the local admin console, 
when i select one record and hit delete, it shows message 2 entities 
deleted. but from the view, they are still there without changes! 

I met this problem from v1.6.1, after upgrade to 1.6.3, problem still 
there. I found no thread related this problem in the forum, Not sure if i'm 
the only person who met this problem, or am i missing something?
Please help. Thanks

Dev environment: Win7, gae1.6.3, maven-gae-plugin 0.9.2, 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Vf0tPreFV6QJ.
To post to this group, send email to google-appengine-java@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] Error: Server Error occurs when login using OpenID using GAE/J

2011-06-25 Thread July
HI all:
  When i try to login my GAE application which use Federated Login, it will 
alwasy give me below error message:

Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error 
message and the query that caused it.

This problem keeps happening for more than one day, before it works all 
right. I did redeployed my app, my i didn't see any changes will lead to 
this error.

The login process for my app is: using UserService to deteced if the user 
has login, if not, present him with the Google Login page, after he login 
the app should redirect to the home page, but now instead it will give the 
above error.

Any ideas about this? does anyone meet the same problem like me? 
Thanks.

-July

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/W7zZ1HlLqc0J.
To post to this group, send email to google-appengine-java@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] Re: Error: Server Error occurs when login using OpenID using GAE/J

2011-06-25 Thread July
By the way, there are no log message in GAE log, seems the error occurs 
before hitting my application. i'm using GAE1.5.0. 
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/hFIRi-gL41MJ.
To post to this group, send email to google-appengine-java@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] Old bug reappeared? createLoginURL() missing query string

2011-06-02 Thread July

Hi all:
I'm Using GAE 1.5.0 java, reproduct the bug is easy:

protected void doGet( HttpServletRequest req, HttpServletResponse resp ) 
throws ServletException, IOException
{
UserService userService = UserServiceFactory.getUserService();
if( !userService.isUserLoggedIn() )
{

String loginUrl = 
userService.createLoginURL(req.getRequestURI()+?+req.getQueryString())
req.sendRedirect(req);
}
}

so you will found that after user login and redirect back, the query string 
is missing(in fact, only the first query string is remembered):
e.g.
request URL:
http://example.appspot.com/uri?q1=aq2=bq3=c

after user login it redirect to this url:
http://example.appspot.com/uri?q1=a

q2=bq3=c is missing!

i search the forum and found about there are some thread about his, bug the 
bug has been fixed long time ago:

one of them:
https://groups.google.com/forum/?pli=1#!searchin/google-appengine-java/createloginurl$20$20$20query/google-appengine-java/ZF4RjIm9NW4/FsMXEzqZbpUJ

the local devmode is all OK, but after deployed error occurs. and i didn't 
have any filters in my web.xml

Could someone help me with it? thanks a lot.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/eF9vTlpQQ2U5QklK.
To post to this group, send email to google-appengine-java@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] UserService--Fails to get the right current user

2011-05-23 Thread July
Hi All:
 I met a strange behavior when using UserService, i'm a Google Apps 
user.

1. I have two Google apps domains, first login the first domain by entering 
the gmail of my domain.
2. Login to my own application Using OpenID which deployed at GAE, then the 
userService.getCurrentUser() is my account in first domain.
3. Click the upper right logout link to logout my first domain, then login 
using my second domain email address
4. Now try to access my GAE project, and found userService.getCurrentUser() 
is still the first domain's email. I think it should be the email of second 
domain.

Any ideas about this? thanks very much.
-July

-- 
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-java@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] Re: GAE+GDate+Dev mode+Proxy: can not access internet

2011-05-10 Thread July
i finally get it works, thank you Brandon.

-- 
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-java@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] Re: GAE+GDate+Dev mode+Proxy: can not access internet

2011-05-09 Thread July
thanks for your reply.
yes i'm using eclipse GPE to debug in Windows XP as admin.
My eclipse proxy works fine and i can update plugin. GAE can detect 
updation, everything works fine.

I think the key is to setup proxy in Gdata, when i use a swing desktop 
application with Gdata, set proxy before the Gdata call is OK.

But in dev mode of GPE, seems Gdata does not recognize the proxy i set, and 
every time it retrieve data from remote Google service directly.

Now i have to deploy my application to appspot to debug online, obviously a 
very bad choice. 



-- 
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-java@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] Re: GAE+GDate+Dev mode+Proxy: can not access internet

2011-05-09 Thread July
Yes i config my application's proxy one by one, there is a proxy software 
called proxyCap through which we can config global proxy, unfortunately when 
i use it everything stops work(it can not connect to internet at all)

-- 
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-java@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] GAE+GDate+Dev mode+Proxy: can not access internet

2011-05-08 Thread July
hi all:
I've searched this forum but seems none thread cover this topic:

enviroment: GAE+GDate+Dev mode+Proxy

Now my servlet need to retrieve data using the Gdata API, i'm using proxy to 
connect to the net, Gdata seem does not using the proxy i set in VM 
arguments when launching GAE. i manually set the proxy before the GData 
call, like this: 

System.setProperty( http.proxyHost, xx.xx.xx.xx );
System.setProperty( http.proxyPort, 8080 );

Still not work. it will throw IOException when connection timeout.

Any ideas?
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-java@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.