[google-appengine] Re: Where is it advisable to put JPA mapped Entity classes?

2011-02-21 Thread l.denardo
edValue >          [ERROR] Line 22: GenerationType cannot be resolved >          [ERROR] Line 25: Table cannot be resolved to a type >          [ERROR] Line 25: The attribute name is undefined for the > annotation type Table >          [ERROR] Line 26: NamedQueries cannot be resolved to a

[google-appengine] Re: Where is it advisable to put JPA mapped Entity classes?

2011-02-21 Thread l.denardo
ot be resolved >          [ERROR] Line 25: Table cannot be resolved to a type >          [ERROR] Line 25: The attribute name is undefined for the > annotation type Table >          [ERROR] Line 26: NamedQueries cannot be resolved to a type > > On 2/21/11, l.denardo wrote: > &

[google-appengine] Re: Where is it advisable to put JPA mapped Entity classes?

2011-02-21 Thread l.denardo
GWT compiles your java source into javascript using a restricted subset of allowed classes, and you cannot use anything built on non- compatible classes, tipically you cannot read classes with persistence- related annotatios. Source code for your DTO must be accessible to thw GWT compiler. This is

[google-appengine] Re: in future, can i change my datastore to High Replication without changing appid?

2011-01-17 Thread l.denardo
See comments by Ikai Lan in this thread: http://groups.google.com/group/google-appengine/browse_thread/thread/dbebe4482008eb3e/b06fe2c1f7e69e1f?lnk=gst&q=+high+replication#b06fe2c1f7e69e1f "...Robert, in future releases, we will allow developers to create aliases for their applications. Aliases a

[google-appengine] Re: CSS

2011-01-13 Thread l.denardo
Just a guess... are you using GWT with development mode or similar frameworks? In GWT, development mode (on the fly execution) and production mode (compiled javascript) sometimes differ in layout details, such as dimensions, float, HTML elements wraparound behavior. If you don't try a compiled ver

[google-appengine] Re: geo-targeted websites on app engine

2011-01-12 Thread l.denardo
See http://groups.google.com/group/google-appengine/browse_thread/thread/3b8dccfe496550fc/3f4f1ae7d390af78?lnk=gst&q=north+american+data+centers#3f4f1ae7d390af78 Regards Lorenzo On Jan 12, 11:16 am, Maxim Veksler wrote: > Can you please provide reference to this very important claim? > > On Tue,

[google-appengine] Cannot access applications anymore

2010-12-23 Thread l.denardo
Hello, when I log in to appengine, only applications I created are shown. Applications that I've been added as a developer don't show. I guess this is due to the fact I was signed in in the same browser with a Google Apps account: some of the authorizations were transferred to my google apps acco

[google-appengine] Re: In development mode why my local data is deleted sporadically ?

2010-12-13 Thread l.denardo
Also, local data seem to be cleared any time the dev server encounters an error. If you reload your server (or client) too many times (2-3 server, 8-10 gwt client) and you get a "perm gen space error" then your local data will be cleared. This seems specific to 1.4.0. Anyway, you can simply put th

[google-appengine] Re: FederatedLogin: Is logout supported?

2010-12-07 Thread l.denardo
really works? > I want to achieve that a user can login to the app, logout and can > login with a different account of the same domain (without being > forced to clear the cache manually). > > On 6 Dez., 12:33, "l.denardo" wrote: > > > Logout works *for your app*. Thi

[google-appengine] Re: Using OpenID with Google App Engine and its UserService

2010-12-07 Thread l.denardo
bit seems to be the logical conclusion from the directive not to > show an intermediate login screen) > > Is this correct? > > > > On Mon, Dec 6, 2010 at 6:28 AM, l.denardo wrote: > > You can use the explicit addresses for OpenID

[google-appengine] Re: FederatedLogin: Is logout supported?

