Re: [appengine-java] Strange issue with a where condition in JPA query

2010-02-28 Thread Davide Cerbo
I'm sorry, the error isn't with atpersand, but is with dot. Examples: Message id, name 1, t...@example.com 2, other_value 3, other_value 4, t...@example.com And the query that give me an empty resultset is: select m from Message m where m.confirmed = true and m.name = 't...@example.com' bye,

[appengine-java] Re: lost sub entity

2010-02-28 Thread Gunnar
Hi, John and Karel, you are right about the placement of the commit statement. It worked in the test example because I only had one instance of MyEntity. I don't get any exception at all in the Eclipse console! When I add a second instance of MyEntity if fails with Transaction is not active as

[appengine-java] Spreadsheets and GAE

2010-02-28 Thread praseed
Hi all, New here. My app requires users to upload spreadsheets. The server has to make the data available on a grid (GWT)..the user then makes changes if any and press import.. This is when the data is stored in the data store in appropriate entities. Questions . If this is not GAE, i would

[appengine-java] Receiving Email: url-pattern problem

2010-02-28 Thread Dimedrol
Hello there! I\m trying to setup a email reciever, with a little help of the following doc: http://code.google.com/appengine/docs/java/mail/receiving.html Everything looks fine except 1 annoying thing: I can only use url-pattern/_ah/mail/*/url-pattern setting. If I use the setting above, I CAN

[appengine-java] Need Keyboard Shortcut to run Deploy AppEngine Project and option to save password

2010-02-28 Thread rgyani
Hi, I been trying to use eclipse + GWT plugins to create wave gadgets and robots and I must tell u, this is a really hard job when everytime you have to press the button in the toolbar using mouse. There is no option in the eclipse preferences to set the keyboad mapping for this command. Plus the

[appengine-java] Flash arcade game GAE based

2010-02-28 Thread Ahmed Khalifa
hi all, I am writing a multiplayer flash arcade game in actionscript .. i have discovered GAE recently and thought that it might be a very good choice for building and hosting my server .. however, i realize that arcade games need an almost realtime responsive capacity from the server .. besides

[appengine-java] error while deploying web appln in google appengine

2010-02-28 Thread shanthi ramabhadran
How to resolve the following error while deploying java web appln in google appengine?? 8% Compiling jsp files. 11% Compiling java files. Error Details: Feb 28, 2010 9:21:57 AM org.apache.jasper.JspC processFile INFO: Built File: \index.jsp java.lang.NoClassDefFoundError: com/sun/tools/javac/Main

[appengine-java] error while deploying web appln in google appengine

2010-02-28 Thread shanthi ramabhadran
I am facing the following error. any solution 8% Compiling jsp files. 11% Compiling java files. Error Details: Feb 28, 2010 9:21:57 AM org.apache.jasper.JspC processFile INFO: Built File: \index.jsp java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Caused by:

[appengine-java] Unable to establish HTTPS communication

2010-02-28 Thread Persevering
Hi All, I am new to Google app and trying to build an application that would load some data from other site over hppts. Below is my code that is working in other applications but i am getting some errors with google app engine. Initially compiler is throwing error like -

[appengine-java] Local Datastore Issue when stopping server (With Objectify)

2010-02-28 Thread ojautzy
Hi, My application uses Objectify 2.0.2 to interact with datastore (great framework) My local datastore is about 65Mb When stopping the server and running it again in the environment development (eclipse), the local datastore seems to has been emptied even though the local_db.bin is always

[appengine-java] Expires header automatically added (bug?)

2010-02-28 Thread George Moschovitis
I noticed that the (live) Google App Engine server automatically adds an Expires header to all responses in one of my apps. I am not sure, but I *think* this behavior was introduced some time in the last week. I am sure that I do not send the Expires header, and the header is not automatically

Re: [appengine-java] Strange issue with a where condition in JPA query

2010-02-28 Thread Ikai L (Google)
The datastore isn't a SQL database. Try this query: select from Message where confirmed = true and name http://m.name = something Alternatively, try programmatically setting your filters: Query q = new Query(Message.class); q.setFilter(confirmed, true); On Sun, Feb 28, 2010 at 4:33 AM, Davide

Re: [appengine-java] error while deploying web appln in google appengine

2010-02-28 Thread Ikai L (Google)
You'll have to point your IDE to a JDK install, not a JRE install. There are a couple of different solutions here: http://www.google.com/search?sourceid=chromeie=UTF-8q=java.lang.NoClassDefFoundError:+com/sun/tools/javac/Main On Sat, Feb 27, 2010 at 7:52 PM, shanthi ramabhadran

