Re: TransactionManager - Aborting transaction failed
"Martin Kersten" <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <00d001c48467$9b562af0$31c62c8d@SilentBob> |
> Thanks for your reply - it was an error in my code which I've now fixed. > I don't know why this error only started today (the bug has been there > for a while). > > (Basically in an ozone class, I was writing out a file within a sloppy > try..catch. I recently started using log4j for writing out error > messages, and had the error message set to DEBUG rather than ERROR, so > it wasn't being reported This was within a loop, so many files were > being created, but not closed due a file error. So the original error > was quite accurate! >Must try and do things properly in future!). :-) Well that's what life is all about! :-) Have fun, Martin (Kersten) > Thanks again. > > Aidan. > > > -----Original Message----- > > From: Martin Kersten [mailto:[email protected]] > > Sent: 17 August 2004 14:33 > > To: Aidan Slingsby > > Subject: Re: [Ozone-users] TransactionManager - Aborting > > transaction failed > > > > > > Hi, > > > > > I have just started to get the following error - is there an easy > > > explantation? > > > > This is an very odd situation. If you ae using an windows/dos > > maschine (you forgot to tell us), I guess your operating system > > has ran out of file handles. Please check how many open > > files you have and refer to your operating system manual > > (check google for instance :) how to increase the amount > > of available file handles. (usally it is 20 on Win98). > > > > > > Cheers, > > > > Martin (Kersten) > > > > PS: I am not sure this is the solution but hey... I guess so. > > > > > > WARN [main] TransactionManager - Aborting transaction failed: > > > ta[id=25110,blocker=null] > > > java.io.IOException: Too many open files > > > at java.io.FileInputStream.open(Native Method) > > > at java.io.FileInputStream.<init>(FileInputStream.java:106) > > > at java.io.FileInputStream.<init>(FileInputStream.java:66) > > > at > > org.ozoneDB.core.storage.wizardStore.ClusterStore.loadData(Unknown > > > Source) > > > at > > > > > org.ozoneDB.core.storage.wizardStore.ClusterStore.loadCluster(Unknown > > > Source) > > > at > > > > > org.ozoneDB.core.storage.wizardStore.ClusterStore.abortCluster(Unknown > > > Source) > > > at > > > > > org.ozoneDB.core.storage.wizardStore.WizardStore.abortTransact > > ion(Unknow > > > n Source) > > > at org.ozoneDB.core.Transaction.abort(Unknown Source) > > > at org.ozoneDB.core.TransactionManager.abortTransaction(Unknown > > > Source) > > > at > > > > > org.ozoneDB.core.TransactionManager.completeTransaction(Unknow > > n Source) > > > at org.ozoneDB.core.TransactionManager.handleCommand(Unknown > > > Source) > > > at org.ozoneDB.core.DbRemote.DbLocalClient.send(Unknown Source) > > > at org.ozoneDB.ExternalDatabase.sendCommand(Unknown Source) > > > at org.ozoneDB.ExternalDatabase.sendCommand(Unknown Source) > > > at org.ozoneDB.ExternalDatabase.invoke(Unknown Source) > > > at PatchManImpl_Proxy.build(PatchManImpl_Proxy.java:77) > > > at Test.main(Test.java:105) > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by Shop4tech.com-Lowest price on > > Blank Media > > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for > > only $33 Save > > > 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > > _______________________________________________ > > > Ozone-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/ozone-users > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285