0 Replies Latest reply: Mar 21, 2013 12:05 PM by 998372 RSS

    Berkeley DB XML Error: ../src/dbxml/nodeStore/NsEventReader.cpp Line: 829,

      berkeley xml db version: dbxml-2.5.16

      I currently have a job (in java) which creates a container and inserts anywhere between 1,000 - 25,000 documents while the container is open and then closes container.

      I have 5-15 separate processes that kick off an instance this job and each job inserts documents into separate containers(ie pid1 - container A, pid2 - container B, pid3 - container C etc).
      The problem occurs randomly to any process with any one of the below errors:
      1) com.sleepycat.dbxml.XmlException: Error: No such file or directory, errcode = DATABASE_ERROR
      2) com.sleepycat.dbxml.XmlException: Error: Permission denied File: ../src/dbxml/nodeStore/NsEventReader.cpp Line: 829, errcode = DATABASE_ERROR

      The odd thing about receiving the above errors is that when the processes are kicked off again, it goes through fine.

      a snippet of the environment configuration:
      BerkeleyErrorHandler berkeleyerrorhandler = new BerkeleyErrorHandler();
      EnvironmentConfig      environmentConfig = new EnvironmentConfig();
                                              environmentConfig.setCacheSize(255 * 1024 * 1024);

      Insertion of document:
      String xmlDocument
      xmlContainer.putDocument(docName, xmlDocument);

      Java heap size: -Xmx2g
      Ram: 256G
      O.S.: SunOS 5.10