[appengine-java] Re: jdo on app engine

2009-12-02 Thread vbart
I've created a tool which generates whole DAO layer for GAE using JDO. So you must create a source configuration file manually - you define "the schema" - or the datastore model there. But you will get all classes which you need. It includes DTO pojos which you can use for transfering data between

Re: [appengine-java] Re: Point to application database with JUnit Test

2009-12-02 Thread Zenon
Hi Alex, for what I remember I tried to copy app db to the right location of junit test but system was unable to read it. 2009/12/2 djd : > Yeah, you create a sample database with 'new File(".")'. Actually I > did not connect to an existing database, but the document was enough > for me. And I als

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

2009-12-02 Thread andy.booth
I think that's just a case of an unfortunate glitch in the specific test page, rather than an issue with Jersey on Google App Engine. I have Jersey running fine on Google App Engine following the updates made this week to the 1.1.5 version by the authors of Jersey. Andy On Dec 1, 6:04 pm, Iqbal

[appengine-java] Re: Point to application database with JUnit Test

2009-12-02 Thread leszek
This type of tests works for me without any problem. Could you provide more details and what you mean exactly by "system was unable to read it" ? -- 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] Re: jdo on app engine

2009-12-02 Thread leszek
If you use "pure" long primary key than it can impact transactional mechanism which is related to so called "entity groups" identified by primary key values. So before designing your entity classes read through: http://code.google.com/intl/pl/appengine/docs/java/datastore/transactions.html -- Y

Re: [appengine-java] Re: Point to application database with JUnit Test

2009-12-02 Thread Zenon
Well, I just copied my app data (local_db.bin) to JunitTest database directory replacing the old one, but whatever test I execute it returns no data. 2009/12/2 leszek : > This type of tests works for me without any problem. Could you provide > more details and what you mean exactly by "system wa

[appengine-java] Re: can image aspect ratio

2009-12-02 Thread moissinac
The Overview about the Image service Resize says "You can resize the image while maintaining the same aspect ratio." It seems that it's a feature not a bug! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, se

[appengine-java] Re: Spring MVC with annotations

2009-12-02 Thread Rafael Reuber
The log shows this: org.springframework.web.servlet.FrameworkServlet initServletBean: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor': Initialization

[appengine-java] Re: Spring MVC with annotations

2009-12-02 Thread a.maza
this is a known issue.. there are several threads in this forum about it http://groups.google.com/group/google-appengine-java/search?group=google-appengine-java&q=naming+exception On 2 Dez., 12:33, Rafael Reuber wrote: > The log shows this: > org.springframework.web.servlet.FrameworkServlet in

[appengine-java] Re: AppEngine needs an AppStore

2009-12-02 Thread Jorge
Here is another model and the one we pursue now: One may login to our app with a Google account, but in order to be able to use the app to full capacity, the user must subscribe (e.g. pay for it). On any case, a GAE marketplace would be a site where we the app developers promote our products and s

[appengine-java] Re: Processing incoming email

2009-12-02 Thread Peter Ondruska
tetest, thank you, the complete working example would be then: MimeMessage message = new MimeMessage(session, request.getInputStream()); StringBuffer sb = new StringBuffer(); sb.append("From: "); Addr

[appengine-java] Re: How many cache can I create using JCacheFactory

2009-12-02 Thread jay
Hi Ikai, Thanks your reply. Got it. Because the GAE memcache has quota limitation, should I use my own cache(singleton in my WebApp) as first level, and use memcache as second level, then I save my quota? On 11月12日, 上午10时37分, "Ikai L (Google)" wrote: > Jay, > > It's not necessary to create a Ma

Re: [appengine-java] Re: task queue once-only semantics

2009-12-02 Thread Vince Bonfanti
Yes, I received your patch and it's on my TODO list to review it and add it to the code. Unfortunately, I've been a bit backed up with other projects. I'm trying to get a new version of GaeVFS ready for release in the next few weeks and will try to include your patch. Vince On Wed, Dec 2, 2009 at

[appengine-java] Re: AppEngine needs an AppStore

