[appengine-java] Re: Disappearing functionality after upgrading App Engine/GWT plugins

2010-07-13 Thread ThisSideUp
Thanks, Rajeev! I installed Eclipse as root, but then installed the older versions of the plugins/SDKs as myself (as well as the newer versions). Is your suggestions the only work-around? This thread cautions against installing plugins as root (for good reason): https://help.ubuntu.com/community/

[appengine-java] I cannot access the url of my deployed application? getting "Not Found"

2010-07-13 Thread Daniel
Hi I got no firewall on the PC and i can log in into the "https:// appengine.google.com/dashboard?&app_id=*" Than when i browse to Administration -> Versions i click on the link of the application and getting immediate "Not Found" it looks like it doesn't even try to surf to the web page tr

[appengine-java] deploy through proxy

2010-07-13 Thread senderj
I am using Netbeans 6.8 with GAE plug-in. I need to deploy to GAE through a proxy. I've specified the correct proxy host and port in NB but still I got connection timeout in every deployment. The proxy host and prot is correct because they works in Eclipse. But not in NB. Seems the NB plug-in has i

Re: [appengine-java] Re: same application same datastore different subdomain

2010-07-13 Thread John Patterson
On 14 Jul 2010, at 01:39, Shyam Visamsetty wrote: You definitely cannot share the data store between two applications as of now. Technically you actually can share data between applications using RemoteDatastore - you can divert datastore operations to a different application. http://co

Re: [appengine-java] Re: How to upload primary key as an id instead of name

2010-07-13 Thread John Patterson
You can do this now using the RemoteDatastore Java utility http://code.google.com/p/remote-datastore/ For example, this code runs on your desktop and creates a single entity in your live datastore: // divert datastore operations to live application RemoteDatastore.install(); RemoteD

[appengine-java] Re: How to upload primary key as an id instead of name

2010-07-13 Thread Matthew Blain
Sorry, this won't be available until 1.3.6. You should be able to do something like this: - property: __key__ external_name: CityId export_transform: datastore.Key.id import_transform: lambda value: datastore.Key.from_path('City', int(value)) --Matthew On Jul 10, 5:53 pm, Pasha wrote

[appengine-java] Re: Java Server Faces 2.0 does not works in GAE (for me)

2010-07-13 Thread SammyBar
Silly error...! I mistakenly named welcome.xhtml as welcome.xhml Sorry, JSF 2.0 works for me too! On 12 jul, 19:02, SammyBar wrote: > Hi all, > > I'm trying to config my first Java Server Faces project with GAE. I > have already configured my Eclipse following instructions published > athttps:

[appengine-java] Re: Java Server Faces 2.0 does not works in GAE (for me)

2010-07-13 Thread Daniel
It looks fine to me... all ur settings and configs aresame as at my web app i also took them from that web site If i were u i would delete the project and build it from scratch.. its probably some silly mistake... its not that u in the middle of the project.. u just started it should wor

Re: [appengine-java] Disappearing functionality after upgrading App Engine/GWT plugins

2010-07-13 Thread Rajeev Dayal
Hi, Did you install Eclipse as root? Did you perform the upgrade as non-root? There is an issue in Eclipse with installing it as root, and then updating plugins as non-root. I'd recommend that if you install Eclipse as root, switch to root when updating your plugins. It might be easiest to start

[appengine-java] Re: same application same datastore different subdomain

2010-07-13 Thread Shyam Visamsetty
You definitely cannot share the data store between two applications as of now. But, you can definitely create another application a2 which contains a webservice which can call a service from an application a1. -Shyam. On Jul 13, 5:22 am, IvanRdz wrote: > Hello world! > > I want to know if is p

[appengine-java] Re: problem with storing data in datastore

2010-07-13 Thread Shyam Visamsetty
So, if you are directly accessing the stream, it is still in memory and not stored anywhere. I think you should try logging the stream you receive. I think it is hitting a null ptr exception for some reason. did you use printstacktrace in your catch block? Thanks, Shyam. On Jul 13, 1:47 am, Visha

[appengine-java] Re: Sending mail in transaction

2010-07-13 Thread Marcus Brody
I was thinking about storing some unique string which is derived from email content and recipient (i have some unique stuff sending in each mail) and store in memcache/db, I know its not bullet proof but at least in case some possible 2x sending mail would be filtered. Concept : Check flag if set

