Not sure... but since you are connecting through https, try to get the
SACSID cookie instead of the ACSID.
fabrizio
On Sun, Apr 24, 2011 at 11:04 PM, Konstantin Weitz
konstantin.we...@googlemail.com wrote:
Hi guys,
I'm trying to authenticate at a web service, running on gae
In your first piece of code you used https. So you need to get the secure
auth cookie from app engine (SACSID). IMHO
My codes. It manages both cookies.
http://fhtino.blogspot.com/2011/02/connet-android-app-to-google-app-engine.html
fabrizio
On Mon, Apr 25, 2011 at 12:22 PM
. The simpler way: put a try-catch in your servlet entry point and catch
all exceptions. A quite brutal but it works.
fabrizio
On Sun, Apr 17, 2011 at 8:34 AM, nischalshetty nischalshett...@gmail.comwrote:
Pretty weird. Let's hope someone from the GAE team peeps into this thread.
I have
Peter,
I use it as the primary key of my entity. No problem.
fabrizio
PS: please, do not double post on the mailing list.
On Thu, Apr 14, 2011 at 2:09 AM, Peter ptr...@gmail.com wrote:
Fabrizio,
Thank you for your help.
Once I get the user id, do I still need to run it through
Have you activated Security Authentication in the web.xml?
http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication
http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication
fabrizio
On Wed, Apr 13, 2011 at 7:44 AM, Peter ptr
getUserID
I see that User class has two methods to obtain id information,
getFederatedIdentity() and getUserId(). Which of these two can be used as
the primary key for storing per-user information.
--
You received this message because you are subscribed to the Google Groups
Google App
Perhaps a better solution:
use the --address paramater
http://code.google.com/appengine/docs/java/tools/devserver.html#Command_Line_Arguments
http://code.google.com/appengine/docs/java/tools/devserver.html#Command_Line_Arguments
fabrizio
On Mon, Apr 11, 2011 at 7:56 AM, Fabrizio Accatino fht
I use rinetd. It's a port forwarder.
http://www.boutell.com/rinetd/
fabrizio (from android)
Il giorno 10/apr/2011 19.57, Luis Montes monte...@gmail.com ha scritto:
When running a java webapp in eclipse it seems that I can only connect to
the dev jetty instance from the localhost. Is jetty fired
-age=0);
connection.addRequestProperty(Pragma, no-cache);
Fabrizio
On Sat, Feb 12, 2011 at 12:08 PM, aka1g van...@gmail.com wrote:
Hi!
I'm fetching webpages and parse them. I have a weird behavior that
looks like GAE bug.
One of the pages retrieved has a totally different content.
I'm
The Nick's way is the good way.
My note was about OAuth. Afaik Android AccountManager class uses
ClientLogin for authentication on App Engine.
Fabrizio
On Sun, Feb 6, 2011 at 5:03 PM, Sky skysoftwaredes...@googlemail.comwrote:
thanks for the answer. I will try it, as soon as my new mobile
Fabrizio
On Sun, Feb 6, 2011 at 8:12 PM, Sky skysoftwaredes...@googlemail.comwrote:
One more question concerning the invalidation of the AuthToken. I read
that it invalidates after 24h. What is when the Activity, holding the
AuthToken (in NicksBlog the AppInfo class), ends (with finish
ClientLogin and not OAuth.
http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html
Fabrizio
On Fri, Feb 4, 2011 at 11:57 PM, Sky skysoftwaredes...@googlemail.comwrote:
Hi all,
I am using the oauth authentication process to authenticate Android to
App Engine described in Nick's
Didier,
thank you for your feedback but I think the error is not related with
maximum size. Infact the content is not big and I don't get a
ResponseTooLargeExpetion.
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/urlfetch/ResponseTooLargeException.html
Fabrizio
http://code.google.com/p/googleappengine/issues/detail?id=4502
--
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
in the download area was not updated. So you need to download the
source code and compile it by yourself.
Fabrizio
On Wed, Feb 2, 2011 at 5:34 PM, lovegoogle sinusek...@gmail.com wrote:
Hello All,
I tried using google voice within App Engine and it fails to execute
because of the custom
urls work without errors.
The errors are not timeout-related. When UrlFetch encounters a timeout it
throws an exception with a different message:
java.io.IOException: Timeout while fetching: http://...myurl...
Suggestions?
Fabrizio
--
You received this message because you are subscribed
robot.txt ?
On Tue, Feb 1, 2011 at 2:16 PM, midi chum...@gmail.com wrote:
How can I prevent google bot from accessing a java based appspot
app ?.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send
Fabrizio
On Sun, Jan 30, 2011 at 8:28 AM, Didier Durand durand.did...@gmail.comwrote:
Hi,
You're right: async url fetch doesn't seem to provide any way to
measure fetch time.
Then, I have a proposal: why don't you schedule a task per fetch, this
task will then do a regular synchronous
so the response time are very different.
I read the documentation but HTTPResponse does not expose a execution
duration or similar value.
Any idea?
Fabrizio
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group
on the
properties.
Fabrizio
--
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
Method names changed :)
.url(...) -- withUrl(...)
.method(...) -- withMethod(...)
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.Builder.html
Fabrizio
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/taskqueue
(taskOpts);
pm.currentTransaction().commit();
} finally {
if (pm.currentTransaction().isActive())
pm.currentTransaction().rollback();
pm.close();
}
Fabrizio
On Tue, Jan 11, 2011 at 9:29 PM, Ed Murphy emur...@yahoo.com wrote:
Yes, I do this with JDO. Just add to you queue within
/documentation/2.1/gwt/api/org/restlet/client/Request.html
Let me know if it works.
http://www.restlet.org/documentation/2.1/gwt/api/org/restlet/client/Request.html
Fabrizio
On Tue, Jan 11, 2011 at 12:55 PM, Sky skysoftwaredes...@googlemail.comwrote:
yes, that would be the way with simple httpClient
Hello,
documentation tells I can insert a task in queue during a datastore
transaction.
http://code.google.com/appengine/docs/java/taskqueue/overview.html#Tasks_Within_Transactions
The example uses datastore low level api. Is there a way to do the same with
JDO?
Thank you
Fabrizio
--
You
important to use parameters and not
concatenated strings. Exactly the same as classic sql. :)
Have I correctly understood?
Fabrizio
On Sun, Jan 9, 2011 at 9:29 AM, datanucleus andy_jeffer...@yahoo.comwrote:
And that is the developer who has left it open to that. Any sane
developer would
. The url is:
String url = http://myapp.appspot.com/_ah/login; + ?continue= +
URLEncoder.encode(_gaeAppBaseUrl, UTF-8) + auth= +
URLEncoder.encode(authToken, UTF-8);
The auth cookie is ACSID
Fabrizio
On Mon, Jan 10, 2011 at 10:04 AM, Sky skysoftwaredes...@googlemail.comwrote:
Hello,
does anyone
) refuse it.
So, you are right. No big problem.
Fabrizio
On Mon, Dec 27, 2010 at 10:29 AM, datanucleus andy_jeffer...@yahoo.comwrote:
SQL injection ? into a database that doesn't support SQL? Please
present a clear example of how such a thing can happen and what effect
it can have
@Ikai,
about url -- withUrl please update documentation/examples at
http://code.google.com/appengine/docs/java/taskqueue/overview.html
--
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
://code.google.com/appengine/docs/java/datastore/queriesandindexes.html
A suggestion to Google guys: add a clear warning on documentation about
using concatenated queries and remove concatenated examples (or make it
clear to not use them on real apps).
IMHO :)
Fabrizio
On Sat, Dec 25, 2010 at 6:42 PM
... or enqueue your outgoing message on a task queue with a slow run
frequency (let's say 5/minutes).
I do that and I'm very happy. :)
Fabrizio
On Sat, Dec 18, 2010 at 1:15 AM, Ikai Lan (Google)
ikai.l+gro...@google.comikai.l%2bgro...@google.com
wrote:
8 is fairly arbitrary, but there's
Ian,
I had read your previous post (2010-04-15). As you wrote, I'd also like to
find a more authoritatively response. But I haven't found it. :(
fabrizio
On Sun, Dec 5, 2010 at 11:47 AM, Ian Marshall ianmarshall...@gmail.comwrote:
Does this post help?
http://www.google.com/url?url=http
Sorry Ian,
I don't understand. Do you delete the local datastore and create it again?
If yes, how?
Fabrizio
On Sun, Dec 5, 2010 at 5:16 PM, Ian Marshall ianmarshall...@gmail.comwrote:
I have a test local datastore. I also have a procedure now to delete
this whenever I install a new GAE/J
- what error do you receive? copy and paste log
- try to remove ssl. The connection is internal. (AFAIK)
fabrizio
On Tue, Nov 9, 2010 at 3:37 AM, Dom Derrien dominique.derr...@gmail.comwrote:
Context:
- Tasks as defined in
http://code.google.com/appengine/docs/java/taskqueue
Issue opened
http://code.google.com/p/googleappengine/issues/detail?id=3922
http://code.google.com/p/googleappengine/issues/detail?id=3922
--
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
It works fine. I can login with openID.
On local development server I get:
http://localhost:/_ah/login?continue=myurl
And this does not work. :(
The question remains the same: is OpenID supported by local Development
server?
Google guys, please, give me an hint...
fabrizio
On Thu, Oct 7
I have no problem opening an issue. But actually I don't understand if I
have a problem/wrong_configuration or App Engine has a bug.
I'm waiting for a reply from Google guys... :)
fabrizio
2010/10/9 ArtemGr artem...@gmail.com
OpenID support is still experimental, there are several open issues
Any idea?
On Oct 7, 10:46 am, Fabrizio fht...@gmail.com wrote:
Hello, I'm testing OpenID (SDK 1.3.7). My env is: Eclipse + GAE Plugin.
Question: is OpenID supported by local development server?
I have a protected area. I force users to login with:
security-constraint
web-resource
://localhost:/_ah/login?continue=http://localhost:/protected/
Why?
fabrizio
--
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
- how have you url-encoded the parameters? Can you share the code?
- have you tried Method.POST instead of GET?
fabrizio
On Mon, Sep 20, 2010 at 7:45 AM, mar_novice mariocape1...@gmail.com wrote:
When using task queue and the parameters contain an ampersand, it gets
cut off when you try
AFAIK if you don't catch exceptions, you'll get HTTP 500 error.
Can you post your code?
Are you sure that you do not try/catch the exception?
fabrizio
On Mon, Jul 19, 2010 at 12:38 AM, Philip Tucker ptuc...@gmail.com wrote:
One of my tasks encountered a failure and wasn't retried. I think
cacheFactory =
CacheManager.getInstance().getCacheFactory();
Cache cache = cacheFactory.createCache(props);
cache.put(key, value);
fabrizio
--
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
I had the same problem. I solved with:
...
URL urlObj = new URL(url);
HttpURLConnection connection = (HttpURLConnection)
urlObj.openConnection();
connection.addRequestProperty(Cache-Control, no-cache,max-age=0);
connection.addRequestProperty(Pragma, no-cache);
...
fabrizio
On Jun 9, 2:29 pm
();
if (httpRespCode == 200) {
RandomAccessBuffer tempMemBuffer = new RandomAccessBuffer();
PDDocument doc = PDDocument.load(connection.getInputStream(),
tempMemBuffer);
...
fabrizio
On May 4, 11:17 pm, kldaniels kendani...@gmail.com wrote:
This is interesting that you got
Hello Max,
I noticed it because I got wrong data. So I checked the logs.
But, now, I'm trying to reprocude the issue but I cannot. The delay is
good.
I'll continue the test and I'll let you know.
Thank you for your help.
fabrizio
On Apr 23, 10:40 pm, Max Ross (Google) maxr+appeng
queue = QueueFactory.getQueue(queueName);
TaskOptions taskOpts = TaskOptions.Builder.url(url);
taskOpts.countdownMillis(delay);
taskOpts.method(Method.GET);
queue.add(taskOpts);
Thank you for help
fabrizio
--
You received this message because you are subscribed to the Google Groups
Google
If anyone is interested...
PdfBox text extration GAE
How to do text extraction from pdf files using PdfBox on Google App
Engine
http://fhtino.blogspot.com/2010/04/pdfbox-text-extration-gae.html
fabrizio
--
You received this message because you are subscribed to the Google Groups
Google
== null)
return null;
else
return this.Data.getValue();
}
fabrizio
On Mar 12, 8:22 pm, Jake jbrooko...@cast.org wrote:
Hey,
I presume setMethod() refers to a getter/setter. So, your persisted
class would look like:
@Persistent
Text text;
public
Use Double instead of double.
Double is an Object -- can be null.
fabrizio
On Feb 5, 3:23 am, dreamy dreamy2c...@... wrote:
I have create lot of Object in past. when I add a property private
double price; to this object today .but i query the record again,the
exception is throw
Consider using queue.
At the end of your servlet, enqueue a call to the same servlet and
pass one or more parameters with the next item to process.
Example: /myservlet?nextID=90
Fabrizio
On Jan 26, 5:07 am, edarroyo edgardo...@gmail.com wrote:
I'm sorry if this is a stupid question
://gs.fhtino.it/download/GAE2_no_more_error2.png?attredirects=0
Fabrizio
--
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
, help me and the other with the same issue.
Fabrizio
--
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
John,
my app is very very simple. It does not use external frameworks or
libraries.
fabrizio
I think currently the only solution is to make you app
start up faster.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group
AFAIK from GAW you can only communicate on port 80 and 443 (hhttp and
https). And you must use the Url Fetch service.
fabrizio
On Dec 20, 5:36 pm, Pion onlee2...@gmail.com wrote:
Thehttp://java.sun.com/products/javamail/FAQ.html#gmailshows how to
access Gmail Inbox using JavaMail
, but I cannot skip the first
1000. Quite strange... IMHO
fabrizio
On Dec 17, 10:39 pm, stephenp slpe...@gmail.com wrote:
He meant setRange(1001, 2000) will fail. Datastore will only let you
skip the first 1000. If you try to skip past more than 1000 you'll get
an error. In your code
?
fabrizio
--
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
= PMF.get().getPersistenceManager();
ListPerson persons = (ListPerson) pm.newQuery( select from +
Person.class.getName()).execute();
Is there any limit?
fabrizio
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post
= (ListPerson) qry.execute();
fabrizio
On Dec 17, 3:17 pm, abhi abhishek9...@gmail.com wrote:
You sure will get all results , specially on offline mode , but you
cant do paging in query for more than
1000 results ,with Query query = pm.newQuery(YORRQUERY);
query.setRange(0 , 1001
It also works on Google App server !Very strange
My test jsp page:
body
%
PersistenceManager pm = PMF.get().getPersistenceManager();
Query qry = pm.newQuery(select from + Person.class.getName() +
where _age 4);
qry.setRange(10,1500);
ListPerson persons = (ListPerson)
191cpu_ms
95api_cpu_ms 0kb
Why some requests work and other crash? I don't change anything
between them.
Fabrizio
--
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
59 matches
Mail list logo