2009-12-02 Thread Stephen
On Nov 30, 7:53 pm, "Ikai L (Google)" wrote: > David, > > We have a solutions marketplace for Google Apps: > > http://www.google.com/enterprise/marketplace/ It's not working: http://groups.google.com/group/google-appengine/browse_thread/thread/312ac61619b613bc/ -- You received this mess

Re: [appengine-java] Re: Sending mail with the mail api

2009-12-02 Thread Ray
Hi Jason, i have got the same problem too. the Code was copied and pasted from http://code.google.com/appengine/docs/java/mail/usingjavamail.html. The Mail was sended from a deployed application. I have not received any Mail, but the Quotas said that i have sent out mails. there is neithe

Re: [appengine-java] Re: How many cache can I create using JCacheFactory

2009-12-02 Thread Don Schwarz
Memcache quotas are so high that you're unlikely to hit them. You may get *latency* benefits from having your own first-level cache in memory, but bear in mind that you don't have a whole lot of space to work with, and the hit rates will decrease significantly as your traffic increases (unlike mem

Re: [appengine-java] Re: AppEngine needs an AppStore

2009-12-02 Thread Vince Bonfanti
What we really, really need is something similar to Amazon DevPay: http://aws.amazon.com/devpay/ Vince On Tue, Dec 1, 2009 at 2:08 PM, Ikai L (Google) wrote: > I see what you mean. Say, an application marketplace where folks can > download source code for applications and deploy to their o

[appengine-java] Re: task queue once-only semantics

2009-12-02 Thread James H
Great! We'll talk more when I start using it shortly. On Dec 2, 8:25 am, Vince Bonfanti wrote: > Yes, I received your patch and it's on my TODO list to review it and add it > to the code. Unfortunately, I've been a bit backed up with other projects. > I'm trying to get a new version of GaeVFS re

[appengine-java] no .js after deployment

2009-12-02 Thread Jiri
I've deployed an application (quite tested in host mode) to the app engine After the deployment from eclipse (using the plugin) it seems the generated javascript (app.nocache.js) is missing (getting 404). Any chance to check what files were actually deployed? thanks Jiri -- You received this mes

[appengine-java] DWR SUPPORT

2009-12-02 Thread noelo
Hi all, I would like to use the DWR frameworke to develop my own website on GAE.I had search a lot by Google, but there were not so many article about it. Some said GAE did not support DWR while I had read about "Will it play in App Engine".It showed that " Direct Web Remoting (DWR) Version(s): 2.0

Re: [appengine-java] Re: Processing incoming email

2009-12-02 Thread Ikai L (Google)
Peter, I'm working on a cookbook entry for processing incoming mail in Java. Here's some code I had working. Can you take a look at this and see if there's anything you can adapt? import com.google.appengine.api.datastore.Blob; import com.google.appengine.api.datastore.Key; import javax.jdo.anno

[appengine-java] Collections usge in Appengine Java

2009-12-02 Thread Avis developer
I tried using ArrayList in a persistent way, but its not getting persistent.. It adds the value when i call the add method, but for retriving it still says null.. Is this a bug or my programming fault ? Pls help -- You received this message because you are subscribed to the Google Groups "Google

Re: [appengine-java] Collections usge in Appengine Java

2009-12-02 Thread andy stevko
This is a common issue. You need to define a @FetchGroup( ) for your class that names that member then add the FetchGroup to your persistence manager. @FetchGroup( name="children", members={ @Persistent(name="childcollection") }) public class //--- PersistenceMa

[appengine-java] Re: can image aspect ratio

2009-12-02 Thread king
Hi Moissinac, thanks for replying. Actually I don't really care if it's a feature or bug, I just want to know how I can change the aspect ratio. Any help would be greatly appreciated. On Dec 2, 1:51 am, moissinac wrote: > The Overview about the Image service Resize says > "You can resize the i

Re: [appengine-java] SimpleDS 0.8.1 has been released

2009-12-02 Thread Ikai L (Google)
Wow, looking great! Did you want this added to the list of Open Source projects? https://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects On Tue, Dec 1, 2009 at 3:46 AM, Nacho Coloma wrote: > Hi all, > > SimpleDS, an alternative storage framework for GAE, has

Re: [appengine-java] Persisting class hierarchies

2009-12-02 Thread Ikai L (Google)
Alex, There's a danger here of overengineering when it comes to mapping objects to datastore entities. Unless you absolutely need different behavior between the subclasses of Animal, you may want to stay away from using types to convey information and use a field instead. In the datastore, entitie

[appengine-java] Re: select count(*) ?

2009-12-02 Thread king
Jason, do you have a timeline for when: 1. the cursor feature will be available? 2. the data download feature be available for JAVA (not Python). On Oct 21, 10:54 am, "Jason (Google)" wrote: > The query restrictions are an artifact of the way App Engine's datastore is > constructed, which makes

Re: [appengine-java] Please help! App works in Safari but not Firefox

2009-12-02 Thread Ikai L (Google)
This actually sounds like a Google Web Toolkit (GWT) question. You're more likely to get an answer here: https://groups.google.com/group/Google-Web-Toolkit If you're trying to talk to App Engine, the first place you'll want to look is the admin console, where you can look at the logs to see if th

Re: [appengine-java] Re: any plans for deferred.defer in Java?

2009-12-02 Thread Vince Bonfanti
I just committed the following changes: - Added additional overloads to the defer() method to allow optional TaskOptions to be specified. This lets you set the following task options: url, countdownMIllis, etaMillis, taskName. - Added support for optional "queueName" and "taskUrl" init parame

Re: [appengine-java] Qs: (1) data safe in GAE (2) delete existing app

2009-12-02 Thread Ikai L (Google)
John, Yes, you can delete applications: http://code.google.com/appengine/kb/adminconsole.html#delete_app We do not make it a practice to look at customer data. You'll want to read our terms of service: http://code.google.com/appengine/terms.html On Tue, Dec 1, 2009 at 6:13 PM, John Lin wrote:

[appengine-java] Random App Engine errors

2009-12-02 Thread Jason.LTech
We are receiving random App Engine errors the last few days on an app that has been performing fine for months failed web com.google.apphosting.runtime.HardDeadlineExceededError: This request (162d54b3b9e9) started at 2009/12/02 19:21:46.098 UTC and was still executing at 2009/12/02 19:22:1

Re: [appengine-java] Re: any plans for deferred.defer in Java?

2009-12-02 Thread Vince Bonfanti
The behavior you're reporting is exactly the opposite of what I'm seeing. For me, deserialization always fails on the dev server and always works in production. What I'm seeing on the dev server is that the bytes retrieved from the task payload (req.getInputStream) are not the same bytes that are s

Re: [appengine-java] Random App Engine errors

2009-12-02 Thread Raphael André Bauer
On Wed, Dec 2, 2009 at 8:39 PM, Jason.LTech wrote: > We are receiving random App Engine errors the last few days on an app > that has been performing fine for months +1 ra > > > > > failed web > com.google.apphosting.runtime.HardDeadlineExceededError: This request > (162d54b3b9e9) started at 2

[appengine-java] Text Search Support for Java

2009-12-02 Thread lent
Hi, This question is targeted at Google guys. Is there any plans to have limited support for full text search for Java, i.e. something like the equivalent of SearchableModel in Python, and if so when can this be expected? When is FULL support for full text search be expected for appengine (Pytho

[appengine-java] Re: [google-appengine] Re: Datastore is slow on queries involving many entities, but a smallish dataset

2009-12-02 Thread Eric Rannaud
Crossposting to App Engine Java group: the original thread is at http://groups.google.com/group/google-appengine/browse_thread/thread/22018ef2e132ac13/54485b787d5a80b5 In a few words: I have a problem with reasonable queries taking a very long time (several seconds). These queries return 128 entit

Re: [appengine-java] Change datastore filename on dev server?

2009-12-02 Thread Toby Reyelts
Hey James, You can set the file that the datastore uses with the system property, "datastore.backing_store". For example, dev_appserver.sh --jvm_flag=-Ddatastore.backing_store=c:\my_project_datastore.blob my_project\war On Sat, Nov 21, 2009 at 12:02 PM, James Cooper wrote: > Hi, > > I'm ru

Re: [appengine-java] Re: GData Java API known to (not) work on GAE?

2009-12-02 Thread Toby Reyelts
On Tue, Dec 1, 2009 at 3:21 AM, Bobby wrote: > Toby, there's one obstacle though, the GAE URLFetch timeout doesn't > play nicely with the GData API. I've found that timeouts happen fairly > frequently at peak hours, depending on the GData system you're > accessing. > > There has been an issue pos

[appengine-java] Unable to update: com.google.appengine.tools.admin.JspCompilationException: Failed to compile the generated JSP java files.

2009-12-02 Thread umair
I am getting this error when deploying the youtube direct application to google app engine. Unable to update: com.google.appengine.tools.admin.JspCompilationException: Failed to compile the generated JSP java files. Some forum suggested me to do these steps 1. Copy tools.jar into the AppEngine

[appengine-java] Re: DWR SUPPORT

2009-12-02 Thread stephan
I'm using DWR 2.0 in my GAE app. I tried at one point to run 3.0, but ran into a number of issues that forced me to fall back to 2.0... On Dec 2, 12:37 am, noelo wrote: > Hi all, > I would like to use the DWR frameworke to develop my own website on > GAE.I had search a lot by Google, but there w

[appengine-java] Re: Text Search Support for Java

2009-12-02 Thread steveb
I'm also very interested in this feature. I'm looking at plugging in Lucene ( http://www.kimchy.org/searchable-google-appengine-with-compass ) to achieve search but I can imagine that there will be lots of issues with storage, indexing, security, CPU use etc with this solution. If we can get an in

[appengine-java] Sticky sessions -- keeping a user on a single JVM

2009-12-02 Thread stephan
I have a GAE application that has some complex reporting requirements. Since there is currently no support for aggregate queries, my approach is to instead build up a collection of the items to query in memory, and then use JOSQL to perform the queries I need. For the most part this has worked out

Re: [appengine-java] Re: Text Search Support for Java

2009-12-02 Thread Ikai L (Google)
Full text search isn't on our public roadmap: http://code.google.com/appengine/docs/roadmap.html The link describes what we plan on releasing in the upcoming months. On Wed, Dec 2, 2009 at 3:28 PM, steveb wrote: > I'm also very interested in this feature. I'm looking at plugging in > Lucene ( h

[appengine-java] Getting Unable to Upload error msg while deploying to Java GAE as of 6:00 pm EST.

2009-12-02 Thread oth
Hello, We need help. As of 6pm EST we are consistently seeing an error msg across all our apps, right when it tries to upload index definitions. Dashboard does not show anything out of the ordinary. java.io.IOException: Error posting to URL: http://appengine.google.com/api/datastore/index/add?app

Re: [appengine-java] Re: Text Search Support for Java

2009-12-02 Thread Don Schwarz
FYI, it should be possible to port SearchableModel to Java and run it on top of our low-level datastore API. We have no immediate plans to do that, but it would make a nice open-source contribution. You may want to play around with SearchableModel in Python first to ensure that its performance ch

[appengine-java] Re: GData Java API known to (not) work on GAE?

2009-12-02 Thread Bobby
Here's the issue entry: http://code.google.com/p/googleappengine/issues/detail?id=700&can=1&q=gdata&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component I appreciate any effort towards finding a way around this. Bobby On Dec 2, 5:21 pm, Toby Reyelts wrote: > On Tue,

[appengine-java] Re: GData Java API known to (not) work on GAE?

2009-12-02 Thread Bobby
BTW, the example described in that issue is very specific and can be fixed through paging, but other scenarios, such as retrieving document contents or calling any intensive web service, not specifically GData, are more difficult, unless the web service is your own. Bobby On Dec 2, 6:59 pm, Bobby

Re: [appengine-java] Re: GData Java API known to (not) work on GAE?

2009-12-02 Thread Toby Reyelts
That looks like a stale issue. If you use GDataRequest.setReadTimeout / GDataRequest.setConnectTimeout, they will cause the underlying URLFetch to use the increased timeout. Do note that our maximum timeout is 10s for URLFetch. Right now we don't have a mechanism for extending the deadline longer t

[appengine-java] Re: Change datastore filename on dev server?

2009-12-02 Thread James Cooper
Fantastic. Thank you for the tip! -- James On Dec 2, 2:15 pm, Toby Reyelts wrote: > Hey James, > > You can set the file that the datastore uses with the system > property, "datastore.backing_store". For example, > >     dev_appserver.sh > --jvm_flag=-Ddatastore.backing_store=c:\my_project_datas

[appengine-java] Re: GData Java API known to (not) work on GAE?

2009-12-02 Thread Bobby
I knew about setConnectTimeout but i wasn't aware of setReadTimeout which sounds like a real problem in my case, especially since i've just seen that the Java URLFetch timeout has been increased from 5 to 10 seconds and i'm confident that i was seeing timeouts in significantly less than that. Mayb

[appengine-java] Re: javax.jdo.JDOObjectNotFoundException: Could not retrieve entity of kind Transactions with key Transactions(Transactions(67))

2009-12-02 Thread zackmac
I've been away for a week visiting with my wife's family but checked today to see if there was any new posts on this issue. None, unfortunately. Anybody have any other ideas? On Nov 21, 10:37 am, zackmac wrote: > Ok - before trying to delete the specific Transacation, I'm looping > through all

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

2009-12-02 Thread IQBAL YUSUF
Hi Andy, Yes it works. http://meghbaksho22.appspot.com/ Thanks IQBAL Yusuf _ 11000 Shallow Water Rd. Austin, TX 78717 Linked in profile: http://www.linkedin.com/in/iyusuf On Wed, Dec 2, 2009 at 3:20 AM, andy.booth wrote: > I think

[appengine-java] Java heap size

2009-12-02 Thread jacek.ambroziak
My application, an XML search engine, likes to manipulate its index data structures in memory during indexing. Searches are naturally much faster too when index data structures are in the heap. Unfortunately, I started running into OutOfMemory errors while indexing larger numbers of publications, b

[appengine-java] Re: Getting Unable to Upload error msg while deploying to Java GAE as of 6:00 pm EST.

2009-12-02 Thread oth
Problem resolved by Google. https://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/376ae214cf896c4f Thanks On Dec 2, 6:44 pm, oth wrote: > Hello, > > We need help. As of 6pm EST we are consistently seeing an error msg > across all our apps, right when it tries to

[appengine-java] Re: "Any single entity or entity group can only be updated about five times a second."

2009-12-02 Thread Dominik Steiner
Tim, you might find some information related to that in this thread http://groups.google.com/group/google-appengine-java/browse_thread/thread/7ce9ce5c89f990f0/fd37d79492099ec6 HTH Dominik On 1 Dez., 23:42, Tim Cooper wrote: > Can anyone give me a clearer understanding of what an "update" is,

[appengine-java] Re: javax.jdo.JDOObjectNotFoundException: Could not retrieve entity of kind Transactions with key Transactions(Transactions(67))

2009-12-02 Thread datanucleus
> Anybody have any other ideas? I already told you my idea, and don't see that you have checked those things. Why not just do that ? -- 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-appen

[appengine-java] Re: "Any single entity or entity group can only be updated about five times a second."

2009-12-02 Thread Tim Cooper
Thanks, Dominik, but I still need to know more - (I understand that the "1-10 updates per second" is only per entity group so scaleability comes with having fine-grained entity groups). * What is an "update" exactly? Is it a call to "pm.makePersistent ()"? Is it a call to "tx.commit()"? Is it a

[appengine-java] Re: can image aspect ratio

2009-12-02 Thread moissinac
I've plan for testing external library, but surely not before next week. You could try JAI, but I don't know if it is supported by GJava (Google Java) -- 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] JAI working in JAE?

2009-12-02 Thread moissinac
The GAE-Java image service is very fast, but has a lot of limits. Can we use JAI to process images? -- 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 uns

Re: [appengine-java] Re: "Any single entity or entity group can only be updated about five times a second."

2009-12-02 Thread 风笑雪
It means you can do 5 writes per second for 1 entity group. Say you have 1000 entities in 1 entity group, you can update each of them in a transaction, and do this transaction at most 5 times/sec. But most time you may just update 1 or 2 entities, and it's also no more than 5 times/sec. And if the