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

2009-12-03 Thread leszek
Judging from: http://code.google.com/intl/pl/appengine/docs/java/howto/unittesting.html --- if every test starts with a clean datastore --- it clears local datastore every time - so it works as expected. But may be after removing line: datastoreService.clearProfiles();

[appengine-java] Re: Persisting class hierarchies

2009-12-03 Thread leszek
Inheritance and class hierarchy is very important in OOP but it has a different meaning when it comes to persistence. You cannot take advantage of OOP concepts like: encapsulation, polymorphic etc. So, as Ikai pointed above, you can run into over-engineering trap going that way. In my opinion the

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

2009-12-03 Thread Nacho Coloma
Actually, that's a good idea. I have sent a request to be added to the list. Thanks! On Wed, Dec 2, 2009 at 8:02 PM, Ikai L (Google) ika...@google.com wrote: Wow, looking great! Did you want this added to the list of Open Source projects?

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

2009-12-03 Thread zackmac
This is strange - when I retrieve the object after persisting via JDOHelper.getObjectId(obj), I get an object back no problem. Then, before trying to delete the object, I do pm.newObjectIdInstance (Categories.class, key) and I get a NullPointerException. I know in this post I've put in

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

2009-12-03 Thread umair
Does anybody have a solution to this problem, an immediate reply will be highly appreciated. Thanks, Muhammad Umair On Dec 3, 2:29 am, umair umair...@gmail.com wrote: I am getting this error when deploying the youtube direct application to google app engine. Unable to update:

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

2009-12-03 Thread datanucleus
This is strange - when I retrieve the object after persisting via JDOHelper.getObjectId(obj), I get an object back no problem. Yes, but you haven't told us what is the id returned by that method. And whats in the log when you invoke that pm.getObjectById ... ?  Then,before trying to delete the

[appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Prashant
anyone??? -- 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

Re: [appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Don Schwarz
http://code.google.com/appengine/docs/java/mail/usingjavamail.html#Features_of_the_Low_level_API On Thu, Dec 3, 2009 at 8:00 AM, Prashant antsh...@gmail.com wrote: anyone??? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

Re: [appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Prashant
thanks a lot -- 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

Re: [appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Prashant
what if I want to send only one of the admins? there is no way, right? does that work for XMPP also? -- 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

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

2009-12-03 Thread Max Ross (Google)
I'll also point out that while it's not on our official roadmap, we have marked http://code.google.com/p/googleappengine/issues/detail?id=217 as started. Development is still in the very early stages so the only thing it's safe to conclude about timeline is that we don't expect it to be ready

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

2009-12-03 Thread Erdinc Yilmazel
For small and readonly indexes you can use lucene and it works without any issues. All you need to do is generate your index outside the appengine environment and put your index files in the war package that is deployed. (Somewhere under WEB-INF would be the best place I think) Erdinc On Thu,

[appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread rnawky
You set them up as an administrator to your App Engine Application On Dec 1, 11:55 pm, Prashant antsh...@gmail.com wrote: Hi, whosoever I send a mail it gets counted in Recipients Emailed quota, how do I use Admins Emailed quota to send mails to admins. Thanks. -- You received this

Re: [appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Prashant
no, no, I meat to say that, suppose there are 3 admins and I want to send mail to only one admin using admin quota. this is not possible, rite? And, does following work for XMPP? XMPPServiceFactory.getXMPPService() .sendMessage( new MessageBuilder() .withRecipientJids(new

Re: [appengine-java] 1.2.8 SDK Prerelease - help us verify!

2009-12-03 Thread Vince Bonfanti
I just started testing with the 1.2.8 prerelease, and I'm getting the following exception from Queue.add() in code that works in 1.2.6: java.lang.IllegalStateException: Current enviornment must have the server url available via the com.google.appengine.server_url_key attribute. This only happens

Re: [appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Don Schwarz
On Thu, Dec 3, 2009 at 12:02 PM, Prashant antsh...@gmail.com wrote: no, no, I meat to say that, suppose there are 3 admins and I want to send mail to only one admin using admin quota. this is not possible, rite? Correct. And, does following work for XMPP?

[appengine-java] Why no GAE system property?

2009-12-03 Thread Jeff Schnitzer
Why isn't there a system property that can be used to detect if a program is running on appengine? This is really a glaring oversight. I would expect something like System.getProperty(google.appengine) to be development or production (or of course null). Before someone says check the servlet

Re: [appengine-java] 1.2.8 SDK Prerelease - help us verify!

2009-12-03 Thread Max Ross (Google)
Hi Vince, That sounds like a bug in our code that was a side effect of the automatic task execution that now happens in the dev environment. Let me see if I can come up with a workaround for you. Max On Thu, Dec 3, 2009 at 10:06 AM, Vince Bonfanti vbonfa...@gmail.com wrote: I just started

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

2009-12-03 Thread Jess Evans
The compass solution is probably sufficient for pet projects. If I correctly recall, there are still serious scalability issues due to the way indexes are currently stored and restrictions on app store blob size. The main issue is initial timeouts due to the GAE design flaw wrt startup / initial

Re: [appengine-java] Why no GAE system property?

2009-12-03 Thread Vince Bonfanti
I agree. My workaround was to create a ServletEventListener and put this in the contextInitialized() method: System.setProperty( appengine.server, event.getServletContext().getServerInfo().contains( Development ) ? development : production ); Vince On Thu, Dec 3, 2009 at 1:15 PM, Jeff

Re: [appengine-java] Re: Datanucleus Exception - deletePersistent() called recursively

2009-12-03 Thread Jeffrey Goetsch
Here are the Domain classes that have the problem. Please let me know if you need more information. --Jeff @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Player { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long key;

Re: [appengine-java] Why no GAE system property?

2009-12-03 Thread Toby Reyelts
Yes, I totally agree that the current official way of checking for App Engine presence is not great for third party libraries which don't even necessarily run in a servlet container. We've been putting together a solution for this and hope to make it available soon. On Thu, Dec 3, 2009 at 1:15

Re: [appengine-java] Why no GAE system property?

2009-12-03 Thread Jeffrey Goetsch
Could you create a Servlet that is loaded on launch, and set this kind of property? I think this is a workaround until they can do it officially. --Jeff On Thu, Dec 3, 2009 at 10:39 AM, Toby Reyelts to...@google.com wrote: Yes, I totally agree that the current official way of checking for App

Re: [appengine-java] Why no GAE system property?

2009-12-03 Thread Jeff Schnitzer
On Thu, Dec 3, 2009 at 10:46 AM, Jeffrey Goetsch jeffg@gmail.com wrote: Could you create a Servlet that is loaded on launch, and set this kind of property?  I think this is a workaround until they can do it officially. I can't - remember this is in a library, so I would have to force all

Re: [appengine-java] 1.2.8 SDK Prerelease - help us verify!

2009-12-03 Thread Max Ross (Google)
Vince, As a workaround, try setting the missing environment attribute explicitly before you add the task to the queue: ApiProxy.getCurrentEnvironment().getAttributes().put(com.google.appengine.server_url_key, http://localhost:8080;); This should only be necessary for tasks that are added when

Re: [appengine-java] 1.2.8 SDK Prerelease - help us verify!

2009-12-03 Thread Vince Bonfanti
That fixed it. Thanks. Vince On Thu, Dec 3, 2009 at 2:24 PM, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com wrote: Vince, As a workaround, try setting the missing environment attribute explicitly before you add the task to the queue:

Re: [appengine-java] 1.2.8 SDK Prerelease - help us verify!

2009-12-03 Thread Max Ross (Google)
Sure, sorry for the trouble, and thanks for trying out the prerelease! Max On Thu, Dec 3, 2009 at 12:12 PM, Vince Bonfanti vbonfa...@gmail.com wrote: That fixed it. Thanks. Vince On Thu, Dec 3, 2009 at 2:24 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com

[appengine-java] Re: Datastore Statistics vs. Quota

2009-12-03 Thread Peter Recore
The datastore stats aren't real time as far as I know. So part of the discrepancy might be new entities created after the stats were generated? On Dec 3, 4:19 am, Toby tobias.ro...@sunnymail.mobi wrote: Hello, I just discovered the DataStore statistics.  That is a great thing! I got a

[appengine-java] Re: Java heap size

2009-12-03 Thread Philippe Marschall
On Dec 3, 4:51 am, jacek.ambroziak jacek.ambroz...@gmail.com wrote: 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

[appengine-java] TimeZone

2009-12-03 Thread Nour Ahmed
Can anyone help me to know how to configure the Timezone in the web application that i run localy on my mmachine? Thanks in advance! -- 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] Development Console - Datastore

2009-12-03 Thread Ian R.
I am entering data progamatically into the datastore but it is not showing up in the development console. It appears that the data is being entered since I am not seeing any errors when the makePersistent () method is called. -- You received this message because you are subscribed to the Google

Re: [appengine-java] Re: oid is not instanceof javax.jdo.identity.ObjectIdentity

2009-12-03 Thread bryce cottam
Okay, sorry for the delay, I haven't been able to focus on this for a few days. here is the full (including the jar libararies in case there is an issue with them). http://www.resmarksystems.com/code/JdoTest.zip It's a very simple Servlet, by hitting the url hostname/jdotest you should execute

[appengine-java] Re: TimeZone

2009-12-03 Thread m seleron
Hi, It is likely to possibly solve it by this. Please refer to the following links. http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-time.html?page=3 The page in the back and forth might be also related. thanks. On 12月4日, 午前4:08, Nour Ahmed salahtimes...@googlemail.com wrote: Can anyone

[appengine-java] Re: App Engine SDK 1.2.8 released including new Admin Console features

2009-12-03 Thread Peter Recore
I was just looking at the release notes linked to by the App Engine Blog post about this and I couldn't find any detail about the Improved java compatibility stuff. Is there another version of the release notes with more detail? The release notes linked to in the blog post were these:

[appengine-java] Re: App Engine SDK 1.2.8 released including new Admin Console features

2009-12-03 Thread Peter Recore
Found a better link for us java types: http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes On Dec 3, 10:18 pm, Peter Recore peterrec...@gmail.com wrote: I was just looking at the release notes linked to by the App Engine Blog post about this and I couldn't find any detail

[appengine-java] Usage of maps/google earth

2009-12-03 Thread Avis developer
Hi, Am doing a project on GPS plotting in appengine.. So can you help me with it. I am from India, so still Google Street is not possible, can you guys help with me it, anybody doing a related project pls help me..; I nedd help in mapping services, pl ur help wil be greatly appreciated.. --

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

2009-12-03 Thread Avis developer
Sir thanks for the reply , but pl help me sir, am jus a beginner, can u pls be elaborate, thanks for spending ur time and effort -- 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