[appengine-java] About LocalDatastoreServiceTestConfig

2010-05-21 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.

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

2010-05-21 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 appministra...@gmail.com 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

[appengine-java] Can not deploy into GAE

2010-05-21 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

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

2010-05-21 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] Re: Junit Problem

2010-05-21 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

[appengine-java] Re: Junit Problem

2010-05-21 Thread bufferings
hi I posted a sample with @BeforeClass and @AfterClass a few minutes ago. FYI: Somehow the setStoreDelayMs(1) leaves the data in the file, if you call helper.tearDown(). http://groups.google.com/group/google-appengine-java/browse_thread/thread/68fa07d96fe929e8 == @Before public void setUp()

[appengine-java] Re: About LocalDatastoreServiceTestConfig

2010-05-21 Thread bufferings
Hi LoveYao I think this is strange, too. The setStoreDelayMs(1) leaves the data in the file, and the setStoreDelayMs(1000) clears the data. Why don't you submit an issue? http://code.google.com/p/googleappengine/issues/list -- You received this message because you are subscribed to the Google

[appengine-java] GAE/J 1.3.4 in http://dl.google.com/eclipse/plugin/3.5

2010-05-21 Thread Peter Ondruska
Hello, is there any chance 1.3.4 will make it into Eclipse? Thanks. Peter -- 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,

[appengine-java] Re: About LocalDatastoreServiceTestConfig

2010-05-21 Thread Love Yao
Yes. I try setStoreDelayMs(1000) all data gone! On May 21, 3:25 pm, bufferings bufferi...@gmail.com wrote: Hi LoveYao I think this is strange, too. The setStoreDelayMs(1) leaves the data in the file, and the setStoreDelayMs(1000) clears the data. Why don't you submit an

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

2010-05-21 Thread Jesús Navarrete
Hi Pla, I don't have clear if you tested your application with: - more than 80 emails and 10 or - more than 80 emails, 10 and another number less than 80 Then perhaps your problem can be: http://mail.google.com/support/bin/answer.py?hl=enanswer=22839 accounts in gmail have limits. You only can

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

2010-05-21 Thread Ivan Zuzak
All I've found is this: https://spreadsheets.google.com/viewform?formkey=dGFxQ1A4T1BSYWxNdFlYVFhUcmg2amc6MQ On May 21, 4:28 am, brianl licht...@gmail.com wrote: 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

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

2010-05-21 Thread Don Schwarz
Yes, that's the URL to sign up for trusted testing. Here's the source code for the demo: http://code.google.com/p/dance-dance-robot/ On Fri, May 21, 2010 at 4:17 AM, Ivan Zuzak izu...@gmail.com wrote: All I've found is this:

Re: [appengine-java] GAE/J 1.3.4 in http://dl.google.com/eclipse/plugin/3.5

2010-05-21 Thread Miguel Méndez
We've been pretty busy with Google I/O. We should get it updated next week. On Fri, May 21, 2010 at 3:49 AM, Peter Ondruska peter.ondru...@gmail.comwrote: Hello, is there any chance 1.3.4 will make it into Eclipse? Thanks. Peter -- You received this message because you are subscribed to

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

2010-05-21 Thread Didier Durand
Hi Nacho, Did you try through the class loader ? The page http://code.google.com/appengine/docs/java/runtime.html says: Custom Class Loading Custom class loading is fully supported under App Engine. Please be aware, though, that App Engine overrides all ClassLoaders to assign the same

[appengine-java] cookie expiration

2010-05-21 Thread ailinykh
Hello, everybody! Application Setting page allows to set cookie expiration period up to 2 weeks. I'd like to have longer expiration period. Is there a way to do it? Thank you, Andrey -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

Re: [appengine-java] Re: Junit Problem

2010-05-21 Thread Unni Panicker
When you run the server , data gets persisted and u can view the data using the console http://localhost:/_ah/admin. But for the test utilities it is not persisted. It is preferable that data is not persisted for two reasons. 1. It is better to start each test from a clean plate. 2.

Re: [appengine-java] Re: Junit Problem

2010-05-21 Thread Ravi Sharma
What about the code which reads the data? How we will test it if can't persist the data in test cases. Sent from my iPhone On 21 May 2010, at 15:33, Unni Panicker o4tec...@gmail.com wrote: When you run the server , data gets persisted and u can view the data using the console

[appengine-java] Re: cookie expiration

2010-05-21 Thread ailinykh
And one more thing. I don't see _ah_SESSION kind any more. What happened? Does it mean I can't force people to re-login? Andrey On May 21, 9:33 am, ailinykh ailin...@gmail.com wrote: Hello, everybody! Application Setting page allows to set cookie expiration period up to 2 weeks. I'd like to

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

2010-05-21 Thread Nacho Coloma
Yep, I did that but I am not happy with it. I will go through the details: I am toying with relations inside SimpleDS. Let's say that I have two entities, A and B: public class A { private Key bKey; public B getB() { throw new UnsupportedOperationException(); } } getB() exists

[appengine-java] java.net.InetAddress and logback 0.9.21

