On Jul 13, 2010, at 9:45 AM, Kieran Kelleher wrote:
> Trying to track this down is like a needle in a haystack and I can never
> reproduce it in development. Any ideas on a strategy to capture the root
> cause?
>
> Error processing file: /tmp/JGZ36CHBY17ZGH7FH518CNCBY_BdrWithSuppression.txt.
> Erroneous results for import are: isSuccess = false;
> messages = null;
> userInfo = null
> java.lang.RuntimeException: Root Cause: IllegalStateException: Adaptor
> er.extensions.jdbc.erxjdbcadap...@2ff88688 failed to provide new primary keys
> for entity 'CTDataRecord'; Currently 0 active ECs : {})No open editing
> contexts (of 0)0 active ObjectStoreCoordinators : {})No open
> ObjectStoreCoordinator (of 0)It seems odd that there are not OSCs and no ECs. Is that perhaps an indication of the root problem? Are these getting garbage collected out from under your tasks? Or are those messages just sketchy? The next thing I would do is to take a look in ERXJDBCAdaptor, JDBCAdaptor, and the plugin for your database to see why PK generation might fail. How often does this happen? Does it match up with any network outages between the app and database servers? Chuck > at > wk.webobjects.eof.ImportEnterpriseObjectData.processFile(ImportEnterpriseObjectData.java:156) > at > wk.webobjects.eof.ImportEnterpriseObjectData.run(ImportEnterpriseObjectData.java:364) > at > wk.webobjects.eof.ImportEnterpriseObjectData.call(ImportEnterpriseObjectData.java:371) > at > wk.webobjects.eof.ImportEnterpriseObjectData.call(ImportEnterpriseObjectData.java:1) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:637) > Caused by: java.lang.IllegalStateException: Adaptor > er.extensions.jdbc.erxjdbcadap...@2ff88688 failed to provide new primary keys > for entity 'CTDataRecord' > at > com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5885) > at > com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:409) > at > com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3226) > at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1085) > at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1007) > at > wk.webobjects.eof.ImportEnterpriseObjectData.processFile(ImportEnterpriseObjectData.java:147) > ... 8 more > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net > > This email sent to [email protected] -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
