[appengine-java] Re: Junit Problem

2010-05-20 Thread bufferings
Hi Ravi Following example puts data in [projectDir]/WEB-INF/appengine- generated/local_db.bin (not war/WEB-INF), and does not clear the data. So testInsert2 will fail, and second running of testInsert1 will also fail. == private static LocalServiceTestHelper helper; @BeforeClass public sta

[appengine-java] Is there any way to instrument a class inside AppEngine?

2010-05-20 Thread Nacho Coloma
Hi, I know this is probably bad timing as most Googlers will probably be at I/O, but anyway: Do I have any way to instrument a class (AKA: modify its bytecode on class loading) inside GAE? I suppose not, and that's why datanucleus is using compile time, but I'm asking just to be sure. This far I

[appengine-java] Can not deploy into GAE

2010-05-20 Thread Dicker24
Hi, i have got problems with deploy my app into GAE. I have got the following error: Initializing precompilation... Deploying new version. Will check again in 1 seconds Will check again in 2 seconds Will check again in 4 seconds Will check again in 8 seconds Will check again in 16 seconds Will chec

[appengine-java] Re: How to hide static file from the user

2010-05-20 Thread Nacho Coloma
The WEB-INF way is the standard practice. You can also assign an impossible role to these folders in web.xml. On May 20, 7:10 pm, Peter wrote: > Hi, > > After toying with App Engine for a few hours, I've found that in order > to hide a static file from the web content path you have to go through

[appengine-java] About LocalDatastoreServiceTestConfig

2010-05-20 Thread Love Yao
the docs: Config for accessing the local datastore service in tests. Default behavior is to configure thelocal datastore to only store data in-memory and not write anything to disk. tearDown() wipes out all in-memory state so that the datastore is empty at the end of every test. yes

[appengine-java] Dance Dance Robot, Channel API Help

2010-05-20 Thread brianl
Looking for the Dance Dance Robot demo URL that was shown at Google IO? Think they said we can download an experimental SDK w/ the Channel API for a limited time? Wonder if that's true and how to get it. -- You received this message because you are subscribed to the Google Groups "Google App E

[appengine-java] 500 Error on app deploy

2010-05-20 Thread George McBay
Didn't notice any scheduled maintance notices but I currently cannot deploy to appEngine: --- com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=chumproxy&version=1&; 500 Internal Server Error

[appengine-java] Re: Manage local datastore

2010-05-20 Thread rmurta
This just let me List the entities. Is it another way to insert new entities objects? Thx On May 13, 10:11 am, Pieter Coucke wrote: > Have you triedhttp://localhost:/_ah/admin/ > > > > > > On Thu, May 13, 2010 at 2:59 PM, rmurta wrote: > > Hello, > > Is there any tool to manage(create, delet

[appengine-java] load kml

2010-05-20 Thread ravjot
i ma trying to upload a kml file from some specified location from my system nd it is givin the output only in the stand alone application but when m tryin to run the same on a web application project , m not gettin the output for the same , although i have included all the jar files nd everything

[appengine-java] [App-Engine] issue with

2010-05-20 Thread Yd
Hi, I am having a nasty problem when i use in my jsp files when I'm using the java app-engine in the Eclipse IDE (with the packaged Jetty) This is what i do: This throws up an error, while this seems to work fine: <%@ include file="topNavigation.jsp" %> Any help will be appreciated. Thanks

[appengine-java] how to do jdbc in eclipse