2010-05-21 Thread Sean
I've posted the same question over on the logback forum but I wanted to check here to see who is using SLF4J/logback with GAE: http://old.nabble.com/Google-App-Engine-and-java.net.InetAddress-ts28628992.html Question is posted here again: I'm trying to hook up slf4j/logback into a Google App

[appengine-java] Intermittent 500 Server Error

2010-05-21 Thread nischalshetty
Hi, I keep getting 500 server erro at regular intervals. IMO it's the Google App engine that is facing issues. This is really frustrating now because my apps usage has increased a lot and I keep getting complaints about it from users. I am not able to reproduce, there are no indications about

[appengine-java] Re: Problem deploying the tutorial app

2010-05-21 Thread kishor.ys
java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=5834361version=1; 404 Not Found This application does not exist (app_id=u'5834361'). On Apr 1, 9:58 pm, Ikai L (Google) ika...@google.com wrote: What is your application ID? On Wed, Mar 31,

[appengine-java] How can i work with subdomain in google app engine( Java )

2010-05-21 Thread technut
Hi I have created domain on GAE and would like to map on different sub domains on that . So please help me on this. i.e : my site = http://mysite.appspot.com/mvas and want to create sub domain like http://mvas.xyz.com/mvaslist. Its appreciate your time. Thanks Biswajit -- You received this

[appengine-java] Spring 3.0.2 wants to use blacklisted javax.naming.Context when using factory-method ...workaround?

2010-05-21 Thread Daniel Kvasnicka jr.
Dear all, I'm working on an app (JSF 2.0, Spring 3.0.2) and when I deploy it to GAE, it dies on first request with this: java.lang.IllegalArgumentException: Cannot find class [javax.naming.Context] at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java: 294) at

Re: [appengine-java] Spring 3.0.2 wants to use blacklisted javax.naming.Context when using factory-method ...workaround?

2010-05-21 Thread Sudhir Ramanandi
Can you report the issue on Spring's Jira.. On Fri, May 21, 2010 at 9:29 PM, Daniel Kvasnicka jr. daniel.kvasnicka...@gmail.com wrote: Dear all, I'm working on an app (JSF 2.0, Spring 3.0.2) and when I deploy it to GAE, it dies on first request with this:

[appengine-java] Re: Spring 3.0.2 wants to use blacklisted javax.naming.Context when using factory-method ...workaround?

2010-05-21 Thread Daniel Kvasnicka jr.
Well, problem solved. GAE just does not like when you leave too much magic on Spring. I wanted to setup everything using Spring instead of the PMF.java file described in GAE docs. So now I use the PMF.java instead and retrieve the PM from it using Spring and the error is gone. This is the

[appengine-java] What Framework to use?

2010-05-21 Thread hurray!
I am looking for a web framework to use on GAE that 1. Provides pretty URLs 2. Makes passing data to views easier. 3. Is productive. I tried Grails for a small app, but the startup time was too long. I am curious what framework do you guys use for a small to medium sizeapp (that gets a few

RE : [appengine-java] What Framework to use?

2010-05-21 Thread Romain Pelisse
Wicket has been known to be usable on GAE, and is IHMO a very nice a productive web framework. Le 21 mai 2010 19:11, hurray! sudarshan.acha...@gmail.com a écrit : I am looking for a web framework to use on GAE that 1. Provides pretty URLs 2. Makes passing data to views easier. 3. Is productive.

[appengine-java] Email Sending Limits Question

2010-05-21 Thread kghate
My application sends email on behalf of users who are always logged in via their Google Accounts. All emails get sent using the logged in user's email address in the From field. This is working fine. I have these crucial open questions around spam and best practices. 1. If a rogue user sends out

[appengine-java] Doable? Create multiple CSV files and zip it up

2010-05-21 Thread Jonathan
Hi, From a quick scan of GAE doc there is no access to a temporary file system. The product I want to build required creating CSV files on the fly and package them in a zip file with some directory structure, then send the zipped file to response for user to download. Is it doable in GAE?

RE : [appengine-java] Doable? Create multiple CSV files and zip it up

2010-05-21 Thread Romain Pelisse
Probably doable in memory but as queued process not inside the request - maybe this was obvious but better safe than sorry :) To help with csv, you can easily add and use opencsv. Hope this help. Le 21 mai 2010 20:30, Jonathan jonat...@randomguava.com a écrit : Hi, From a quick scan of GAE

Re: [appengine-java] Google App Engine For Business

2010-05-21 Thread Ikai L (Google)
The official blog post, for anyone that's curious, is here: http://googlecode.blogspot.com/2010/05/announcing-google-app-engine-for.html http://googlecode.blogspot.com/2010/05/announcing-google-app-engine-for.htmlWe're still working out the detailed aspects of our announcement. Stay tuned, and

Re: [appengine-java] What Framework to use?

2010-05-21 Thread Guillaume Laforge
Did you have a look at Gaelyk? http://gaelyk.appspot.com/ I just did a presentation about it: http://www.slideshare.net/glaforge/gaelyk-quickie-gr8conf-europe-2010-guillaume-laforge On Fri, May 21, 2010 at 18:29, hurray! sudarshan.acha...@gmail.com wrote: I am looking for a web framework to use

