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

2009-09-01 Thread barak
10x :-) On Aug 31, 6:57 pm, Toby Reyelts to...@google.com wrote: It looks like compass is reading the System property, java.io.tmpdir and eventually it gets passed into a File constructor call. App Engine doesn't have a temp directory (we don't allow the writing of any files to disk), so

[appengine-java] appspot-china.l.google.com ??

2009-09-01 Thread Capsicum annuum
Old CNAME ghs.google.com //does not work appspot-china.google.com //does not work China...China.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

[appengine-java] bigtable allow external connection?

2009-09-01 Thread asianCoolz
possible to only utitlieze bigtable for storing data ? may i know is it possible to connect to certain port on google app engine to query for database in bigtable? let say i deployed my app in amazon and i want to use google app engine's bigtable

[appengine-java] Re: Unowned relationships

2009-09-01 Thread leszek
You can follow something like that class Parent { @Persistent private ListLong/Key childList; // non Persistent private ListChild list; ... } class Child { @PrimaryKey private Long/Key key; ... } // before save Parent private void beforeSave(EntityManager

[appengine-java] i have create a gwt project ,now when deploy the project with gae ,some problem has appear

2009-09-01 Thread tom
I have a javabean like : package com.icsc.zzjj.client.bean; import java.io.Serializable; import java.lang.Float; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import

[appengine-java] Re: i have create a gwt project ,now when deploy the project with gae ,some problem has appear

2009-09-01 Thread leszek
It is a common problem. Read this thread:

[appengine-java] Using external jars

2009-09-01 Thread Tomer Weller
Hi I'm using eclipse with gwt and App Engine. I'm trying to build a servlet that sends out data encoded in JSON format. For that I'm trying to use the flexjson external library for JSON serializing (is there anything better already within gwt/ appengine?) - which causes a

[appengine-java] Re: Unowned relationships

2009-09-01 Thread funkforce
Hi, First of all, thanks for posting, it really helps me. objectuser : Good post and the link was really nice. Albert Attard : Thanks for the examples, it shows that you have to wright lots of code to manage your own relationships (which I was trying to avoid). leszek: This is what I did and

[appengine-java] Re: Using external jars

2009-09-01 Thread leszek
But what class cannot be found ? Are you sure that you have put flexjson and all necessary jars in WEB-INF/lib directory of your project ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: i have create a gwt project ,now when deploy the project with gae ,some problem has appear

2009-09-01 Thread 郑杰
thank you,leszek,you are a good men! 2009/9/1 leszek leszek.ptokar...@gmail.com It is a common problem. Read this thread:

[appengine-java] Re: is not persistable

2009-09-01 Thread Bob L.
What a shame! I forgot this line on the class: @PersistenceCapable (identityType = IdentityType.APPLICATION) Thx. On Sep 1, 10:20 pm, Bob L. bob.net2...@gmail.com wrote: 1. It is in CLASSPATH as all classes are in the project. 2. I basically copied from the example, so it should not be a

[appengine-java] Re: Log4J vs. java.util.logging in App Engine projects

2009-09-01 Thread Bill Higgins
Thanks much for the response Rajeev. Let me see if I can repeat and reduce it to make sure I understand the formula. 1) DataNucleus will use EITHER log4j OR java.util.logging. It never uses both. 2) DataNucleus will use log4j if it detects log4j classes on the classpath, otherwise it will use

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

2009-09-01 Thread Don Schwarz
Do you have HTTP sessions enabled? HTTP Sessions are stored 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

[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
10x for that! :-) Indeed after removed the annotations I could still see the calls; after disabling the session use - the calls disappear :-) Is this documented somewhere? On Sep 1, 5:02 pm, Don Schwarz schwa...@google.com wrote: Do you have HTTP sessions enabled?  HTTP Sessions are stored in

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

2009-09-01 Thread Don Schwarz
http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions On Tue, Sep 1, 2009 at 9:19 AM, barak barak.ya...@gmail.com wrote: 10x for that! :-) Indeed after removed the annotations I could still see the calls; after disabling the session use - the calls disappear :-)

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

2009-09-01 Thread Mita Sakhalkar
Hi barak, This is my applications appengine-web.xml and web.xml respectively ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; applicationexample/application version1/version !-- Configure java.util.logging --

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

2009-09-01 Thread Jason Parekh
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: Not sure what each line in the output states, but after changing some files, the Cloning N static files. was increased by one, the file

[appengine-java] Bulk Uploading Data

2009-09-01 Thread mscwd01
I have some 30,000 files consisting of 800kb that I want to upload and save in the data store. As us java users dont have an easy way of uploading data I am resorting to using http POST requests to upload the files. This is painfully slow, each file takes about 2 minutes. Has anyone come up with