[appengine-java] Re: problem with storing data in datastore

2010-07-13 Thread Vishakha
Hi I am akriti's team member. This is part of my servlet code. public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { { ServletFileUpload upload = new ServletFileUpload(); try{ FileItemItera

[appengine-java] Re: problem with storing data in datastore

2010-07-13 Thread Vishakha
Hi I am akriti's team member. This is part of my servlet code. public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { { ServletFileUpload upload = new ServletFileUpload(); try{ FileItemIter

[appengine-java] How long is my application state hold on the app engine?

2010-07-13 Thread ingo
hello everyone, i want to collect some performance figures of my app on the server side. but i do not want to persist them in the database, i only want to collect them by changing the state of some class (i.e. changing class members like number of requests, number of method calls, etc). i want to

[appengine-java] Re: Cannot see 'New Web Application' in New menu

2010-07-13 Thread John
Thanks, 3.6 as root was the problem. John On Jul 7, 7:56 pm, Jason Parekh wrote: > Hi John, > > Do you see any of the other Google Plugin for Eclipse features, like a few > toolbar buttons? > > Did you happen to install Eclipse 3.6 as root and the plugin as your user? >  There's a known Eclipse

[appengine-java] Re: Sending mail in transaction

2010-07-13 Thread dflorey
The request headers will not help. You'll run into problems whenever you are doing an api call that return with an unknown state and the method you are calling is not idempotent (like sending mail, creating a contact etc.) So in case of email you can add your app as bcc and use a mail-in handler to

[appengine-java] How to assing an enitity to two different enitites ?

2010-07-13 Thread cscsaba
Hello, I would like to build an web application where the entity relationship looks like as follow: User 1 -> * Possibility * -> 1 Country 1 -> 1 Profile * -> 1 Country *initialization and persistence* User.getPossibilities().add(Possibility);Possibility.setCountry(Country);

[appengine-java] Re: GAE JavaMail jumbles UTF-8

2010-07-13 Thread Marc Hacker
Sounds good, thanks for trying, but it didn't help for me :-( Also I need a solution for the html body as well... Anyone? On Jul 13, 8:45 am, Peter Ondruska wrote: > You should encode subject if using non-ASCII: > > msg.setSubject(MimeUtility.encodeText(_subject, "UTF-8", "Q")); > > On Jul 12,

[appengine-java] same application same datastore different subdomain

2010-07-13 Thread IvanRdz
Hello world! I want to know if is possible to use the same datastore across multiple (or different) subdomains/applications. I have googleapps account and I have already configure it with www domain for the main app. What I want to do is: www.myapp.com -- user interface application, gwt develope

[appengine-java] Re: sessions - configured but don't work on first call

2010-07-13 Thread Shawn Brown
Maybe this should be a gwt question. I was thinking getThreadLocalRequest().getSession() was appengine related but maybe that's not the case. Shawn -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send emai

[appengine-java] sessions - configured but don't work on first call

2010-07-13 Thread Shawn Brown
Hello, A call to my app invokes a filter which starts a session via request.getSession(true); here is the id: czbgfo2bp5vs Then it proceeds to serve a non-static page, but the client shows no JSESSION id. Then the client make an rpc call which again generates a new session via the filter. id:

Re: [appengine-java] Deleted all the data, but Storable Data summary still shows 72%

2010-07-13 Thread Prashant
wait for some time. it takes little time to update. -- Prashant www.claymus.com -- 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

[appengine-java] Deleted all the data, but Storable Data summary still shows 72%

2010-07-13 Thread Ronin
hi, I deleted all the objects, but Total Stored data still shows 72%. Why ? I tried to lookup the data using Datastore viewer, but could not see any objects. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To p

[appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-07-13 Thread xiyuan76
hi, Adrian If I upload an not image file ,I met the oom error. If I upload an image file,I met "Must call one of set*BlobStorage() first." Where to add "fileInput.setName("file");" I use java. -- You received this message because you are subscribed to the Google Groups "Google App Engine fo

Re: [appengine-java] Re: problem with storing data in datastore

2010-07-13 Thread Pieter Coucke
Could it be that the file upload tries to store the file in a temporary directory somewhere? -- Pieter Coucke Onthoo BVBA http://www.onthoo.com http://www.koopjeszoeker.be -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post