Re: [appengine-java] Re: Logging when using local unit testing

2012-01-30 Thread Jeff Schnitzer
A appreciate the out-of-the-box suggestion, but this strikes me as an extraordinarily invasive change just to get logging to render the way it is supposed to. Presumably there is something in the GAE stack that monkeys with java.util.logging. I just want to know what it is and how to beat it into

[appengine-java] Re: Support of Java Keystore Files for SSL Connections

2012-01-30 Thread Nichole
You'll have a security, restricted class exception for javax.net.ssl. You can use ssl provided by appengine for appspot.com subdomains (the CA was Equifax last time I checked), but not your own certificate. http://code.google.com/appengine/kb/general.html#https On Jan 29, 3:18 pm, Doug wro

[appengine-java] Re: anyone know how to deal with: org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed

2012-01-30 Thread Nichole
One uses flush() typically at the end of a sequence of operations where you need to ensure that your objects are synced with the datastore. I'll include a link at the bottom of this with more information. Your code uses multiple entities. If they aren't from the same ancestor entity (that is if

[appengine-java] production change app version impact?

2012-01-30 Thread Luke
May i know when old version is still running and we change it to another version after done deployment 1. let say a background "queue job" is still running, will it suspend and change to new version of the app ? or it will run the old codes until the job finish then change to new version of the c

[appengine-java] iterating over Extent throwing NullPointerException on extent.closeAll()

2012-01-30 Thread John Goche
Hello, I am running app engine plugin 2.0 RC2 and having the following problem: The following code runs and returns null but... PersistenceManager pm = PMF.get().getPersistenceManager(); try { Extent storeExtent = pm.getExtent(XZStore.class); if (storeExtent == null) return

Re: [appengine-java] Re: upgrading to datanucleus-appengine 2.0

2012-01-30 Thread John Goche
Well, I've finally managed to resolve my problem: The org/datanucleus/enhancer/DataNucleusEnhancer.class was found in eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.6.1.v201201120043r37/new_appengine-java-sdk-1.6.1/lib/opt/tools/datanucleus/v2 but I was including new_appengine-java-sdk

Re: [appengine-java] Re: upgrading to datanucleus-appengine 2.0

2012-01-30 Thread John Goche
Hello, I am still trying the v2.0 installation. I have reinstalled eclipse and the app engine plugin and then followed the instructions at: http://code.google.com/p/datanucleus-appengine/wiki/UpgradingToVersionTwo all went well but in the very last step when I enabled the auto enhancement I got:

Re: [appengine-java] Apache POI spreadsheet autoSizeColumn() throws NoClassDefFoundError

2012-01-30 Thread Matthew Johnson
Ahh, that makes sense. Thanks for such a valuable resource, George! Cheers, Matthew On Jan 29, 2012, at 7:57 PM, George Simon K wrote: > Hi Mathew, > > POI uses GAE restricted classes. > Please refer to > http://code.google.com/p/googleappengine/wiki/WillItPlayInJava > Alternate way is to use

Re: [appengine-java] Re: upgrading to datanucleus-appengine 2.0

2012-01-30 Thread John Goche
On Mon, Jan 30, 2012 at 4:44 PM, datanucleus wrote: > > Also, I did not have a persistence.xml file in eclipse so I copied the > one > > provided on the wiki's link and placed > > it alongside jdoconfig.xml in hope that this would be enough. > > And why should you have one? You use one or the othe

[appengine-java] Re: upgrading to datanucleus-appengine 2.0

2012-01-30 Thread datanucleus
> Also, I did not have a persistence.xml file in eclipse so I copied the one > provided on the wiki's link and placed > it alongside jdoconfig.xml in hope that this would be enough. And why should you have one? You use one or the other. As per the JDO spec. > Why is > org.datanucleus.store.appen

Re: [appengine-java] Project Design : vendors<->clients<->invoice

2012-01-30 Thread Matthew Jaggard
How many of each will you have? You need to remember that nearly all of the costs in the datastore are per-operation charges so you need to allow for that. For example, if you have relatively few clients / vendors you could list them all in a single entity. (You have a 1MB limit per entity) You mig

[appengine-java] Project Design : vendors<->clients<->invoice

2012-01-30 Thread guillaume.brus...@gmail.com
Small project design Hello I have got a typical project project vendors<->clients<->invoice<-> product and I would like to use the best design for better performance a) one or many vendros can access one client c) a client has one or many invoice d) invoice reffer to product I am a little bit

[appengine-java] Re: Uploading problem

2012-01-30 Thread deltaaruna
Hi, My app id is ok. I tried with a different account. But getting the same result. Also I tried upload a another testing app as well. That one also not uploading and getting the same error But earlier I have uploaded some apps successfully. But suddenly I can't upload anything On Jan 8, 11:16 pm