[appengine-java] Re: Log4J vs. java.util.logging in App Engine projects

2009-09-01 Thread Rajeev Dayal
Yes, I think you've got it exactly right. If you notice any deviations from this behavior, please post back on this thread and let us know. On Tue, Sep 1, 2009 at 9:31 AM, Bill Higgins billh...@gmail.com wrote: Thanks much for the response Rajeev. Let me see if I can repeat and reduce it to

[appengine-java] When create a multiple module entry in a project?

2009-09-01 Thread Xavier Pegenaute
Hi, I am not used to develop web apps and I have no a clear idea about when use more than one module entry in my project. Any one could me explain me when could be a better solution? Thanks Regards. Xavi. --~--~-~--~~~---~--~~ You received this message because

[appengine-java] Inconsistence between how app-engine sorts string encoded-keys and java method String.compareTo()

2009-09-01 Thread Cornel
Hello! I ran over this problem. I was retrieving a DbContact data set simply ordered by encodedKey ascending, and i got this list: [(key agljb3NpbnV4NjhyIQsSCkRiQ3VzdG9tZXIYm0gMCxIJRGJDb250YWN0GJxIDA name EUROTRIM) , (key agljb3NpbnV4NjhyIQsSCkRiQ3VzdG9tZXIYnUgMCxIJRGJDb250YWN0GJ5IDA name ANCA

[appengine-java] Re: Exception while deploying JSP Tag Lib Files

2009-09-01 Thread Klaus
I forgot to point out that the deployment works fine for *regular* JSP file. Everything works fine if you *don't* have JSP Tag files, so if you don't make use of the tag world (resp. if you delet the file world.tagx) in the above example. It' not a general failure of the deployment process, and I

[appengine-java] Re: Max Read / Queries per Second in Datastore?

2009-09-01 Thread Jason (Google)
Hi David. There is a higher limit on write throughput because of the journals and other metadata for concurrency control, etc. There are no analogous limitations for reads which can be performed in parallel, so you shouldn't see any bottlenecks caused by concurrent reads. - Jason On Sun, Aug 30,

[appengine-java] Re: issues with compass for GAE apps

2009-09-01 Thread Toby Reyelts
Vik, Do you have some sample code to reproduce this? By default, we throw an exception if you try to create more than one PersistenceManagerFactory. Are you using a singleton class to prevent more than one from being created? If so, are you maybe loading that singleton class in different

[appengine-java] Re: cant create temporary file

2009-09-01 Thread sandeep
Thanks jason. I wanted to run a public webservice which could convert pdf to text online using PDFBox library. Because of this limitation (not able to create temp file) this was a failure. :( On Aug 31, 7:43 pm, Jason (Google) apija...@google.com wrote: You're correct that App Engine's

[appengine-java] Re: test unit doesn't work more

2009-09-01 Thread OliBye
I also had this issue using the Eclipse plug-in. This does not appear to be the original issue (http://code.google.com/ p/googleappengine/issues/detail?id=1876) I think the documentation is correct. I think it's the Eclipse plug-in that has the this new issue. It appears that the Eclipse

[appengine-java] Cache Control for Mobile apps

2009-09-01 Thread fvisticot
I'm developing a mobile application. For performance purpose, i would like to cache some jsp files I have made a test inserting the following lines in my JSPs: response.setHeader(Cache-Control,max-age=66); response.setHeader(Expires,Tue, 01 Sep 2009 23:15:00 GMT); Each time, i reload the page

[appengine-java] Re: Exception while deploying JSP Tag Lib Files

2009-09-01 Thread Rajeev Dayal
Hey Klaus, I think you may be running into the issue mentioned here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/175e70cc0c93ded9 This is a pretty bad hack, but can you try copying the tools.jar file from your JDK's directory (the one which your project in Eclipse

[appengine-java] memcache service down?

2009-09-01 Thread hansamann
Hi all, I saw that most of my cron jobs which are using calls to memcache are down, is this a known issue? This is the exception I see in the logs: com.google.appengine.api.memcache.LogAndContinueErrorHandler handleServiceError: Service error in memcache

[appengine-java] Re: memcache service down?

2009-09-01 Thread hansamann
Adding to that: I just saw the new version live for one 'request' - I then thought it all works and changed the main version to the new version. Upon testing groovytweets.org it did not work any more... so I switched back but now the OLD version is also down... ? Soo There must be something

[appengine-java] dwr3 working example

2009-09-01 Thread asianCoolz
from http://www.nabble.com/DWR3RC1-threads-ts23074328.html#a23227051 , it showed that no working example just yet for dwr3. have anyone tried on this? why inwill it played it showed its working? --~--~-~--~~~---~--~~ You received this message because you are