Re: [appengine-java] Guestbook (as-is) works locally, but deployed on gae will give Error: Server Error at signin

2010-08-13 Thread Ikai L (Google)
Do the log files provide any information? What's the URL to your
application?

On Thu, Aug 12, 2010 at 3:48 AM, Simpatico gabri...@mysimpatico.com wrote:

 I've deployed the guestbook as it's provided in the demos folder but
 when I click to sign in I get:

 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 is essentially what I've been getting throughout. Indeed the
 result is the same for the sample code:

 public class GuestbookServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse
 resp)
  throws IOException {
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();

if (user != null) {
resp.setContentType(text/plain);
resp.getWriter().println(Hello,  + user.getNickname());
} else {

 resp.sendRedirect(userService.createLoginURL(req.getRequestURI()));
}
}
 }

 I suspect it has to do with bug:

 http://code.google.com/p/googleappengine/issues/detail?id=3552can=5colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component

 The bottom line is that I cannot deploy my application!

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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] Guestbook (as-is) works locally, but deployed on gae will give Error: Server Error at signin

2010-08-12 Thread Simpatico
I've deployed the guestbook as it's provided in the demos folder but
when I click to sign in I get:

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 is essentially what I've been getting throughout. Indeed the
result is the same for the sample code:

public class GuestbookServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse
resp)
  throws IOException {
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();

if (user != null) {
resp.setContentType(text/plain);
resp.getWriter().println(Hello,  + user.getNickname());
} else {
 
resp.sendRedirect(userService.createLoginURL(req.getRequestURI()));
}
}
}

I suspect it has to do with bug:
http://code.google.com/p/googleappengine/issues/detail?id=3552can=5colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component

The bottom line is that I cannot deploy my application!

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