2010-05-20 Thread bhagya laxmi
hi iam very new to this google apps i know how to deploy application. can you please guide me how to do jdbc part using mysql . i want to create database ,tables and i also want to do CURD operation. its very urgent. i add this code to tomact grant codeBase "file:${catalina.home}/webapps/-" {

[appengine-java] Re: Persistent Identity of JPA Entities

2010-05-20 Thread datanucleus
> The behavious of DataNucleus depends on the strategy I choose to generate the > @Id field. Obviously, as per DN docs (and why I asked you to show your class) :- If using pessimistic txns, then all persist/update/delete operations happen immediately. Consequently it doesn't matter which value g

[appengine-java] How to hide static file from the user

2010-05-20 Thread Peter
Hi, After toying with App Engine for a few hours, I've found that in order to hide a static file from the web content path you have to go through the following two steps. First, since App Engine has a special way to serve the static file, you have to add the xml below to appengine-web.xml to exc

[appengine-java] Re: Persistent Identity of JPA Entities

2010-05-20 Thread datanucleus
> The behavious of DataNucleus depends on the strategy I choose to generate the > @Id field. As per the docs for DataNucleus then, which is why I asked you to show your class (and you didn't). If using pessimistic txns then any persist/update/delete will go to the datastore when invoked by the u

[appengine-java] jak support

2010-05-20 Thread ravjot
does google app engine support jak files nd lib? -- 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 group, send email to google-ap

[appengine-java] Re: Junit Problem

2010-05-20 Thread Tristan
Ahh wait.. I confused the issue. I haven't stored any data in my unit tests, so actually I don't have a solution. Sorry about that. (I was thinking of running dev environment when running GWT code...) On May 20, 11:19 am, Ravi wrote: > no for me it can store any where, i dont care. > I did commen

[appengine-java] Re: Junit Problem

2010-05-20 Thread Ravi
no for me it can store any where, i dont care. I did commented this line testLocalDatastoreServiceTestConfig.setBackingStoreLocation("C:\ \test.bin"); but it still didn't work.It gave the same line that file do not exists in the path(war/WEB-INF/appeninge-generated/local_db.bin ) you just mentione

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-20 Thread Tristan
I'm looking into it, give me a bit and I will get back to you soon. On May 19, 4:03 pm, Mouseclicker wrote: > Not sure that I have understood your code correctly, but as expected I > get the same error: > > com.google.apphosting.api.ApiProxy$RequestTooLargeException: The > request to API call dat

[appengine-java] Re: cannot email more than 10 people at a time in GAE

2010-05-20 Thread Tristan
Regardless if GAE supports it or not, you can just break that up into a bunch of tasks for a Task Queue that will send 10 emails at a time. On May 19, 3:06 am, Pla Gong wrote: > Hi, I am new to Google Application Engine.  I have an application  that > gives me a string of email addresses, then I

[appengine-java] Re: Junit Problem

2010-05-20 Thread Tristan
Is there a specific reason you need to store your data in that particular place? I never specified storage and it automatically created one for me and it persists just fine in war/WEB-INF/appeninge- generated/local_db.bin On May 20, 5:41 am, Ravi wrote: > Sorry to send a mail again. But can any o

[appengine-java] Re: Facebook/social website design problem

2010-05-20 Thread Tristan
You can still do it, but here's a caveat to remember. As long as you save all of them under one kind.. .so "UserActivity" kind, you should be fine. The datastore allows you to have non-uniform rows stored. So some "UserActivity" objects will have videoUrl property, some will have numberOfPhotos p

[appengine-java] Re: List all entitie kinds from the datastore

2010-05-20 Thread Laco Skokan
I have tried both. On local it does not work at all as you say. On cloud it works, but I have to specify entity name, so I can't list all entities. L. On 20 kvě, 06:15, Didier Durand wrote: > Hi Ladislav > > Did you try on GAE itself or on your local dev server: stats don't > work locally > > se

Re: [appengine-java] Appstats make request to API call memcache.Set() was too large

2010-05-20 Thread Viðar Svansson
I see the same problem also. Viðar On Thu, May 20, 2010 at 7:34 AM, takeru sasaki wrote: > I see same problem. > I cant use appstats with my app. > Can I configure to reduce appstats-data of each RPC call? > > Uncaught exception from servlet > com/google/net/rpc/RpcStub.java:1025:in `runInContex

[appengine-java] Re: Junit Problem

2010-05-20 Thread Ravi
Sorry to send a mail again. But can any one please help. I tried searching on group but didnt found a a solution till now. Main problem is that data is not being persisted on file system. If you have any example which works(example on Google docs doesnt work, i have tried that) then please send it

Re: [appengine-java] Re: Datastore - update a non-root entity does nothing

2010-05-20 Thread Mathieu Joets
Thanks for answering To be sure, I quote a presentation of wicket-gae-template : "we get a persistence manager that participates in Spring's transaction handling, which cares for opening and closing the persistence manager and transaction handling on our behalf" and "The sample application uses t

[appengine-java] Re: Datastore - update a non-root entity does nothing

2010-05-20 Thread BimboJones
*after On 19 Maio, 21:33, BimboJones wrote: > Hi, > > Did you close the PersistenceManager before making the changes? > Is the key generated by appengine? > > On 19 Maio, 10:21, Xuel wrote: > > > > > Hello everybody ! > > > I've been working with the wicket-gae-template which provides a good > >

[appengine-java] Re: java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction

2010-05-20 Thread laurent
exist it an other solution ? When i just do this below,it doesn't work: Objectify obj = ObjectifyService.beginTransaction(); obj.put(new Connection("DE PESSEMIER", "Johann", "projet")); obj.put(new Connection("AUCQUIERE", "Eric

[appengine-java] Re: jspx extension

2010-05-20 Thread Thomas
I guess you have to exclude *.jspx in the static files and resources file setting. Please see http://code.google.com/intl/en/appengine/docs/java/config/appconfig.html#Static_Files_and_Resource_Files On 5月20日, 上午12時18分, Michael B wrote: > I'm sure I'm making an obvious mistake here, but it seems

[appengine-java] Declarative caching for GAE using Java annotations

2010-05-20 Thread radomir
Hi, I made a small library that simplifies caching to Memcache using Java annotations. The implementation currently depends on Guice for AOP but it should be easily portable to other frameworks. More info at http://radomirml.com/2010/05/20/declarative-caching-for-appengine Regards, Radomir --

Re: [appengine-java] Appstats make request to API call memcache.Set() was too large

2010-05-20 Thread takeru sasaki
I see same problem. I cant use appstats with my app. Can I configure to reduce appstats-data of each RPC call? Uncaught exception from servlet com/google/net/rpc/RpcStub.java:1025:in `runInContext': com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call memcache.Set()