[appengine-java] Login redirect failing all of a sudden /_ah/conflogin

2011-03-02 Thread Joerg Weingarten
Since this morning my call to userservice.createLoginUrl produces a
url that doesn't work anymore. When selecting my Sign in link, which
has a url like:

https://www.google.com/accounts/ServiceLogin?service=ahpassive=truecontinue=https://appengine.google.com/_ah/conflogin%3Fcontinue%3Dhttp://www.taxinvestorpro.com/toolltmpl=gmahname=Tax+Investor+Prosig=16611e8360a8e4ed2de927115a76d607

I get the error:

The requested URL /_ah/conflogin was not found on this server.

Somebody please help.

Thx
---Joerg---

-- 
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: Login redirect failing all of a sudden /_ah/conflogin

2011-03-02 Thread Joerg Weingarten
Yes Jon, I found a workaround as I needed to get it up and running
right away again, but honestly I don't like it.
The point for me was to hide the app-engine-url and only show the non-
app-engine url.
Right now the user can easily see the app-engine-url by looking at the
link behind Sign In/Sign Out.
Yes I know he can find that anyway ... :-) but it would be a bit more
hidden.

A fix would be really appreciated.
Thx
---Joerg---

On Mar 2, 10:31 am, Jon McAlister jon...@google.com wrote:
 Looks like you pushed a good workaround already, but yes that was a
 result of a new login system yesterday, and looks like it is not
 handling this case like the prior system did.

 Specifically, calling createLoginUrl where the continue url is not the
 same as the url the app is hosted on. And, furthermore, the continue
 url is not an app engine url at all.

 For now, what you did was a good workaround. That is, use an app
 engine url as the continue url, and then have the app engine app
 redirect to the non-app-engine url.

 Need to think on this case some more.

 On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com 
 wrote:
  Since this morning my call to userservice.createLoginUrl produces a
  url that doesn't work anymore. When selecting my Sign in link, which
  has a url like:

 https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;...

  I get the error:

  The requested URL /_ah/conflogin was not found on this server.

  Somebody please help.

  Thx
  ---Joerg---

  --
  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 
  athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
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] OutOfMemoryError

2010-09-26 Thread Joerg Weingarten
Since about 10 minutes I am getting an OutOfMemoryError when I query
records. Anybody seen this before?


Caused by: java.lang.OutOfMemoryError: Java heap space
at java.nio.ByteBuffer.wrap(ByteBuffer.java:367)
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:155)
at java.lang.StringCoding.decode(StringCoding.java:191)
at java.lang.String.init(String.java:451)
at
com.google.appengine.repackaged.com.google.io.protocol.ProtocolSupport.toStringUtf8(ProtocolSupport.java:
516)
at
com.google.appengine.repackaged.com.google.io.protocol.ProtocolSupport.toStringUtf8(ProtocolSupport.java:
503)
at com.google.storage.onestore.v3.OnestoreEntity
$Property.getName(OnestoreEntity.java:2938)
at
com.google.appengine.api.datastore.DataTypeTranslator.addPropertyValueToMap(DataTypeTranslator.java:
309)
at
com.google.appengine.api.datastore.DataTypeTranslator.extractIndexedPropertiesFromPb(DataTypeTranslator.java:
217)
at
com.google.appengine.api.datastore.DataTypeTranslator.extractPropertiesFromPb(DataTypeTranslator.java:
238)
at
com.google.appengine.api.datastore.EntityTranslator.createFromPb(EntityTranslator.java:
29)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.processQueryResult(QueryResultsSourceImpl.java:
55)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.getMoreEntities(QueryResultsSourceImpl.java:
86)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.getMoreEntities(QueryResultsSourceImpl.java:
62)
at
com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java:
145)
at
com.google.appengine.api.datastore.QueryResultIteratorImpl.hasNext(QueryResultIteratorImpl.java:
71)
at
org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterator.hasNext(RuntimeExceptionWrappingIterator.java:
44)
at
org.datanucleus.store.appengine.query.LazyResult.resolveAll(LazyResult.java:
115)
at
org.datanucleus.store.appengine.query.LazyResult.size(LazyResult.java:
110)
at
org.datanucleus.store.appengine.query.StreamingQueryResult.size(StreamingQueryResult.java:
124)
at
org.datanucleus.store.query.AbstractQueryResult.toArray(AbstractQueryResult.java:
399)
at java.util.ArrayList.addAll(ArrayList.java:497)
at
com.rei.tlc.data.TARecordServiceImpl.deleteRecord(TARecordServiceImpl.java:
391)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:43)

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