Re: [appengine-java] What Framework to use?

2010-05-21 Thread Rusty Wright
Stripes. http://www.stripesframework.org/display/stripes/Home On 2010-05-21 09:29, hurray! wrote: I am looking for a web framework to use on GAE that 1. Provides pretty URLs 2. Makes passing data to views easier. 3. Is productive. I tried Grails for a small app, but the startup time was too

[appengine-java] Re: What Framework to use?

2010-05-21 Thread hurray!
Have you used Stripes on GAE or just throwing it out there? On May 21, 2:40 pm, Rusty Wright rwright.li...@gmail.com wrote: Stripes.  http://www.stripesframework.org/display/stripes/Home On 2010-05-21 09:29, hurray! wrote: I am looking for a web framework to use on GAE that 1. Provides

[appengine-java] Can we get request timeout limit removed for admin protected URLs?

2010-05-21 Thread Matt Hall
There are a number of admin tasks I'd like to do related to data cleanup and transformation that are just murder to do with the 30 second request time limit. Would it be possible to lift that limit for URLs that are marked for admin use only? We'd still be charged full quota use for the requests

[appengine-java] Re: What Framework to use?

2010-05-21 Thread jnizet
I have used Stripes on GAE : see https://memwords.appspot.com/ and http://code.google.com/p/memwords/ for the sources. It's a very elegant and productive action-based framework, which works very well on GAE. I have a 5-10 seconds cold startup time on GAE, but once it's started, it flies. JB. On

[appengine-java] JPQL: Help needed with App Engine datastore does not support operator org.datanucleus.query.expression.Literal

2010-05-21 Thread Drasko
I am getting the following exception: org.datanucleus.store.appengine.query.DatastoreQuery $UnsupportedDatastoreOperatorException: Problem with query SELECT AdChangeLog FROM AdChangeLog WHERE changeType = :type ORDER BY timestamp DESC LIMIT 50: App Engine datastore does not support operator

[appengine-java] delete the entries in the datastore

2010-05-21 Thread drift elysium
Hi all, Is there a way to delete all the entries in the datastore after deploying the application to the app engine? Thanks -- 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

Re: [appengine-java] Re: What Framework to use?

2010-05-21 Thread nicolas melendez
chose the Wicket way! On Fri, May 21, 2010 at 7:22 PM, jnizet jni...@gmail.com wrote: I have used Stripes on GAE : see https://memwords.appspot.com/ and http://code.google.com/p/memwords/ for the sources. It's a very elegant and productive action-based framework, which works very well on

[appengine-java] working in local host but not in GAE after deployment

2010-05-21 Thread drift elysium
My application is working well while running in the localhost but not after deploying to GAE. Does anyone know about this? -- 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

[appengine-java] appengine unaware code!

2010-05-21 Thread aijazzz
Hi, I was looking to some examples to start my work on google appengine application and found out that I have to use appengine related code in source. For example, in a database example I found this, import com.google.appengine.api.datastore.Key; I am wondering if there is a way I can keep my

[appengine-java] Bulkupload int key?

2010-05-21 Thread Craig Berry
I have an xml file containing data which I wish to bulkupload to GAE. I am using the preview version of the new bulk uploader, if that matters. How do I include an int value for the __key__ derived from a field in the xml data? If I specify no import transform, like so - property: __key__

Re: [appengine-java] appengine unaware code!

2010-05-21 Thread Chau Huynh
You can take a look on 4 types of key on app engine and choose what you want: http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys On Sat, May 22, 2010 at 5:35 AM, aijazzz aija...@gmail.com wrote: Hi, I was looking to some examples to start my work on

Re: [appengine-java] delete the entries in the datastore

2010-05-21 Thread Chau Huynh
Have you tried searching the groups, this topic was discussed in detail with experience shared.. http://groups.google.com/group/google-appengine-java/search?group=google-appengine-javaq=delete+all+entitiesqt_g=Search+this+group In summary, advise from the group is to use Task Queue to work on

[appengine-java] Re: Doable? Create multiple CSV files and zip it up

2010-05-21 Thread Houston startup coder
I'm creating docx and xlsx files (Microsoft Office files) which consist of zip files containing text documents: http://stephenhuey.wordpress.com/2010/01/01/docxgae/ You can actually zip your text documents up in memory without writing them to any file system and then stream the zip file out to

[appengine-java] Development mode for HttpServlet

2010-05-21 Thread drift elysium
http://www.pakzilla.com/2009/12/01/determine-whether-application-is-running-on-local-server-or-app-engine/ This link shows how to set the value of DEV_MODE to true or false according to whether they run on local machine or GAE. Is there any equivalent for HTTPServlet? -- You received this

[appengine-java] Re: appengine unaware code!

2010-05-21 Thread Vaclav Bartacek
As for the datastore - you can create abstract DAO layer which hides the actual implementation. Try AuDAO tool (http://audao.spoledge.com) to generate an abstract DAO layer + implementation for GAE, MySQL or Oracle DBs. However, if you want to optimize the code and also due to several restrictions