2010-12-06 Thread l.denardo
Logout works *for your app*. This means that your user is logged out from your app, but must explicitly log out from his Google Account. If the user comes back to your app while still being logged in to Google and you accept login without any intermediate step, he will be logged in again in your ap

[google-appengine] Re: Using OpenID with Google App Engine and its UserService

2010-12-06 Thread l.denardo
You can use the explicit addresses for OpenID endpoints: userService.createLoginURL(redirectTo, "gmail.com", "https://www.google.com/accounts/o8/id";, attributesRequest); String appsLoginUrl = userService.createLoginURL(redirectTo, loginDomain,

[google-appengine] Re: Using datastore with users who are not logged in with Google account

2010-11-02 Thread l.denardo
As far as I know you can use some workarounds: *Use OpenID as an authentication option and accept as many providers you can (usually Gmail, Google Apps, Facebook, Yahoo are used). This will enlarge your user base. *Just leave a demo page out of security constraint: you can serve content to users w

[google-appengine] Re: Using a manifest file with an application hosted on App Engine without going through the App Marketplace

2010-10-29 Thread l.denardo
I think (didn't try, but I'm planning to port an app to marketplace too, so I'm investigating) that your universal navigation bar cannot be manually upgraded. The only way to do it is automatic, by submitting the app in the marketplace (of course, paying the $100 fee). Then you can do test installa

[google-appengine] Re: Eclipse plugin with 1.3.8 doesn't recognize local data from 1.3.7 (local_db.bin)

2010-10-20 Thread l.denardo
Do you mean you were able to read old (I mean created using 1.3.7) data using 1.3.8? For what I've tried (and read reports about) switching to 1.3.8 does not show old data, but the local_bd.bin is left untouched, so simply reverting to 1.3.7 will work. Ikai Lan replied that this is a known issue t

[google-appengine] Re: Unable to create new apps: "The phone number has been sent too many messages or has already been used to confirm an account"

2010-10-15 Thread l.denardo
To create new apps, just log in to google.com/appengine (add /a/ yourdomai.com for apps accounts) and you'll see a button to create your new app. If you need to reuse the same phone number for a different account there's a manual verification form you can fill in at https://appengine.google.com/w

[google-appengine] Re: Problem reading property file in GWT

2010-10-11 Thread l.denardo
A link to documentation on the matter: http://code.google.com/webtoolkit/doc/latest/tutorial/i18n.html#international Regards Lorenzo On Oct 11, 10:22 am, Vibhuti Gupta wrote: > Hello > > I am facing problem reading property file in GWT. I created an interface > which extends the Constants inter

[google-appengine] Re: Problem reading property file in GWT

2010-10-11 Thread l.denardo
You may have better luck in GWT discussion groups... Anyway it seems you're mixing Constants and Message annotations. The correct way is class Test extends Constants{ @DefaultStringValue("this is my alert!!") public String displayAlert(); } //use public static Test constants = GWT.create(Test.cl

[google-appengine] Re: User ID and OpenID: ID is unique?

2010-10-07 Thread l.denardo
I guess this should be unique (otherwise API will be broken!!). Maybe it's generated from the unique openID identifier. I can surely state that for Google Apps users the ID is the same using direct Google Apps login (application is "restricted to a Google Apps domain you own") and OpenID. I store

[google-appengine] Re: Cannot access Admin Interface on Localhost

2010-09-22 Thread l.denardo
pp is the Youtube > Direct Java app. The frontend is working. But I'm not even getting to > the login screen. > > The log says this: > > com.google.inject.internal.FinalizableReferenceQueue$SystemLoader > loadFinalizer: Not allowed to access system class loader. > &

[google-appengine] Re: Cannot access Admin Interface on Localhost

2010-09-20 Thread l.denardo
Hello, on local server you have a fake authentication which allows simulation of admin login. If you open your front end with your browser, you should see a login box showing "t...@examle.com" as login name, with a "sign in as administrator" checkbox. You must sign in as admin if you want to see t

[google-appengine] Re: GAE downtime email marked as spam by gmail

2010-09-16 Thread l.denardo
ne that gets reported as spam. > Can you confirm? We created the new @google.com address to circumvent this > issue. > > On Wed, Sep 15, 2010 at 2:42 PM, l.denardo wrote: > > > BTW I checked, and looks like messages are marked as spam only if > > coming by the address

[google-appengine] Re: GAE downtime email marked as spam by gmail

2010-09-15 Thread l.denardo
BTW I checked, and looks like messages are marked as spam only if coming by the address appengine.notificati...@google.com In my inbox at least...appengine.noreply seems to go to inbox correctly. On Sep 15, 4:38 pm, "l.denardo" wrote: > Happens randomly to me too. > Yesterday fi

[google-appengine] Re: GAE downtime email marked as spam by gmail

2010-09-15 Thread l.denardo
Happens randomly to me too. Yesterday first announcement was "spam", subsequent update not. Emails are marked as spam or phishing about 20% of times. Regards Lorenzo On Sep 15, 11:46 am, "Raymond C." wrote: > same here > > On Sep 15, 3:41 pm, Kenneth wrote: > > > Does anyone else get the downti

[google-appengine] Re: App Engine for Busisness

2010-09-07 Thread l.denardo
I hope that new background servers will be designed with the option to enable multithreading for processing. The reason is simply that many libraries (especially for computationally intensive tasks involving things like branch-and.bound tree search) are implemented using threads, and obviously thi

[google-appengine] Re: Uploading 1100 files...

2010-09-06 Thread l.denardo
Hello, these times are pretty usual for me (Italy) and seem to depend on the number of files you need to compile and upload. I just uploaded a test (nearly empty) app, no GWT, one servlet and one page. That took about 30 seconds. My business app has numbers like your. I work in Java. The "cloning

[google-appengine] Re: how to use Fedrated Login for my google apps Engine

2010-09-06 Thread l.denardo
Can you please clarify the steps to get that kind of login working? I can't find documentation about this. I tried the following: *Use an app with "Google accounts API" as authentication option, accessed thru appspot.com. Going to http://myapp.appspot.com/a/mydomain.com/ gives access to general G

[google-appengine] Re: Multitenancy and datastore performance

2010-08-30 Thread l.denardo
That was my guess too. Thank you for collaboration. Regards Lorenzo On Aug 30, 3:32 pm, Rodrigo Moraes wrote: > On Aug 30, 10:08 am, "l.denardo" wrote: > > > The point in my question is: does multitenancy impact performance when > > user ID (or anything which

[google-appengine] Re: Multitenancy and datastore performance

2010-08-30 Thread l.denardo
improve performances, e.g., of getObjectByID? The only thing I see by now is that it would reduce the size of the *result sets* in case of queries on datastore, I would like to see how this affects performances. Thanks for your help Lorenzo On Aug 30, 2:30 pm, Rodrigo Moraes wrote: > On Aug

[google-appengine] Multitenancy and datastore performance

2010-08-30 Thread l.denardo
Hello everybody, I'm currently investigating the new multitenancy features introduced in GAE 1.3.6. In my application the only suitable namespace would be the user's email domain (Google Apps domain btw), making the choice of multitenancy nearly useless (I currently have security checks to separat

[google-appengine] Re: Same CNAME domain in multiple accounts

2010-08-02 Thread l.denardo
ficial' domain > account. > > If I understood correctly I can have an account > domainow...@example.com own the domain, then have a d...@example.com > own some apps, and have a product...@example.com own some other apps, > and somehow both of these can use example.com

[google-appengine] Re: Starting dev App server programatically (Java)

2010-08-02 Thread l.denardo
There are command lines for it. See http://code.google.com/appengine/docs/java/tools/devserver.html If you're using Eclipse, there's the Google Plugin which allows starting and managing server from Eclipse. If you need an emulation for JUnit testing, using only the services you need on the fly,

[google-appengine] Re: Same CNAME domain in multiple accounts

2010-07-30 Thread l.denardo
wn the domain, then have a d...@example.com > own some apps, and have a product...@example.com own some other apps, > and somehow both of these can use example.com as their domain? > > Thanks, > > Dre > > On Jul 30, 12:49 am, "l.denardo" wrote: > > > The accou

[google-appengine] Re: Same CNAME domain in multiple accounts

2010-07-30 Thread l.denardo
The account used for domain management has nothing to do with the ones used for deploying. You can have a team working on dev.appspot.com, mapped to your dev subdomain, another one completely different working to production, e.g. on prod.appspot.com mapped to your production subdomain, and let you

[google-appengine] Re: Authentication across MULTIPLE apps

2010-07-27 Thread l.denardo
Look into OpenID api. It allows you to authenticate users using the same credential, and if the user is signed in you can implement a good single sign on. User data will anyway be handled separately by each application, since datastore cannot be shared. Links: http://code.google.com/appengine/do

[google-appengine] Re: Can we run PHP and Ruby on AppEngine

2010-07-26 Thread l.denardo
It's possible if these are supported. The page "will it play in app engine" gives a compatibility list for them. http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine Regards Lorenzo On Jul 25, 5:10 am, Aircule wrote: > Through JVM implementations such as Quercus a

[google-appengine] Re: How logging [doesnt?] work?

2010-07-19 Thread l.denardo
The listed behavior seems to work in production only. I haven't been able to write output on standard streams in development too. Anyway you can simply log the required output with the appropriate log level, and it will be prompted to your console if logging properties are correctly set. Regards

[google-appengine] Re: Is _ah/openid_logout going to be a stable logout URL

2010-07-13 Thread l.denardo
.. ) > > we not just fetch logout url via ajax and create link. > > On Jul 12, 6:53 pm, "l.denardo" wrote: > > > Hello, > > I'm currently using openID for users authentication. > > What I've done until now is to generate a logout link on server

[google-appengine] Is _ah/openid_logout going to be a stable logout URL

2010-07-12 Thread l.denardo
Hello, I'm currently using openID for users authentication. What I've done until now is to generate a logout link on server side, using the Users API. Now I need to generate such URL on client side, to add a click listener to it and automatically save user's work before sign out. User service alwa

[google-appengine] Re: Using Google Accounts AND Google Apps accounts for authentication

2010-07-06 Thread l.denardo
for all suggestions! I'll try to make it work... > > On the same note, does anyone know anything about > this:http://smarterware.org/6394/google-apps-vs-google-accounts-resolution... > > Regards, > Uros > > On Jul 5, 9:25 am, "l.denardo" wrote: > > &

[google-appengine] Re: Using Google Accounts AND Google Apps accounts for authentication

2010-07-05 Thread l.denardo
You should use the Users API using the OpenID option. Then you can log in both accounts passing different parameters to the createLoginURL method https://www.google.com/accounts/o8/id -- >for gmail https://www.google.com/accounts/o8/site-xrds?hd=$DOMAIN --> substituting your domain nam

[google-appengine] Re: App Engine Learning Resources

2010-07-05 Thread l.denardo
I agree the guide is well written and quite complete. Many books on App Engine seem to be a replication of the guide with different coding examples and a bit of added confusion :-) I would also suggest conferences from Google IO at http://code.google.com/events/io/2010/ http://code.google.com/eve

[google-appengine] Re: Trouble Setting App Engine ID

2010-07-05 Thread l.denardo
I think there's no way to do it. Gmail names seem to be locked for anyone, including the owner of the account. This happened to me too, and seems to be a frequent request from many of us. Regards Lorenzo On Jul 2, 9:03 pm, cwaldbieser wrote: > I read that if you have a GMail account, no one else

[google-appengine] Re: How to "reply" to an email received by a GAE app?

2010-07-01 Thread l.denardo
sage that > my GAE app receives. > > Thanks.  Kyle > > On Jun 30, 10:53 am, "l.denardo" wrote: > > > Can you clarify what you're doing? > > > The following thing works correctly, anyway: > > > -Send the email using the Mail API setting >

[google-appengine] Re: How to "reply" to an email received by a GAE app?

2010-06-30 Thread l.denardo
Can you clarify what you're doing? The following thing works correctly, anyway: -Send the email using the Mail API setting * The user's address as the sender * The intended address (e.g. "admins") as the receiver When you receive the email at the destination address (e.g. your address if you're

[google-appengine] Re: Need help in building index

2010-06-30 Thread l.denardo
> Can someone also please tell me whether or not the index.yaml file > plays a role in running the app on localhost or not. I cannot > comprehend why the app (even the feature that needed that particular > index) was working fine on localhost if the index.yaml was malformed > and the same app brea

[google-appengine] Re: Redirect http to https?

2010-06-28 Thread l.denardo
t > versions. > > Section I added to web.xml: > >   >   >         >                 * >         >                 >                 CONFIDENTIAL >         >   > > On Jun 25, 1:13 am, "l.denardo" wrote: > > > The same in Java configuring web

[google-appengine] Re: Starting Dev App Server in process

2010-06-25 Thread l.denardo
Hello, I think you could look at the suite for local testing introduced here: http://code.google.com/appengine/docs/java/tools/localunittesting.html You can ad entities and use the services as you would in the dev server. It's a bit long to configure but has given good results to me. regards Lor

[google-appengine] Re: Redirect http to https?

2010-06-25 Thread l.denardo
The same in Java configuring web.xml as stated here: http://code.google.com/appengine/docs/java/config/webxml.html#Secure_URLs (on appspot.com only, not for custom apps domains) Regards Lorenzo On Jun 25, 4:44 am, Robert Kluin wrote: > If you are using python you can configure app.yaml to auto

[google-appengine] Re: What is a pattern for keeping track of current users in google app engine?

2010-06-23 Thread l.denardo
I'm just giving a not-well-thought suggestion, but I'd rather use memcache for this. I guess something like using a time-dependent code as the key (i.e. a counter which increments every 30 seconds) and a list of user ids as the value, and simply doing a get() on the cache for the current counter v

[google-appengine] Re: Appengine 1.3.4 userService.createLoginURL for google openid causing firefox warning

2010-06-18 Thread l.denardo
I did try this since I got the same warning (by the way I think it's a Firefox issue, since I had disabled that kind of warnings in my settings). The result was an HTTPS error, stating parameters were too long to process (I think it was due to the very long URLs generated by redirections). Sorry f

[google-appengine] Re: High 500 errors rate

2010-06-18 Thread l.denardo
Thanks for your fast response. I hope we will get more details in the future about these outages (I guess this time it was big issue, since Google Docs reported a BigTableOverQuotaException). Maybe some more details added to downtime notifies will help developers plan their use of App Engin and ap

[google-appengine] Re: High 500 errors rate

2010-06-17 Thread l.denardo
Seems up again, even if apps have high response time. On Jun 17, 12:46 pm, vivpuri wrote: > Same for my app -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubsc

[google-appengine] High 500 errors rate

2010-06-17 Thread l.denardo
I'm currently facing (15m or so) 500 errors both in Administration Console and all of my applications. No announcements on downtime notify, system status shows 100% uptime and no issue on Java (but anomalies in datastore and task queues). Regards Lorenzo by the way also got errors from other Goo

[google-appengine] Re: OpenID does not redirect to _ah/login_required for admin pages

2010-06-15 Thread l.denardo
equired?continue=http://myapp.appspot.com/Home.jsp] Sorry for bad information about the issue Lorenzo On Jun 15, 11:26 am, Scott Ellis wrote: > I think if you log out of your apps account, it should allow you to login > again with whatever account you want. > > On 15 June 2010 19:15, l

[google-appengine] OpenID does not redirect to _ah/login_required for admin pages

2010-06-15 Thread l.denardo
Hello, I'm currently facing an unattended behavior when using openID to authenticate for an admin page. My app uses openID to authenticate users: requests are correctly redirected to _ah/login_required for requests on regular app address, and I use a servlet to show a custom login page. If I try

[google-appengine] Re: SLA Chain from "Google" to "App Developer" to "End User"

2010-06-14 Thread l.denardo
Hello, Google announced a "business" version of AppEngine some time ago http://code.google.com/appengine/business/ It's got an SLA which is published in draft at http://code.google.com/appengine/business/sla.html Prices for public apps are still not listed (and I guess it would take quite a long

[google-appengine] Mail API saves mail in users folders even if mail is sent by GAE

2010-06-11 Thread l.denardo
Hello, I have an application deployed in GAE (Java) using Mail API. The app is restricted in access to users from my Google Apps domain. To receive feedback from users, I send from client (GWT + gwt dispatch) an action containing a subject and message. On server side I prepare an email message, set

[google-appengine] Re: OpenId "reference" implementation

2010-05-31 Thread l.denardo
That's what I was meaning...still my low-level English doesn't help to explain :-) What I did was to deploy a servlet in _ah/login_required, which generated login URL (assuming Google as an openID provider) and redirected to it using standard servlet redirection. I had /* pattern in security-cons

[google-appengine] Re: OpenId "reference" implementation

2010-05-31 Thread l.denardo
I found the same error in Java: it's due to the way that login URL is generated, which is different for pages with "required login" and pages out of this constraint. If a page is under security constraint login always redirects to _ah/ login_required, even if that is the uri you're requesting. Othe

[google-appengine] Re: OpenID logout link redirect

2010-05-28 Thread l.denardo
logoutURL = UserServiceFactory.getUserService().createLogoutURL(requestBase + "/ _ah/openid_logout?continue="+request.getRequestURI()); This handles automatic redirect correctly. On May 28, 9:22 am, "l.denardo" wrote: > Even worse, if the user does save the authorization for

[google-appengine] Re: OpenID logout link redirect

2010-05-28 Thread l.denardo
. Is there any workaround for this? Thank you Lorenzo On May 27, 5:49 pm, "l.denardo" wrote: > Hello, > I managed starting openID authentication for my app on GAE. > > Login works correctly with gmail accounts if _ah/login_required is not > under a security constraint i

[google-appengine] OpenID logout link redirect

2010-05-27 Thread l.denardo
Hello, I managed starting openID authentication for my app on GAE. Login works correctly with gmail accounts if _ah/login_required is not under a security constraint in web.xml. Then, I show the user a JSP page, Header.jsp listing user's email and a logout link. Generating logout link with

[google-appengine] Re: When will OpenID authentication be enabled

2010-05-27 Thread l.denardo
OpenID as an option. Thank you again Vladimir Lorenzo On May 27, 9:39 am, "l.denardo" wrote: > Thanks very much. > So it seems a problem in my configuration, since I only have Google > Apps in my authentcation options (both in Application Settings -> > Authentication

[google-appengine] Re: When will OpenID authentication be enabled

2010-05-27 Thread l.denardo
> Application Settings -> Authentication Options -> (Experimental) Federated > Login > > On 26 May 2010 15:41, l.denardo wrote: > > > > > Hello, > > openID authentication does not seem to be active neither in the > > "application settings" tab n

[google-appengine] When will OpenID authentication be enabled

2010-05-26 Thread l.denardo
Hello, openID authentication does not seem to be active neither in the "application settings" tab nor when creating a new application. The only available options are google accounts and google apps, not switchable after the application has been created. I wonder when new OpenID option will be avail

[google-appengine] Problems with login and GWT history token

2010-05-12 Thread l.denardo
Hello, I'm currently facing some problems using Appengine authentication and GWT. I built an application on Appengine which uses google login to authenticate users and is currently deployed on a Google Apps domain and restricted to users of that domain. On client side I use GWT and use history toke