[appengine-java] How to pass paramters to servlet deployed on GAE?

2010-02-18 Thread barak
Hello all, I've a test servlet to deploy on gae platform, which just read paramters from the request and and sysout them. While deploying on the development server (via Eclipse plugin) everything works as expected, i.e. http://localhost:/test1?p1=v1 causes the servlet to display the parameter

[appengine-java] Re: How to pass paramters to servlet deployed on GAE?

2010-02-18 Thread barak
servlet servlet-nametest1/servlet-name servlet-classcom.TestServlet/servlet-class /servlet servlet-mapping servlet-nametest1/servlet-name url-pattern/test1/*/url-pattern /servlet-mapping On Feb 18, 6:41 pm, Stephan Hartmann hartm...@metamesh.de wrote: You

[appengine-java] App engine layout - servers around the world?

2009-11-04 Thread barak
I was wondering - say a user from South Africa and a user from the U.S hits a webapp deployed on GAE. Do those users expirience the same speed of loading the site, downloaing images, etc., or GAE servers located in one data center (for example, California), and the nearest users will enjoy from

[appengine-java] Re: Persist HashMap with sdk1.2.2 ?

2009-11-01 Thread barak
.  For example, in your case, I'm wondering if instead of having a List of UserStats, have a List of User, and each user has a UserStats object in it. I'm still trying to figure this out so I could be wrong about this. barak wrote: Here it is: PersistenceManager pm = PMF.get

[appengine-java] Re: Persist HashMap with sdk1.2.2 ?

2009-11-01 Thread barak
of User, and each user has a UserStats object in it. I'm still trying to figure this out so I could be wrong about this. barak wrote: Here it is: PersistenceManager pm = PMF.get().getPersistenceManager(); ListUserStats result = (ListUserStats) pm.newQuery( select from

[appengine-java] Re: Persist HashMap with sdk1.2.2 ?

2009-10-31 Thread barak
); } finally { pm.close(); } On Oct 30, 8:47 pm, Jason (Google) apija...@google.com wrote: Can you post the code that you're using to re-persist the updated HashMap? - Jason On Thu, Oct 29, 2009 at 6:07 AM, barak barak.ya...@gmail.com wrote: Thanks, did that and the map is indeed

[appengine-java] Persist HashMap with sdk1.2.2 ?

2009-10-29 Thread barak
Hi, I'm trying to persist the following class: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class UserStats { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key;

[appengine-java] Re: Persist HashMap with sdk1.2.2 ?

2009-10-29 Thread barak
Thanks, did that and the map is indeed serialized now. But now, the enitity is fetched, seems like the state is not always kept. For example, I would like to store some attribute from an HttpSession using the UserStats instance. Every time a user in a session press some button, a instance is

[appengine-java] Re: Discussion on will-it-play-in-app-engine

2009-09-22 Thread barak
I've uploaded the primefaces demo to gae (jsf1.2), some components still do not behave as expected - http://primefacesshowcase.appspot.com/ui/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] 500 Internal Server Error when uploading to GAE

2009-09-06 Thread barak
Hi, I'm using Eclipse plugin and sdk-1.2.2 to upload my app to GAE, its size is 109MB. From time to time I'm facing upload problems with the following error: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/addblob?path=__.500 Internal Server Error The

[appengine-java] Re: GAE Eclipse plugin - Uploading 0 files.

2009-09-02 Thread barak
No, the files were uploaded, I just wondering regarding the wording... On Sep 1, 5:50 pm, Jason Parekh jasonpar...@gmail.com wrote: Hm, and when you hit your web app on app engine, it was still the old version? jason On Tue, Sep 1, 2009 at 3:02 AM, barak barak.ya...@gmail.com wrote

[appengine-java] Re: Exception on creation of java.io.File in GAE

2009-09-01 Thread barak
this system property is set to null. If you need to set this system property for compass, you can configure it in your appengine-web.xml. For example, system-properties   property name=java.io.tmpdir value=./ /system-properties On Mon, Aug 31, 2009 at 4:05 AM, barak barak.ya...@gmail.com wrote

[appengine-java] Re: Quota Details show calls made to Memcahe and Datastore, even though I'm not using that

2009-09-01 Thread barak
Ok, its my bad - I've forgotten some jdo annototaions in some old beans I'm not using anymore... Will be removed. On Sep 1, 4:12 pm, barak barak.ya...@gmail.com wrote: Hello, I've deployed an application into GAE (that uses compass). After few invocations, I've checked the Quota Details

[appengine-java] Re: Quota Details show calls made to Memcahe and Datastore, even though I'm not using that

2009-09-01 Thread barak
in the datastore behind the scenes, and cached in memcache. On Tue, Sep 1, 2009 at 8:12 AM, barak barak.ya...@gmail.com wrote: Hello, I've deployed an application into GAE (that uses compass). After few invocations, I've checked the Quota Details screen. It show that calls made

[appengine-java] Re: Errors while uploading the application

2009-08-30 Thread barak
Can you share how do you upload the files? Can you share the appengine- web.xml file? I had that kind problem in the past, and it resulted due to bad config in appengine-web.xml. On Aug 30, 3:38 pm, Mita Sakhalkar uniqueli...@gmail.com wrote: Hi I have issues updating the application. I have

[appengine-java] GAE Eclipse plugin - Uploading 0 files.

2009-08-30 Thread barak
Hello, I'm trying to upload static files as part of my webapp, placed under war/myfolder/. I've copied some files to there, then tried to upload them to GAE, but nothing of these files uploaded. This is the pluging output: Creating staging directory Scanning for jsp files. Compiling jsp files.