[appengine-java] Re: Expires header automatically added (bug?)

2010-02-28 Thread Peter Ondruska
I do use Expires header as well and it works as expected. For statis resources you define explicit expiration using appengine-web.xml. On Feb 28, 9:45 pm, George Moschovitis george.moschovi...@gmail.com wrote: I noticed that the (live) Google App Engine server automatically adds an Expires

[appengine-java] JSF 2 on GAE getting java.io.NotSerializableException: javax.faces.component.html.HtmlSelectManyListbox after trying to run from production

2010-02-28 Thread Daniel
Hi I got a small JSF 2 application with 1 managed bean defined as @SessionScoped and i just added a HtmlSelectManyListbox and did binding to it from h:selectManyListbox all works 100% from local server, but after deploying im getting exception... and i did add implements Serializable to the

[appengine-java] Scheduled Tasks aborted early

2010-02-28 Thread Eugene Kuleshov
I have Java application deployed on the appengine and it has several job definitions. However I see that Scheduled Tasks are aborted within 10 seconds from the start, even so corresponding FAQ entry states 30 seconds. http://code.google.com/appengine/docs/java/runtime.html#Quotas_and_Limits

[appengine-java] Do I still need to use session if I use google user account to authenticate?

2010-02-28 Thread opok
I currently use Google Account to authenticate and get the current user like this: UserService userAction = UserServiceFactory.getUserService(); User user = userAction.getCurrentUser(); I notice that the user service does not need HttpServletRequest to get the current context, is that reliable?

Re: [appengine-java] Do I still need to use session if I use google user account to authenticate?

2010-02-28 Thread yjun hu
Perhaps you'd better use your own userssion with one pojo class On Mon, Mar 1, 2010 at 9:49 AM, opok vir...@gmail.com wrote: I currently use Google Account to authenticate and get the current user like this: UserService userAction = UserServiceFactory.getUserService(); User user =

Re: [appengine-java] Re: EQUAL operator on string properties

2010-02-28 Thread yjun hu
I think you could use a int column replace On Sat, Feb 27, 2010 at 6:32 AM, Andriy Andrunevchyn diyko...@gmail.comwrote: I have the same problem How have You solved it? On 24 Лют, 00:36, keyurva keyu...@gmail.com wrote: This is where embarrassment becomes me. This issue was a false alarm.

Re: [appengine-java] Do I still need to use session if I use google user account to authenticate?

2010-02-28 Thread Chau Huynh
Perhaps you'd better use your own userssion with one pojo class I don't think you would sacrifice User service (and its scalability) to deal with the concern opok posted below. Hi opok, I notice that the user service does not need HttpServletRequest to get the current context, is that reliable?

Re: [appengine-java] Writing Datastore Tests sample not working?

2010-02-28 Thread John Patterson
Looks like a class path problem. Did you add jars from a different version of app engine? On 28 Feb 2010, at 07:38, James wrote: I've copied pasted the local datastore test code from http://code.google.com/appengine/docs/java/tools/localunittesting.html and I get a runtime error:

Re: [appengine-java] Scheduled Tasks aborted early

2010-02-28 Thread John Patterson
You get this message when you app is still starting while other requests come in. The only current solution is to reduce start up time - pinging is not a satisfactory solution because you still get frequent loading requests. With Guice I was able to reduce star up by using a non AOP

[appengine-java] Re: Spreadsheets and GAE

2010-02-28 Thread Lior Harsat
Hi Praseed, my application uses the google spreadsheet api for importing data. I have learned the following lessons from it: 1. performance is not great. the api runs over http and is limited to GAE request timeout (5 to 10) seconds. on some cases a single request exceed this time and you are

[appengine-java] Re: Spreadsheets and GAE

2010-02-28 Thread Houston startup coder
How complex are these spreadsheets? If all you need to do is upload some basic data, then have them save it as CSV and upload that into GAE. I'm assuming your spreadsheets are complex enough that you need them to actually be Microsoft Excel files. Lior's response made me consider your actual

[appengine-java] Re: Eclipse hangs at startup, Ubuntu

2010-02-28 Thread Jeff Schnitzer
Did anyone ever resolve this in a consistent way? I recently upgraded from OSX 10.5 to 10.6, and now my Eclipse (Cocoa 64-bit, as I was using before) hangs on most startups. I see the Updating MyProje... - 1.3.1 in the bottom right corner and the entire window is locked up. Only way out is to