From: <bma...@br...> - 2004-06-14 18:35:20
|
I still can't find a way around this problem. This problem came up because of a workaround for another problem I posted a few weeks ago with DOM nodes not returning the Document Element as expected. This is a stability issue, not a correctness issue, so the first problem (with the DOM impl) might be easier to fix. I am using the eXist 1.0b1 release, which is probably way behind the current development release. Regards, Brian Madigan -----Brian Madigan/WebDen wrote: ----- To: exi...@li... From: Brian Madigan/WebDen Date: 06/11/2004 02:27PM Subject: XMLDBException while storing resource Under medium load (10 sim. threads) I get intermittent XMLDBExceptions while storing resources. Single threaded access causes no problems. Maybe I'm not using the XMLDB api safely? Stack Trace: org.xmldb.api.base.XMLDBException at org.exist.xmldb.LocalCollection.storeXMLResource(LocalCollection.java:486) at org.exist.xmldb.LocalCollection.storeResource(LocalCollection.java:428) at com.webdeninteractive.bie.commons.xmldb.XMLDBFacade.createResource(XMLDBFacade.java:103) at com.webdeninteractive.bie.bpm.engine.activity.ContextInstance.setProperty(ContextInstance.java:156) at com.webdeninteractive.bie.bpm.engine.activity.ContextInstance.setProperty(ContextInstance.java:176) at com.webdeninteractive.bie.bpm.engine.activity.ForEachInstance.active(ForEachInstance.java:69) at com.webdeninteractive.bie.bpm.engine.activity.AbstractActivityInstance.run(AbstractActivityInstance.java:73) at com.webdeninteractive.bie.bpm.engine.activity.AbstractActivityInstance.runActivities(AbstractActivityInstance.java:210) at com.webdeninteractive.bie.bpm.engine.activity.AbstractActivityInstance.runSubActivities(AbstractActivityInstance.java:252) at com.webdeninteractive.bie.bpm.engine.activity.ActionInstance.receive(ActionInstance.java:166) at com.webdeninteractive.bie.bpm.engine.dispatcher.JMSEventDispatcher$DispatcherSlave.run(JMSEventDispatcher.java:213) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.NullPointerException at org.exist.storage.store.DOMFile.remove(DOMFile.java:800) at org.exist.storage.NativeBroker$8.start(NativeBroker.java:1541) at org.exist.storage.store.DOMTransaction.run(DOMTransaction.java:48) at org.exist.storage.NativeBroker.removeDocument(NativeBroker.java:1527) at org.exist.collections.Collection.addDocument(Collection.java:602) at org.exist.collections.Collection.addDocument(Collection.java:492) at org.exist.xmldb.LocalCollection.storeXMLResource(LocalCollection.java:481) ... 11 more Caused by: java.lang.NullPointerException at org.exist.storage.store.DOMFile.remove(DOMFile.java:800) at org.exist.storage.NativeBroker$8.start(NativeBroker.java:1541) at org.exist.storage.store.DOMTransaction.run(DOMTransaction.java:48) at org.exist.storage.NativeBroker.removeDocument(NativeBroker.java:1527) at org.exist.collections.Collection.addDocument(Collection.java:602) at org.exist.collections.Collection.addDocument(Collection.java:492) at org.exist.xmldb.LocalCollection.storeXMLResource(LocalCollection.java:481) at org.exist.xmldb.LocalCollection.storeResource(LocalCollection.java:428) at com.webdeninteractive.bie.commons.xmldb.XMLDBFacade.createResource(XMLDBFacade.java:103) at com.webdeninteractive.bie.bpm.engine.activity.ContextInstance.setProperty(ContextInstance.java:156) at com.webdeninteractive.bie.bpm.engine.activity.ContextInstance.setProperty(ContextInstance.java:176) at com.webdeninteractive.bie.bpm.engine.activity.ForEachInstance.active(ForEachInstance.java:69) at com.webdeninteractive.bie.bpm.engine.activity.AbstractActivityInstance.run(AbstractActivityInstance.java:73) at com.webdeninteractive.bie.bpm.engine.activity.AbstractActivityInstance.runActivities(AbstractActivityInstance.java:210) at com.webdeninteractive.bie.bpm.engine.activity.AbstractActivityInstance.runSubActivities(AbstractActivityInstance.java:252) at com.webdeninteractive.bie.bpm.engine.activity.ActionInstance.receive(ActionInstance.java:166) at com.webdeninteractive.bie.bpm.engine.dispatcher.JMSEventDispatcher$DispatcherSlave.run(JMSEventDispatcher.java:213) at java.lang.Thread.run(Thread.java:534) Brian Madigan WDI 200 Fairway Drive, Unit 184, Vernon Hills, IL 60061 P: 847-970-6826 F: 847-970-6869 C: 847-962-0858 www.brunswickwdi.com |