Concurrently write and read caused program hang infinitely.

Hi, everyone
I used BDB XML 2.4.11
os : windows xp service pack 2
I have set the java option -Xms64M -Xmx256M
I used a util class for retrieving the XmlManager and XmlContainer handle, the code is below
import java.io.File;
import java.io.FileNotFoundException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.sleepycat.db.CheckpointConfig;
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.Environment;
import com.sleepycat.db.EnvironmentConfig;
import com.sleepycat.db.LockDetectMode;
import com.sleepycat.dbxml.XmlContainer;
import com.sleepycat.dbxml.XmlContainerConfig;
import com.sleepycat.dbxml.XmlException;
import com.sleepycat.dbxml.XmlManager;
import com.sleepycat.dbxml.XmlManagerConfig;
public class BdbXmlUtil {
    private static Map<String, XmlContainer> openedContainer = new HashMap<String, XmlContainer>();
    private static XmlManager xmlManager = null;
    public static synchronized XmlManager getXmlManager() {
        if (xmlManager == null) {
            EnvironmentConfig envConf = new EnvironmentConfig();
            envConf.setAllowCreate(true);
            envConf.setInitializeCache(true);
            envConf.setInitializeLocking(true);
            envConf.setInitializeLogging(true);
            envConf.setRunRecovery(true);
            envConf.setTransactional(true);
            envConf.setLockDetectMode(LockDetectMode.MINWRITE);
            envConf.setCacheSize(256 * 1024 * 1024);
            envConf.setTxnMaxActive(5000);
            envConf.setMultiversion(true);
            envConf.setTemporaryDirectory(new File("E:/temp/bdb-xml/tmp"));
            envConf.setErrorStream(System.err);
            // for performance
            // The setTxnNoWait has to set ture, only the transaction set true will not take effect.
            envConf.setTxnNoSync(true);
            //envConf.setTxnNoWait(true);
            Environment environment = null;
            try {
                environment = new Environment(new File("E:/temp/bdb-xml/bdb_xml_testenv"), envConf);
                CheckpointConfig checkpointConf = new CheckpointConfig();
                checkpointConf.setKBytes(1024);
                environment.checkpoint(checkpointConf);
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (DatabaseException e) {
                e.printStackTrace();
            XmlManagerConfig managerConfig = new XmlManagerConfig();
            managerConfig.setAdoptEnvironment(true);
            try {
                xmlManager = new XmlManager(environment, managerConfig);
            } catch (XmlException e) {
                e.printStackTrace();
        return xmlManager;
    public static synchronized XmlContainer getXmlContainer(String xmlContainerName) {
        XmlContainer xmlContainer = null;
        if (openedContainer.containsKey(xmlContainerName)) {
            xmlContainer =
                (XmlContainer) openedContainer.get(xmlContainerName);
        } else {
            XmlContainerConfig containerConf = new XmlContainerConfig();
            containerConf.setTransactional(true);
            containerConf.setAllowCreate(true);
            containerConf.setNodeContainer(false);
            containerConf.setMultiversion(true);
            /*containerConf.setReadUncommitted(true);*/
            try {
                xmlContainer =
                    xmlManager.openContainer(
                        xmlContainerName, containerConf);
            } catch (XmlException e) {
                e.printStackTrace();
            openedContainer.put(xmlContainerName, xmlContainer);
        return xmlContainer;
    public static synchronized void closeEnv() {
        try {
            Iterator<String> containerNames = openedContainer.keySet().iterator();
            while (containerNames.hasNext()) {
                XmlContainer container = openedContainer.get(containerNames.next());
                container.close();
            if (xmlManager != null) {
                xmlManager.close();
        } catch (Exception e) {
            e.printStackTrace();
}I used two classes to test the concurrency, one is responsible for put document to database, and the other is used to query database while the put operation is being performed. The run method of the two classes is below:
put document process code:
        boolean retry = true;
        int retry_count = 0;
        // while loop is used for deadlock retries
        while (retry) {
            XmlTransaction txn = null;
            try {
                XmlUpdateContext context = xmlManager.createUpdateContext();
                TransactionConfig tc = new TransactionConfig();
                tc.setNoSync(true);
                txn = xmlManager.createTransaction(null, tc);
                String doc = generateId() + ".xml";
                xmlContainer.putDocument(txn, doc, "<user><name>hello world</name></user>", context);
                txn.commit();
                txn = null;
                System.out.println("created : " + doc);
                retry = false;
            } catch (XmlException xe) {
                retry = false;
                if (xe.getDatabaseException() instanceof DeadlockException) {
                    System.out.println(getName()
                            + " got deadlock exception!");
                    if (retry_count < 20) {
                        System.err.println(getName() + " : Retrying operation.");
                        retry = true;
                        retry_count++;
                        try {
                            Thread.sleep(100);
                        } catch (InterruptedException e) {}
                    } else {
                        System.err.println(getName()
                                + " : out of retries. Giving up.");
                } else {
                    System.err.println("XmlException during concurrent-test: "
                            + xe.getMessage());
            } finally {
                if (txn != null) {
                    try {
                        txn.abort();
                    } catch (Exception e) {
                        System.err.println("Error aborting txn in concurrent-test: "
                                + e.toString());
                        e.printStackTrace();
        }the query process code :
        XmlManager xmlManager = BdbXmlUtil.getXmlManager();
        XmlResults res = null;
        XmlQueryExpression expr = null;
        XmlTransaction txn = null;
        try {
            BdbXmlUtil.getXmlContainer("entry.dbxml");
            XmlQueryContext qc = xmlManager.createQueryContext();
            expr = xmlManager.prepare("doc('dbxml:/entry.dbxml/1.xml')//user/name", qc);
            TransactionConfig tc = new TransactionConfig();
            tc.setSnapshot(true);
            txn = xmlManager.createTransaction(null, tc);
            res = expr.execute(txn, qc);
            System.out.println("The query, '" + expr.getQuery() +
                       "'\n\t returned " + res.size() + " result(s)");
            while (res.hasNext()) {
                XmlValue value = res.next();
                System.out.println(value.asString());
            txn.commit();
            txn = null;
            increaseInvokeCount();
        } catch (XmlException e) {
            e.printStackTrace();
        } finally {
            if (res != null) {
                res.delete();
            if (expr != null) {
                expr.delete();
            if (txn != null) {
                try {
                    txn.abort();
                } catch (Exception e) {
                    System.err.println("Error aborting txn in query test: "
                            + e.toString());
                    e.printStackTrace();
        }in the main class, I have generated 100 threads to run the put document process and 30 threads to run the query process. After insert several documents to database, the whole process hangs infinitely. I think it is caused by the query process. When i set the query thread number to 1 or disable the query process, the put document process ended with success.
I think it is caused by the lock. I try to execute the query in Snapshot isolation, but it doesn't works. I also tried the No Wait On Blocks, it seem ok, but alway throws DeadLockException, which can not bear. I doubt about that the lock granularity is per page, and in my program I used the Wholedoc Containers. The Query Process just take action in one document, which is 1.xml, but the lock seem that the whole container is locked. Could it be the page is so large that it covers the whole container? I referenced the document Getting Started with Transaction Processing For Java, but find no hint.
The BDB XML is excellent in performance, and I want use it in my program. I really hope that this problem can be solved. I don't know whether it is a bug or my reason.Any suggestion will be very helpful, thanks advance.
Jhon Kao
Message was edited to better format the Java code:
gmfeinberg
added some more info to describe the problem:
Excalibur
null

Dear gmfeinberg,
You are so kind. I appreciate very much for your approval. You are alway very warm-hearted to help others. Thanks very much.
I followed your advice and changed the prepare() to add the transaction as a parameter. The complete code I have already posted above. But unfortunately the program hangs also. The complete output of the db_stat -CA when the hang happens is below:
Default locking region information:
395     Last allocated locker ID
0x7fffffff     Current maximum unused locker ID
9     Number of lock modes
1000     Maximum number of locks possible
1000     Maximum number of lockers possible
1000     Maximum number of lock objects possible
132     Number of current locks
134     Maximum number of locks at any one time
544     Number of current lockers
582     Maximum number of lockers at any one time
12     Number of current lock objects
19     Maximum number of lock objects at any one time
3935     Total number of locks requested
3697     Total number of locks released
0     Total number of locks upgraded
58     Total number of locks downgraded
257     Lock requests not available due to conflicts, for which we waited
101     Lock requests not available due to conflicts, for which we did not wait
0     Number of deadlocks
0     Lock timeout value
0     Number of locks that have timed out
0     Transaction timeout value
0     Number of transactions that have timed out
472KB     The size of the lock region
938     The number of region locks that required waiting (3%)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock REGINFO information:
Lock     Region type
5     Region ID
__db.005     Region name
0x720000     Original region address
0x720000     Region address
0x720048     Region primary address
0     Region maximum allocation
0     Region allocated
Region allocations: 3005 allocations, 0 failures, 0 frees, 1 longest
REGION_JOIN_OK     Region flags
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock region parameters:
65571     Lock region region mutex [938/28484 3% 4244/7164]
1031     locker table size
1031     object table size
448     obj_off
45880     locker_off
0     need_dd
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock conflict matrix:
0     0     0     0     0     0     0     0     0     
0     0     1     0     1     0     1     0     1     
0     1     1     1     1     1     1     1     1     
0     0     0     0     0     0     0     0     0     
0     1     1     0     0     0     0     1     1     
0     0     1     0     0     0     0     0     1     
0     1     1     0     0     0     0     1     1     
0     0     1     0     1     0     1     0     0     
0     1     1     0     1     1     1     0     1     
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Locks grouped by lockers:
Locker   Mode      Count Status  ----------------- Object ---------------
       2 dd=464 locks held 2    write locks 0    pid/thread 1704/5836  
       2 READ          1 HELD    entry.dbxml               handle        2
       2 READ          1 HELD    entry.dbxml               handle        0
       5 dd=463 locks held 0    write locks 0    pid/thread 1704/5836  
       6 dd=462 locks held 1    write locks 0    pid/thread 1704/5836  
       6 READ          1 HELD    entry.dbxml               handle        4
       9 dd=461 locks held 0    write locks 0    pid/thread 1704/5836  
       a dd=460 locks held 1    write locks 0    pid/thread 1704/5836  
       a READ          1 HELD    entry.dbxml               handle        6
       d dd=459 locks held 0    write locks 0    pid/thread 1704/5836  
       e dd=458 locks held 1    write locks 0    pid/thread 1704/5836  
       e READ          1 HELD    entry.dbxml               handle        8
      11 dd=457 locks held 0    write locks 0    pid/thread 1704/5836  
      12 dd=456 locks held 1    write locks 0    pid/thread 1704/5836  
      12 READ          1 HELD    entry.dbxml               handle       10
      15 dd=455 locks held 0    write locks 0    pid/thread 1704/5836  
      16 dd=454 locks held 2    write locks 0    pid/thread 1704/5836  
      16 READ          1 HELD    entry.dbxml               handle       12
      16 READ          5 HELD    entry.dbxml               handle        0
      19 dd=453 locks held 0    write locks 0    pid/thread 1704/7764  
      1d dd=452 locks held 1    write locks 0    pid/thread 1704/5836  
      1d READ          1 HELD    entry.dbxml               handle       14
      20 dd=451 locks held 0    write locks 0    pid/thread 1704/6460  
      21 dd=450 locks held 2    write locks 0    pid/thread 1704/5836  
      21 READ          1 HELD    entry.dbxml               handle       16
      21 READ          2 HELD    entry.dbxml               handle        0
      24 dd=449 locks held 0    write locks 0    pid/thread 1704/5836  
      52 dd=448 locks held 2    write locks 0    pid/thread 1704/5836  
      52 READ          1 HELD    entry.dbxml               handle       18
      52 READ          1 HELD    entry.dbxml               handle        0
      55 dd=447 locks held 0    write locks 0    pid/thread 1704/5836  
      56 dd=446 locks held 1    write locks 0    pid/thread 1704/1168  
      56 READ          1 HELD    entry.dbxml               page         13
      57 dd=335 locks held 0    write locks 0    pid/thread 1704/4692  
      58 dd=334 locks held 0    write locks 0    pid/thread 1704/4692  
      59 dd=333 locks held 0    write locks 0    pid/thread 1704/4692  
      5a dd=332 locks held 0    write locks 0    pid/thread 1704/4692  
      5b dd=331 locks held 0    write locks 0    pid/thread 1704/4692  
      5c dd=330 locks held 0    write locks 0    pid/thread 1704/4692  
      5d dd=327 locks held 0    write locks 0    pid/thread 1704/7184  
      5e dd=324 locks held 0    write locks 0    pid/thread 1704/1168  
      5f dd=320 locks held 0    write locks 0    pid/thread 1704/6876  
      60 dd=319 locks held 0    write locks 0    pid/thread 1704/6380  
      61 dd=318 locks held 0    write locks 0    pid/thread 1704/6752  
      62 dd=317 locks held 0    write locks 0    pid/thread 1704/7348  
      63 dd=316 locks held 0    write locks 0    pid/thread 1704/1844  
      64 dd=315 locks held 0    write locks 0    pid/thread 1704/5224  
      65 dd=314 locks held 0    write locks 0    pid/thread 1704/5668  
      66 dd=313 locks held 0    write locks 0    pid/thread 1704/8164  
      67 dd=312 locks held 0    write locks 0    pid/thread 1704/6272  
      68 dd=310 locks held 0    write locks 0    pid/thread 1704/6268  
      69 dd=309 locks held 0    write locks 0    pid/thread 1704/7148  
      6a dd=308 locks held 0    write locks 0    pid/thread 1704/7184  
      6b dd=307 locks held 0    write locks 0    pid/thread 1704/6596  
      6c dd=306 locks held 0    write locks 0    pid/thread 1704/6044  
      6d dd=302 locks held 0    write locks 0    pid/thread 1704/6476  
      6e dd=301 locks held 0    write locks 0    pid/thread 1704/6916  
      6f dd=300 locks held 0    write locks 0    pid/thread 1704/4784  
      70 dd=299 locks held 0    write locks 0    pid/thread 1704/7444  
      71 dd=298 locks held 0    write locks 0    pid/thread 1704/5544  
      72 dd=297 locks held 0    write locks 0    pid/thread 1704/7140  
      73 dd=296 locks held 0    write locks 0    pid/thread 1704/5724  
      74 dd=295 locks held 0    write locks 0    pid/thread 1704/956  
      75 dd=294 locks held 0    write locks 0    pid/thread 1704/7916  
      76 dd=293 locks held 0    write locks 0    pid/thread 1704/6116  
      77 dd=292 locks held 0    write locks 0    pid/thread 1704/7928  
      78 dd=291 locks held 0    write locks 0    pid/thread 1704/6116  
      79 dd=290 locks held 0    write locks 0    pid/thread 1704/7160  
      7a dd=289 locks held 0    write locks 0    pid/thread 1704/6656  
      7b dd=288 locks held 0    write locks 0    pid/thread 1704/7212  
      7c dd=287 locks held 0    write locks 0    pid/thread 1704/6116  
      7d dd=286 locks held 0    write locks 0    pid/thread 1704/5820  
      7e dd=285 locks held 0    write locks 0    pid/thread 1704/5088  
      7f dd=284 locks held 0    write locks 0    pid/thread 1704/1108  
      80 dd=283 locks held 0    write locks 0    pid/thread 1704/7372  
      81 dd=282 locks held 0    write locks 0    pid/thread 1704/4692  
      82 dd=281 locks held 0    write locks 0    pid/thread 1704/7460  
      83 dd=280 locks held 0    write locks 0    pid/thread 1704/5528  
      84 dd=279 locks held 0    write locks 0    pid/thread 1704/7160  
      85 dd=278 locks held 0    write locks 0    pid/thread 1704/1168  
      86 dd=275 locks held 0    write locks 0    pid/thread 1704/5464  
      87 dd=274 locks held 0    write locks 0    pid/thread 1704/5652  
      88 dd=273 locks held 0    write locks 0    pid/thread 1704/6628  
      89 dd=272 locks held 0    write locks 0    pid/thread 1704/5164  
      8a dd=271 locks held 0    write locks 0    pid/thread 1704/7372  
      8b dd=270 locks held 0    write locks 0    pid/thread 1704/5236  
      8c dd=269 locks held 0    write locks 0    pid/thread 1704/6532  
      8d dd=268 locks held 0    write locks 0    pid/thread 1704/4656  
      8e dd=267 locks held 0    write locks 0    pid/thread 1704/7708  
      8f dd=266 locks held 0    write locks 0    pid/thread 1704/5112  
      90 dd=265 locks held 0    write locks 0    pid/thread 1704/7484  
      91 dd=259 locks held 0    write locks 0    pid/thread 1704/7352  
      92 dd=258 locks held 0    write locks 0    pid/thread 1704/7408  
      93 dd=257 locks held 0    write locks 0    pid/thread 1704/5472  
      94 dd=256 locks held 0    write locks 0    pid/thread 1704/7372  
      95 dd=255 locks held 0    write locks 0    pid/thread 1704/7552  
      96 dd=252 locks held 0    write locks 0    pid/thread 1704/5112  
      97 dd=249 locks held 0    write locks 0    pid/thread 1704/5472  
      98 dd=248 locks held 0    write locks 0    pid/thread 1704/5472  
      99 dd=247 locks held 0    write locks 0    pid/thread 1704/6460  
      9a dd=246 locks held 0    write locks 0    pid/thread 1704/5432  
      9b dd=245 locks held 0    write locks 0    pid/thread 1704/7220  
      9c dd=244 locks held 0    write locks 0    pid/thread 1704/7768  
      9d dd=243 locks held 0    write locks 0    pid/thread 1704/5088  
      9e dd=242 locks held 0    write locks 0    pid/thread 1704/5544  
      9f dd=241 locks held 0    write locks 0    pid/thread 1704/5272  
      a0 dd=240 locks held 0    write locks 0    pid/thread 1704/7284  
      a1 dd=239 locks held 0    write locks 0    pid/thread 1704/3884  
      a2 dd=238 locks held 0    write locks 0    pid/thread 1704/4552  
      a3 dd=237 locks held 0    write locks 0    pid/thread 1704/6460  
      a4 dd=236 locks held 0    write locks 0    pid/thread 1704/6324  
      a5 dd=235 locks held 0    write locks 0    pid/thread 1704/6272  
      a6 dd=234 locks held 0    write locks 0    pid/thread 1704/7276  
      a7 dd=233 locks held 0    write locks 0    pid/thread 1704/4552  
      a8 dd=232 locks held 0    write locks 0    pid/thread 1704/6876  
      a9 dd=231 locks held 0    write locks 0    pid/thread 1704/5296  
      aa dd=230 locks held 0    write locks 0    pid/thread 1704/5668  
      ab dd=229 locks held 0    write locks 0    pid/thread 1704/8164  
      ac dd=228 locks held 0    write locks 0    pid/thread 1704/5444  
      ad dd=227 locks held 0    write locks 0    pid/thread 1704/7916  
      ae dd=226 locks held 0    write locks 0    pid/thread 1704/1944  
      af dd=225 locks held 0    write locks 0    pid/thread 1704/7040  
      b0 dd=224 locks held 0    write locks 0    pid/thread 1704/5548  
      b1 dd=223 locks held 0    write locks 0    pid/thread 1704/3880  
      b2 dd=222 locks held 0    write locks 0    pid/thread 1704/5428  
      b3 dd=221 locks held 0    write locks 0    pid/thread 1704/5224  
      b4 dd=220 locks held 0    write locks 0    pid/thread 1704/6420  
      b5 dd=219 locks held 0    write locks 0    pid/thread 1704/7104  
      b6 dd=218 locks held 0    write locks 0    pid/thread 1704/5944  
      b7 dd=217 locks held 0    write locks 0    pid/thread 1704/7728  
      b8 dd=216 locks held 0    write locks 0    pid/thread 1704/7632  
      b9 dd=215 locks held 0    write locks 0    pid/thread 1704/7436  
      ba dd=214 locks held 0    write locks 0    pid/thread 1704/5472  
      bb dd=213 locks held 0    write locks 0    pid/thread 1704/7148  
      bc dd=212 locks held 0    write locks 0    pid/thread 1704/4200  
      bd dd=211 locks held 0    write locks 0    pid/thread 1704/4716  
      be dd=210 locks held 0    write locks 0    pid/thread 1704/5652  
      bf dd=209 locks held 0    write locks 0    pid/thread 1704/7012  
      c0 dd=208 locks held 0    write locks 0    pid/thread 1704/6532  
      c1 dd=207 locks held 0    write locks 0    pid/thread 1704/4692  
      c2 dd=206 locks held 0    write locks 0    pid/thread 1704/7936  
      c3 dd=205 locks held 0    write locks 0    pid/thread 1704/656  
      c4 dd=204 locks held 0    write locks 0    pid/thread 1704/6460  
      c5 dd=203 locks held 0    write locks 0    pid/thread 1704/7348  
      c6 dd=202 locks held 0    write locks 0    pid/thread 1704/4768  
      c7 dd=201 locks held 0    write locks 0    pid/thread 1704/6080  
      c8 dd=200 locks held 0    write locks 0    pid/thread 1704/6380  
      c9 dd=199 locks held 0    write locks 0    pid/thread 1704/376  
      ca dd=198 locks held 0    write locks 0    pid/thread 1704/5468  
      cb dd=197 locks held 0    write locks 0    pid/thread 1704/7128  
      cc dd=196 locks held 0    write locks 0    pid/thread 1704/6408  
      cd dd=195 locks held 0    write locks 0    pid/thread 1704/7396  
      ce dd=194 locks held 0    write locks 0    pid/thread 1704/7972  
      cf dd=193 locks held 0    write locks 0    pid/thread 1704/5088  
      d0 dd=192 locks held 0    write locks 0    pid/thread 1704/7848  
      d1 dd=191 locks held 0    write locks 0    pid/thread 1704/5912  
      d2 dd=190 locks held 0    write locks 0    pid/thread 1704/5820  
      d3 dd=189 locks held 0    write locks 0    pid/thread 1704/4552  
      d4 dd=188 locks held 0    write locks 0    pid/thread 1704/7140  
      d5 dd=187 locks held 0    write locks 0    pid/thread 1704/5116  
      d6 dd=186 locks held 0    write locks 0    pid/thread 1704/4784  
      d7 dd=185 locks held 0    write locks 0    pid/thread 1704/5472  
      d8 dd=184 locks held 0    write locks 0    pid/thread 1704/5756  
      d9 dd=183 locks held 0    write locks 0    pid/thread 1704/6584  
      da dd=182 locks held 0    write locks 0    pid/thread 1704/5236  
      db dd=181 locks held 0    write locks 0    pid/thread 1704/7444  
      dc dd=180 locks held 0    write locks 0    pid/thread 1704/7928  
      dd dd=179 locks held 0    write locks 0    pid/thread 1704/5724  
      de dd=178 locks held 0    write locks 0    pid/thread 1704/6476  
      df dd=177 locks held 0    write locks 0    pid/thread 1704/7768  
      e0 dd=176 locks held 0    write locks 0    pid/thread 1704/5444  
      e1 dd=175 locks held 0    write locks 0    pid/thread 1704/1944  
      e2 dd=174 locks held 0    write locks 0    pid/thread 1704/1448  
      e3 dd=173 locks held 0    write locks 0    pid/thread 1704/5088  
      e4 dd=172 locks held 0    write locks 0    pid/thread 1704/6420  
      e5 dd=171 locks held 0    write locks 0    pid/thread 1704/6532  
      e6 dd=170 locks held 0    write locks 0    pid/thread 1704/5088  
      e7 dd=169 locks held 0    write locks 0    pid/thread 1704/5272  
      e8 dd=168 locks held 0    write locks 0    pid/thread 1704/6896  
      e9 dd=167 locks held 0    write locks 0    pid/thread 1704/5652  
      ea dd=166 locks held 0    write locks 0    pid/thread 1704/7040  
      eb dd=165 locks held 0    write locks 0    pid/thread 1704/6272  
      ec dd=164 locks held 0    write locks 0    pid/thread 1704/3880  
      ed dd=163 locks held 0    write locks 0    pid/thread 1704/5236  
      ee dd=162 locks held 0    write locks 0    pid/thread 1704/6532  
      ef dd=161 locks held 0    write locks 0    pid/thread 1704/656  
      f0 dd=160 locks held 0    write locks 0    pid/thread 1704/6836  
      f1 dd=159 locks held 0    write locks 0    pid/thread 1704/7916  
      f2 dd=158 locks held 0    write locks 0    pid/thread 1704/6324  
      f3 dd=157 locks held 0    write locks 0    pid/thread 1704/3884  
      f4 dd=156 locks held 0    write locks 0    pid/thread 1704/7220  
      f5 dd=155 locks held 0    write locks 0    pid/thread 1704/6188  
      f6 dd=154 locks held 0    write locks 0    pid/thread 1704/7960  
      f7 dd=153 locks held 0    write locks 0    pid/thread 1704/7396  
      f8 dd=152 locks held 0    write locks 0    pid/thread 1704/7632  
      f9 dd=151 locks held 0    write locks 0    pid/thread 1704/5088  
      fa dd=150 locks held 0    write locks 0    pid/thread 1704/7728  
      fb dd=149 locks held 0    write locks 0    pid/thread 1704/5428  
      fc dd=148 locks held 0    write locks 0    pid/thread 1704/5468  
      fd dd=147 locks held 0    write locks 0    pid/thread 1704/7276  
      fe dd=146 locks held 0    write locks 0    pid/thread 1704/4200  
      ff dd=145 locks held 0    write locks 0    pid/thread 1704/6352  
     100 dd=144 locks held 0    write locks 0    pid/thread 1704/4896  
     101 dd=143 locks held 0    write locks 0    pid/thread 1704/5548  
     102 dd=142 locks held 0    write locks 0    pid/thread 1704/7128  
     103 dd=141 locks held 0    write locks 0    pid/thread 1704/5088  
     104 dd=140 locks held 0    write locks 0    pid/thread 1704/5088  
     105 dd=139 locks held 0    write locks 0    pid/thread 1704/6460  
     106 dd=138 locks held 0    write locks 0    pid/thread 1704/376  
     107 dd=137 locks held 0    write locks 0    pid/thread 1704/6956  
     108 dd=136 locks held 0    write locks 0    pid/thread 1704/7848  
     109 dd=135 locks held 0    write locks 0    pid/thread 1704/5432  
     10a dd=134 locks held 0    write locks 0    pid/thread 1704/5912  
     10b dd=133 locks held 0    write locks 0    pid/thread 1704/6876  
     10c dd=132 locks held 0    write locks 0    pid/thread 1704/5896  
     10d dd=131 locks held 0    write locks 0    pid/thread 1704/5156  
     10e dd=130 locks held 0    write locks 0    pid/thread 1704/6260  
     10f dd=129 locks held 0    write locks 0    pid/thread 1704/7232  
     110 dd=128 locks held 0    write locks 0    pid/thread 1704/4784  
     111 dd=127 locks held 0    write locks 0    pid/thread 1704/6896  
     112 dd=126 locks held 0    write locks 0    pid/thread 1704/7116  
     113 dd=125 locks held 0    write locks 0    pid/thread 1704/6476  
     114 dd=124 locks held 0    write locks 0    pid/thread 1704/5756  
     115 dd=123 locks held 0    write locks 0    pid/thread 1704/4768  
     116 dd=122 locks held 0    write locks 0    pid/thread 1704/5944  
     117 dd=121 locks held 0    write locks 0    pid/thread 1704/7444  
     118 dd=120 locks held 0    write locks 0    pid/thread 1704/7436  
     119 dd=119 locks held 0    write locks 0    pid/thread 1704/5236  
     11a dd=118 locks held 0    write locks 0    pid/thread 1704/5116  
     11b dd=117 locks held 0    write locks 0    pid/thread 1704/7104  
     11c dd=116 locks held 0    write locks 0    pid/thread 1704/8144  
     11d dd=115 locks held 0    write locks 0    pid/thread 1704/5224  
     11e dd=114 locks held 0    write locks 0    pid/thread 1704/8164  
     11f dd=113 locks held 0    write locks 0    pid/thread 1704/5544  
     120 dd=112 locks held 0    write locks 0    pid/thread 1704/5724  
     121 dd=111 locks held 0    write locks 0    pid/thread 1704/7972  
     122 dd=110 locks held 1    write locks 0    pid/thread 1704/1108  
     122 READ          1 HELD    entry.dbxml               page         13
     123 dd=109 locks held 0    write locks 0    pid/thread 1704/5296  
     124 dd=108 locks held 0    write locks 0    pid/thread 1704/7348  
     125 dd=107 locks held 0    write locks 0    pid/thread 1704/6080  
     126 dd=106 locks held 0    write locks 0    pid/thread 1704/7184  
     126 READ          1 WAIT    entry.dbxml               page         13
     127 dd=105 locks held 0    write locks 0    pid/thread 1704/6408  
     128 dd=104 locks held 0    write locks 0    pid/thread 1704/7284  
     129 dd=103 locks held 0    write locks 0    pid/thread 1704/6584  
     12a dd=102 locks held 0    write locks 0    pid/thread 1704/6216  
     12b dd=101 locks held 0    write locks 0    pid/thread 1704/6380  
     12c dd=100 locks held 0    write locks 0    pid/thread 1704/5668  
     12d dd=99 locks held 0    write locks 0    pid/thread 1704/4120  
     12e dd=98 locks held 0    write locks 0    pid/thread 1704/5804  
     12f dd=97 locks held 0    write locks 0    pid/thread 1704/7140  
     130 dd=96 locks held 0    write locks 0    pid/thread 1704/6712  
     131 dd=95 locks held 0    write locks 0    pid/thread 1704/6564  
     132 dd=94 locks held 0    write locks 0    pid/thread 1704/7808  
     133 dd=93 locks held 0    write locks 0    pid/thread 1704/1844  
     134 dd=92 locks held 0    write locks 0    pid/thread 1704/4024  
     135 dd=91 locks held 0    write locks 0    pid/thread 1704/6900  
     136 dd=90 locks held 0    write locks 0    pid/thread 1704/6928  
     137 dd=89 locks held 0    write locks 0    pid/thread 1704/7764  
     138 dd=88 locks held 0    write locks 0    pid/thread 1704/7320  
     139 dd=87 locks held 0    write locks 0    pid/thread 1704/6752  
     13a dd=86 locks held 0    write locks 0    pid/thread 1704/6728  
     13b dd=85 locks held 0    write locks 0    pid/thread 1704/1864  
     13c dd=84 locks held 0    write locks 0    pid/thread 1704/956  
     13d dd=83 locks held 0    write locks 0    pid/thread 1704/1168  
     13d READ          1 WAIT    entry.dbxml               page         11
     13e dd=82 locks held 0    write locks 0    pid/thread 1704/7328  
     13f dd=81 locks held 0    write locks 0    pid/thread 1704/7496  
     140 dd=80 locks held 0    write locks 0    pid/thread 1704/6776  
     141 dd=79 locks held 0    write locks 0    pid/thread 1704/6916  
     142 dd=78 locks held 0    write locks 0    pid/thread 1704/6948  
     143 dd=77 locks held 0    write locks 0    pid/thread 1704/4236  
     144 dd=76 locks held 0    write locks 0    pid/thread 1704/7056  
     145 dd=75 locks held 0    write locks 0    pid/thread 1704/4176  
     146 dd=74 locks held 0    write locks 0    pid/thread 1704/6676  
     147 dd=73 locks held 0    write locks 0    pid/thread 1704/7764  
     148 dd=72 locks held 0    write locks 0    pid/thread 1704/1108  
     148 READ          1 WAIT    entry.dbxml               page         11
     149 dd=71 locks held 0    write locks 0    pid/thread 1704/5100  
     14a dd=70 locks held 0    write locks 0    pid/thread 1704/4724  
     14b dd=69 locks held 0    write locks 0    pid/thread 1704/7236  
     14c dd=67 locks held 0    write locks 0    pid/thread 1704/3940  
     14d dd=66 locks held 0    write locks 0    pid/thread 1704/5688  
     14e dd=65 locks held 0    write locks 0    pid/thread 1704/6616  
     14f dd=64 locks held 0    write locks 0    pid/thread 1704/7764  
     150 dd=63 locks held 0    write locks 0    pid/thread 1704/7456  
     151 dd=62 locks held 0    write locks 0    pid/thread 1704/7428  
     152 dd=61 locks held 0    write locks 0    pid/thread 1704/6064  
     153 dd=60 locks held 0    write locks 0    pid/thread 1704/5464  
     154 dd=59 locks held 0    write locks 0    pid/thread 1704/7428  
     155 dd=58 locks held 0    write locks 0    pid/thread 1704/7148  
     155 READ          1 WAIT    entry.dbxml               page         13
     156 dd=57 locks held 0    write locks 0    pid/thread 1704/7148  
     157 dd=56 locks held 0    write locks 0    pid/thread 1704/5620  
     158 dd=55 locks held 0    write locks 0    pid/thread 1704/3716  
     159 dd=54 locks held 0    write locks 0    pid/thread 1704/7640  
     15a dd=53 locks held 0    write locks 0    pid/thread 1704/4692  
     15a READ          1 WAIT    entry.dbxml               page         13
     15b dd=52 locks held 0    write locks 0    pid/thread 1704/4692  
     15c dd=51 locks held 0    write locks 0    pid/thread 1704/5164  
     15c READ          1 WAIT    entry.dbxml               page         13
     15d dd=50 locks held 0    write locks 0    pid/thread 1704/5164  
     15e dd=49 locks held 0    write locks 0    pid/thread 1704/5820  
     15e READ          1 WAIT    entry.dbxml               page         13
     15f dd=48 locks held 0    write locks 0    pid/thread 1704/5820  
     160 dd=47 locks held 0    write locks 0    pid/thread 1704/6496  
     161 dd=46 locks held 0    write locks 0    pid/thread 1704/7624  
     162 dd=45 locks held 0    write locks 0    pid/thread 1704/4772  
     163 dd=44 locks held 0    write locks 0    pid/thread 1704/7552  
     163 READ          1 WAIT    entry.dbxml               page         13
     164 dd=43 locks held 0    write locks 0    pid/thread 1704/7552  
     165 dd=42 locks held 0    write locks 0    pid/thread 1704/7372  
     166 dd=41 locks held 0    write locks 0    pid/thread 1704/5536  
     167 dd=40 locks held 0    write locks 0    pid/thread 1704/6796  
     168 dd=39 locks held 0    write locks 0    pid/thread 1704/5268  
     169 dd=38 locks held 0    write locks 0    pid/thread 1704/8024  
     16a dd=37 locks held 0    write locks 0    pid/thread 1704/6460  
     16a READ          1 WAIT    entry.dbxml               page         13
     16b dd=36 locks held 0    write locks 0    pid/thread 1704/6460  
     16c dd=35 locks held 0    write locks 0    pid/thread 1704/4368  
     16d dd=34 locks held 0    write locks 0    pid/thread 1704/4368  
     16e dd=33 locks held 0    write locks 0    pid/thread 1704/6016  
     16f dd=32 locks held 0    write locks 0    pid/thread 1704/6908  
     170 dd=31 locks held 0    write locks 0    pid/thread 1704/7640  
     171 dd=30 locks held 0    write locks 0    pid/thread 1704/6016  
80000018 dd=445 locks held 0    write locks 0    pid/thread 1704/1944  
     172 dd=29 locks held 0    write locks 0    pid/thread 1704/6532  
80000019 dd=444 locks held 0    write locks 0    pid/thread 1704/6728  
     173 dd=28 locks held 0    write locks 0    pid/thread 1704/6588  
8000001a dd=443 locks held 0    write locks 0    pid/thread 1704/7916  
     174 dd=27 locks held 0    write locks 0    pid/thread 1704/7420  
8000001b dd=442 locks held 0    write locks 0    pid/thread 1704/4200  
     175 dd=26 locks held 0    write locks 0    pid/thread 1704/6336  
8000001c dd=441 locks held 0    write locks 0    pid/thread 1704/5548  
     176 dd=25 locks held 0    write locks 0    pid/thread 1704/5088  
8000001d dd=440 locks held 0    write locks 0    pid/thread 1704/1844  
     177 dd=24 locks held 0    write locks 0    pid/thread 1704/7212  
8000001e dd=439 locks held 0    write locks 0    pid/thread 1704/6876  
     178 dd=23 locks held 0    write locks 0    pid/thread 1704/7212  
8000001f dd=438 locks held 0    write locks 0    pid/thread 1704/5224  
     179 dd=22 locks held 0    write locks 0    pid/thread 1704/5088  
80000020 dd=437 locks held 0    write locks 0    pid/thread 1704/5668  
     17a dd=20 locks held 0    write locks 0    pid/thread 1704/7660  
80000021 dd=436 locks held 0    write locks 0    pid/thread 1704/7348  
     17b dd=19 locks held 0    write locks 0    pid/thread 1704/7160  
80000022 dd=435 locks held 0    write locks 0    pid/thread 1704/8164  
     17c dd=18 locks held 0    write locks 0    pid/thread 1704/6656  
80000023 dd=434 locks held 0    write locks 0    pid/thread 1704/6420  
     17d dd=17 locks held 0    write locks 0    pid/thread 1704/7740  
80000024 dd=433 locks held 0    write locks 0    pid/thread 1704/4120  
     17e dd=16 locks held 0    write locks 0    pid/thread 1704/5652  
     17e READ          1 WAIT    entry.dbxml               page         13
80000025 dd=432 locks held 0    write locks 0    pid/thread 1704/3884  
     17f dd=15 locks held 0    write locks 0    pid/thread 1704/5652  
80000026 dd=431 locks held 0    write locks 0    pid/thread 1704/6272  
     180 dd=13 locks held 0    write locks 0    pid/thread 1704/7928  
     180 READ          1 WAIT    entry.dbxml               page         13
80000027 dd=430 locks held 0    write locks 0    pid/thread 1704/5688  
     181 dd=12 locks held 0    write locks 0    pid/thread 1704/7928  
80000028 dd=429 locks held 0    write locks 0    pid/thread 1704/6380  
     182 dd=11 locks held 0    write locks 0    pid/thread 1704/6596  
     182 READ          1 WAIT    entry.dbxml               page         13
80000029 dd=428 locks held 0    write locks 0    pid/thread 1704/6752  
     183 dd=10 locks held 0    write locks 0    pid/thread 1704/6596  
8000002a dd=427 locks held 0    write locks 0    pid/thread 1704/6584  
     184 dd= 8 locks held 0    write locks 0    pid/thread 1704/5088  
     184 READ          1 WAIT    entry.dbxml               page         13
8000002b dd=426 locks held 0    write locks 0    pid/thread 1704/7328  
     185 dd= 7 locks held 0    write locks 0    pid/thread 1704/5088  
8000002c dd=425 locks held 0    write locks 0    pid/thread 1704/7232  
     186 dd= 6 locks held 0    write locks 0    pid/thread 1704/5236  
     186 READ          1 WAIT    entry.dbxml               page         13
8000002d dd=424 locks held 0    write locks 0    pid/thread 1704/5756  
     187 dd= 5 locks held 0    write locks 0    pid/thread 1704/5236  
8000002e dd=423 locks held 0    write locks 0    pid/thread 1704/5896  
     188 dd= 4 locks held 0    write locks 0    pid/thread 1704/6532  
     188 READ          1 WAIT    entry.dbxml               page         13
8000002f dd=422 locks held 0    write locks 0    pid/thread 1704/7276  
     189 dd= 3 locks held 0    write locks 0    pid/thread 1704/6532  
80000030 dd=421 locks held 0    write locks 0    pid/thread 1704/4176  
     18a dd= 1 locks held 0    write locks 0    pid/thread 1704/5472  
     18a READ          1 WAIT    entry.dbxml               page         13
80000031 dd=420 locks held 0    write locks 0    pid/thread 1704/1448  
     18b dd= 0 locks held 0    write locks 0    pid/thread 1704/5472  
80000032 dd=419 locks held 0    write locks 0    pid/thread 1704/4024  
80000033 dd=418 locks held 0    write locks 0    pid/thread 1704/376  
80000034 dd=417 locks held 0    write locks 0    pid/thread 1704/7284  
80000035 dd=416 locks held 0    write locks 0    pid/thread 1704/5432  
80000036 dd=415 locks held 0    write locks 0    pid/thread 1704/6956  
80000037 dd=414 locks held 0    write locks 0    pid/thread 1704/6080  
80000038 dd=413 locks held 0    write locks 0    pid/thread 1704/6776  
80000039 dd=412 locks held 0    write locks 0    pid/thread 1704/5912  
8000003a dd=411 locks held 0    write locks 0    pid/thread 1704/5544  
8000003b dd=410 locks held 0    write locks 0    pid/thread 1704/656  
8000003c dd=409 locks held 0    write locks 0    pid/thread 1704/7220  
8000003d dd=408 locks held 0    write locks 0    pid/thread 1704/4768  
8000003f dd=407 locks held 0    write locks 0    pid/thread 1704/6092  
80000040 dd=406 locks held 0    write locks 0    pid/thread 1704/5804  
80000041 dd=405 locks held 0    write locks 0    pid/thread 1704/5272  
80000042 dd=404 locks held 0    write locks 0    pid/thread 1704/6712  
80000043 dd=403 locks held 0    write locks 0    pid/thread 1704/7056  
80000044 dd=402 locks held 0    write locks 0    pid/thread 1704/7104  
80000045 dd=401 locks held 0    write locks 0    pid/thread 1704/7040  
80000046 dd=400 locks held 0    write locks 0    pid/thread 1704/5116  
80000047 dd=399 locks held 0    write locks 0    pid/thread 1704/7728  
80000048 dd=398 locks held 0    write locks 0    pid/thread 1704/6900  
80000049 dd=397 locks held 0    write locks 0    pid/thread 1704/7936  
8000004a dd=396 locks held 0    write locks 0    pid/thread 1704/7236  
8000004b dd=395 locks held 0    write locks 0    pid/thread 1704/8144  
8000004c dd=394 locks held 0    write locks 0    pid/thread 1704/7140  
8000004d dd=393 locks held 0    write locks 0    pid/thread 1704/6324  
8000004e dd=392 locks held 0    write locks 0    pid/thread 1704/4552  
8000004f dd=391 locks held 0    write locks 0    pid/thread 1704/5944  
80000050 dd=390 locks held 0    write locks 0    pid/thread 1704/956  
80000051 dd=389 locks held 0    write locks 0    pid/thread 1704/5156  
80000052 dd=388 locks held 0    write locks 0    pid/thread 1704/5444  
80000053 dd=387 locks held 0    write locks 0    pid/thread 1704/4784  
80000054 dd=386 locks held 0    write locks 0    pid/thread 1704/4724  
80000055 dd=385 locks held 0    write locks 0    pid/thread 1704/5100  
80000056 dd=384 locks held 0    write locks 0    pid/thread 1704/3940  
80000057 dd=383 locks held 0    write locks 0    pid/thread 1704/6676  
80000058 dd=382 locks held 0    write locks 0    pid/thread 1704/7436  
80000059 dd=381 locks held 0    write locks 0    pid/thread 1704/7768  
8000005a dd=380 locks held 0    write locks 0    pid/thread 1704/7496  
8000005b dd=379 locks held 0    write locks 0    pid/thread 1704/6476  
8000005c dd=378 locks held 0    write locks 0    pid/thread 1704/6352  
8000005d dd=377 locks held 0    write locks 0    pid/thread 1704/6928  
8000005e dd=376 locks held 0    write locks 0    pid/thread 1704/6916  
8000005f dd=375 locks held 0    write locks 0    pid/thread 1704/7128  
80000060 dd=374 locks held 0    write locks 0    pid/thread 1704/5468  
80000061 dd=373 locks held 0    write locks 0    pid/thread 1704/6408  
80000062 dd=372 locks held 0    write locks 0    pid/thread 1704/6260  
80000063 dd=371 locks held 0    write locks 0    pid/thread 1704/6948  
80000064 dd=370 locks held 0    write locks 0    pid/thread 1704/1864  
80000065 dd=369 locks held 0    write locks 0    pid/thread 1704/5296  
80000066 dd=368 locks held 0    write locks 0    pid/thread 1704/7848  
80000067 dd=367 locks held 0    write locks 0    pid/thread 1704/7444  
80000068 dd=366 locks held 0    write locks 0    pid/thread 1704/7320  
80000069 dd=365 locks held 0    write locks 0    pid/thread 1704/7972  
8000006a dd=364 locks held 0    write locks 0    pid/thread 1704/5724  
8000006b dd=363 locks held 0    write locks 0    pid/thread 1704/7456  
8000006c dd=362 locks held 0    write locks 0    pid/thread 1704/6896  
8000006d dd=361 locks held 0    write locks 0    pid/thread 1704/6616  
8000006e dd=360 locks held 0    write locks 0    pid/thread 1704/7632  
8000006f dd=359 locks held 0    write locks 0    pid/thread 1704/6216  
80000070 dd=358 locks held 0    write locks 0    pid/thread 1704/7116  
80000071 dd=357 locks held 0    write locks 0    pid/thread 1704/7396  
80000072 dd=356 locks held 0    write locks 0    pid/thread 1704/4896  
80000073 dd=355 locks held 0    write locks 0    pid/thread 1704/5428  
80000074 dd=354 locks held 0    write locks 0    pid/thread 1704/6564  
80000075 dd=353 locks held 0    write locks 0    pid/thread 1704/7960  
80000076 dd=352 locks held 0    write locks 0    pid/thread 1704/6188  
80000077 dd=351 locks held 0    write locks 0    pid/thread 1704/3880  
80000078 dd=350 locks held 0    write locks 0    pid/thread 1704/6836  
80000079 dd=349 locks held 0    write locks 0    pid/thread 1704/4236  
8000007a dd=348 locks held 0    write locks 0    pid/thread 1704/7808  
8000007b dd=347 locks held 0    write locks 0    pid/thread 1704/1168  
8000007c dd=346 locks held 0    write locks 0    pid/thread 1704/5236  
8000007d dd=345 locks held 0    write locks 0    pid/thread 1704/5088  
8000007e dd=344 locks held 0    write locks 0    pid/thread 1704/6460  
8000007f dd=343 locks held 0    write locks 0    pid/thread 1704/4692  
80000081 dd=341 locks held 0    write locks 0    pid/thread 1704/5472  
80000082 dd=340 locks held 0    write locks 0    pid/thread 1704/1108  
80000083 dd=339 locks held 0    write locks 0    pid/thread 1704/5164  
80000084 dd=338 locks held 0    write locks 0    pid/thread 1704/7184  
80000085 dd=337 locks held 0    write locks 0    pid/thread 1704/7552  
80000086 dd=336 locks held 0    write locks 0    pid/thread 1704/7928  
80000092 dd=329 locks held 0    write locks 0    pid/thread 1704/5652  
80000094 dd=328 locks held 0    write locks 0    pid/thread 1704/6532  
80000096 dd=326 locks held 0    write locks 0    pid/thread 1704/6596  
80000098 dd=325 locks held 0    write locks 0    pid/thread 1704/7148  
8000009b dd=323 locks held 0    write locks 0    pid/thread 1704/5820  
800000a2 dd=434 locks held 0    write locks 0    pid/thread 1704/6420  
800000a2 WRITE         1 WAIT    entry.dbxml               page         11
800000a3 dd=433 locks held 0    write locks 0    pid/thread 1704/4120  
800000a3 WRITE         1 WAIT    entry.dbxml               page         11
800000a4 dd=439 locks held 0    write locks 0    pid/thread 1704/6876  
800000a4 WRITE         1 WAIT    entry.dbxml               page         11
800000a5 dd=429 locks held 0    write locks 0    pid/thread 1704/6380  
800000a5 WRITE         1 WAIT    entry.dbxml               page         11
800000a6 dd=428 locks held 0    write locks 0    pid/thread 1704/6752  
800000a6 WRITE         1 WAIT    entry.dbxml               page         11
800000a7 dd=436 locks held 0    write locks 0    pid/thread 1704/7348  
800000a7 WRITE         1 WAIT    entry.dbxml               page         11
800000a8 dd=435 locks held 0    write locks 0    pid/thread 1704/8164  
800000a8 WRITE         1 WAIT    entry.dbxml               page         11
800000a9 dd=440 locks held 0    write locks 0    pid/thread 1704/1844  
800000a9 WRITE         1 WAIT    entry.dbxml               page         11
800000aa dd=438 locks held 0    write locks 0    pid/thread 1704/5224  
800000aa WRITE         1 WAIT    entry.dbxml               page         11
800000ab dd=437 locks held 0    write locks 0    pid/thread 1704/5668  
800000ab WRITE         1 WAIT    entry.dbxml               page         11
800000ac dd=431 locks held 0    write locks 0    pid/thread 1704/6272  
800000ac WRITE         1 WAIT    entry.dbxml               page         11
800000b9 dd=412 locks held 0    write locks 0    pid/thread 1704/5912  
800000b9 WRITE         1 WAIT    entry.dbxml               page         11
800000bd dd=416 locks held 0    write locks 0    pid/thread 1704/5432  
800000bd WRITE         1 WAIT    entry.dbxml               page         11
800000be dd=409 locks held 0    write locks 0    pid/thread 1704/7220  
800000be WRITE         1 WAIT    entry.dbxml               page         11
800000bf dd=422 locks held 0    write locks 0    pid/thread 1704/7276  
800000bf WRITE         1 WAIT    entry.dbxml               page         11
800000c0 dd=424 locks held 0    write locks 0    pid/thread 1704/5756  
800000c0 WRITE         1 WAIT    entry.dbxml               page         11
800000c1 dd=410 locks held 0    write locks 0    pid/thread 1704/656  
800000c1 WRITE         1 WAIT    entry.dbxml               page         11
800000c5 dd=420 locks held 0    write locks 0    pid/thread 1704/1448  
800000c5 WRITE         1 WAIT    entry.dbxml               page         11
800000c6 dd=417 locks held 0    write locks 0    pid/thread 1704/7284  
800000c6 WRITE         1 WAIT    entry.dbxml               page         11
800000c7 dd=415 locks held 0    write locks 0    pid/thread 1704/6956  
800000c7 WRITE         1 WAIT    entry.dbxml               page         11
800000c8 dd=423 locks held 0    write locks 0    pid/thread 1704/5896  
800000c8 WRITE         1 WAIT    entry.dbxml               page         11
800000c9 dd=401 locks held 0    write locks 0    pid/thread 1704/7040  
800000c9 WRITE         1 WAIT    entry.dbxml               page         11
800000ca dd=418 locks held 0    write locks 0    pid/thread 1704/376  
800000ca WRITE         1 WAIT    entry.dbxml               page         11
800000cb dd=432 locks held 0    write locks 0    pid/thread 1704/3884  
800000cb WRITE         1 WAIT    entry.dbxml               page         11
800000cd dd=393 locks held 0    write locks 0    pid/thread 1704/6324  
800000cd WRITE         1 WAIT    entry.dbxml               page         11
800000d0 dd=427 locks held 0    write locks 0    pid/thread 1704/6584  
800000d0 WRITE         1 WAIT    entry.dbxml               page         11
800000d2 dd=408 locks held 0    write locks 0    pid/thread 1704/4768  
800000d2 WRITE         1 WAIT    entry.dbxml               page         11
800000d3 dd=406 locks held 0    write locks 0    pid/thread 1704/5804  
800000d3 WRITE         1 WAIT    entry.dbxml               page         11
800000d4 dd=405 locks held 0    write locks 0    pid/thread 1704/5272  
800000d4 WRITE         1 WAIT    entry.dbxml               page         11
800000d5 dd=373 locks held 0    write locks 0    pid/thread 1704/6408  
800000d5 WRITE         1 WAIT    entry.dbxml               page         11
800000d6 dd=369 locks held 0    write locks 0    pid/thread 1704/5296  
800000d6 WRITE         1 WAIT    entry.dbxml               page         11
800000d7 dd=389 locks held 0    write locks 0    pid/thread 1704/5156  
800000d7 WRITE         1 WAIT    entry.dbxml               page         11
800000d8 dd=370 locks held 0    write locks 0    pid/thread 1704/1864  
800000d8 READ          1 WAIT    entry.dbxml               page         11
800000d9 dd=411 locks held 0    write locks 0    pid/thread 1704/5544  
800000d9 WRITE         1 WAIT    entry.dbxml               page         11
800000da dd=365 locks held 0    write locks 0    pid/thread 1704/7972  
800000da WRITE         1 WAIT    entry.dbxml               page         11
800000de dd=381 locks held 0    write locks 0    pid/thread 1704/7768  
800000de WRITE         1 WAIT    entry.dbxml               page         11
800000e0 dd=395 locks held 0    write locks 0    pid/thread 1704/8144  
800000e0 WRITE         1 WAIT    entry.dbxml               page         11
800000e1 dd=384 locks held 0    write locks 0    pid/thread 1704/3940  
800000e1 READ          1 WAIT    entry.dbxml               page         11
800000e2 dd=385 locks held 0    write locks 0    pid/thread 1704/5100  
800000e2 READ          1 WAIT    entry.dbxml               page         11
800000e3 dd=396 locks held 0    write locks 0    pid/thread 1704/7236  
800000e3 READ          1 WAIT    entry.dbxml               page         11
800000e4 dd=383 locks held 0    write locks 0    pid/thread 1704/6676  
800000e4 READ          1 WAIT    entry.dbxml               page         11
800000e5 dd=407 locks held 1    write locks 1    pid/thread 1704/6092  
800000e5 WRITE         1 WAIT    entry.dbxml               page         13
800000e5 WRITE         1 HELD    entry.dbxml               page         11
800000e6 dd=392 locks held 0    write locks 0    pid/thread 1704/4552  
800000e6 WRITE         1 WAIT    entry.dbxml               page         11
800000e7 dd=386 locks held 0    write locks 0    pid/thread 1704/4724  
800000e7 READ          1 WAIT    entry.dbxml               page         11
800000e8 dd=402 locks held 0    write locks 0    pid/thread 1704/7104  
800000e8 WRITE         1 WAIT    entry.dbxml               page         11
800000e9 dd=376 locks held 0    write locks 0    pid/thread 1704/6916  
800000e9 READ          1 WAIT    entry.dbxml               page         11
800000ea dd=379 locks held 0    write locks 0    pid/thread 1704/6476  
800000ea WRITE         1 WAIT    entry.dbxml               page         11
800000eb dd=387 locks held 0    write locks 0    pid/thread 1704/4784  
800000eb WRITE         1 WAIT    entry.dbxml               page         11
800000ec dd=367 locks held 0    write locks 0    pid/thread 1704/7444  
800000ec WRITE         1 WAIT    entry.dbxml               page         11
800000ed dd=394 locks held 0    write locks 0    pid/thread 1704/7140  
800000ed WRITE         1 WAIT    entry.dbxml               page         11
800000ef dd=390 locks held 0    write locks 0    pid/thread 1704/956  
800000ef READ          1 WAIT    entry.dbxml               page         11
800000f0 dd=364 locks held 0    write locks 0    pid/thread 1704/5724  
800000f0 WRITE         1 WAIT    entry.dbxml               page         11
800000f1 dd=443 locks held 0    write locks 0    pid/thread 1704/7916  
800000f1 WRITE         1 WAIT    entry.dbxml               page         11
800000f2 dd=377 locks held 0    write locks 0    pid/thread 1704/6928  
800000f2 WRITE         1 WAIT    entry.dbxml               page         11
800000f4 dd=398 locks held 0    write locks 0    pid/thread 1704/6900  
800000f4 WRITE         1 WAIT    entry.dbxml               page         11
800000f7 dd=374 locks held 0    write locks 0    pid/thread 1704/5468  
800000f7 WRITE         1 WAIT    entry.dbxml               page         11
800000f8 dd=348 locks held 0    write locks 0    pid/thread 1704/7808  
800000f8 WRITE         1 WAIT    entry.dbxml               page         11
800000f9 dd=378 locks held 0    write locks 0    pid/thread 1704/6352  
800000f9 WRITE         1 WAIT    entry.dbxml               page         11
800000fa dd=375 locks held 0    write locks 0    pid/thread 1704/7128  
800000fa WRITE         1 WAIT    entry.dbxml               page         11
800000fb dd=388 locks held 0    write locks 0    pid/thread 1704/5444  
800000fb WRITE         1 WAIT    entry.dbxml               page         11
800000fc dd=400 locks held 0    write locks 0    pid/thread 1704/5116  
800000fc WRITE         1 WAIT    entry.dbxml               page         11
800000fe dd=352 locks held 0    write locks 0    pid/thread 1704/6188  
800000fe WRITE         1 WAIT    entry.dbxml               page         11
80000100 dd=349 locks held 0    write locks 0    pid/thread 1704/4236  
80000100 READ          1 WAIT    entry.dbxml               page         11
80000101 dd=356 locks held 0    write locks 0    pid/thread 1704/4896  
80000101 WRITE         1 WAIT    entry.dbxml               page         11
80000102 dd=444 locks held 0    write locks 0    pid/thread 1704/6728  
80000102 WRITE         1 WAIT    entry.dbxml               page         11
80000103 dd=421 locks held 0    write locks 0    pid/thread 1704/4176  
80000103 READ          1 WAIT    entry.dbxml               page         11
80000104 dd=355 locks held 0    write locks 0    pid/thread 1704/5428  
80000104 WRITE         1 WAIT    entry.dbxml               page         11
80000105 dd=430 locks held 0    write locks 0    pid/thread 1704/5688  
80000105 READ          1 WAIT    entry.dbxml               page         11
80000108 dd=413 locks held 0    write locks 0    pid/thread 1704/6776  
80000108 READ          1 WAIT    entry.dbxml               page         11
8000010b dd=380 locks held 0    write locks 0    pid/thread 1704/7496  
8000010b READ          1 WAIT    entry.dbxml               page         11
8000010c dd=357 locks held 0    write locks 0    pid/thread 1704/7396  
8000010c WRITE         1 WAIT    entry.dbxml               page         11
80000119 dd=445 locks held 0    write locks 0    pid/thread 1704/1944  
80000119 WRITE         1 WAIT    entry.dbxml               page         11
8000011a dd=360 locks held 0    write locks 0    pid/thread 1704/7632  
8000011a WRITE         1 WAIT    entry.dbxml               page         11
8000011b dd=351 locks held 0    write locks 0    pid/thread 1704/3880  
8000011b WRITE         1 WAIT    entry.dbxml               page         11
8000011c dd=441 locks held 0    write locks 0    pid/thread 1704/5548  
8000011c WRITE         1 WAIT    entry.dbxml               page         11
8000011d dd=362 locks held 0    write locks 0    pid/thread 1704/6896  
8000011d WRITE         1 WAIT    entry.dbxml               page         11
8000011e dd=366 locks held 0    write locks 0    pid/thread 1704/7320  
8000011e WRITE         1 WAIT    entry.dbxml               page         11
8000011f dd=414 locks held 0    write locks 0    pid/thread 1704/6080  
8000011f WRITE         1 WAIT    entry.dbxml               page         11
80000120 dd=350 locks held 0    write locks 0    pid/thread 1704/6836  
80000120 WRITE         1 WAIT    entry.dbxml               page         11
80000121 dd=403 locks held 0    write locks 0    pid/thread 1704/7056  
80000121 READ          1 WAIT    entry.dbxml               page         11
80000122 dd=391 locks held 0    write locks 0    pid/thread 1704/5944  
80000122 WRITE         1 WAIT    entry.dbxml               page         11
80000125 dd=425 locks held 0    write locks 0    pid/thread 1704/7232  
80000125 WRITE         1 WAIT    entry.dbxml               page         11
80000126 dd=404 locks held 0    write locks 0    pid/thread 1704/6712  
80000126 WRITE         1 WAIT    entry.dbxml               page         11
80000127 dd=397 locks held 0    write locks 0    pid/thread 1704/7936  
80000127 WRITE         1 WAIT    entry.dbxml               page         11
80000129 dd=399 locks held 0    write locks 0    pid/thread 1704/7728  
80000129 WRITE         1 WAIT    entry.dbxml               page         11
8000012a dd=371 locks held 0    write locks 0    pid/thread 1704/6948  
8000012a READ          1 WAIT    entry.dbxml               page         11
8000012b dd=372 locks held 0    write locks 0    pid/thread 1704/6260  
8000012b WRITE         1 WAIT    entry.dbxml               page         11
8000012e dd=354 locks held 0    write locks 0    pid/thread 1704/6564  
8000012e WRITE         1 WAIT    entry.dbxml               page         11
80000131 dd=353 locks held 0    write locks 0    pid/thread 1704/7960  
80000131 WRITE         1 WAIT    entry.dbxml               page         11
80000132 dd=426 locks held 0    write locks 0    pid/thread 1704/7328  
80000132 READ          1 WAIT    entry.dbxml               page         11
80000134 dd=442 locks held 0    write locks 0    pid/thread 1704/4200  
80000134 WRITE         1 WAIT    entry.dbxml               page         11
80000135 dd=382 locks held 0    write locks 0    pid/thread 1704/7436  
80000135 WRITE         1 WAIT    entry.dbxml               page         11
80000136 dd=419 locks held 0    write locks 0    pid/thread 1704/4024  
80000136 WRITE         1 WAIT    entry.dbxml               page         11
80000137 dd=359 locks held 0    write locks 0    pid/thread 1704/6216  
80000137 WRITE         1 WAIT    entry.dbxml               page         11
8000013a dd=368 locks held 0    write locks 0    pid/thread 1704/7848  
8000013a WRITE         1 WAIT    entry.dbxml               page         11
8000013c dd=361 locks held 0    write locks 0    pid/thread 1704/6616  
8000013c READ          1 WAIT    entry.dbxml               page         11
8000013d dd=358 locks held 0    write locks 0    pid/thread 1704/7116  
8000013d WRITE

Similar Messages

  • Closing a serial port after executing a for loop of write and reads.

    Hello,
    Labview is opening and then closing each write to the port. I have tried to leave the close outside of the for loop, but labview wont allow it. What do I need to change to make all the writes and reads execute on 1 open and close of the serial port.?
    Thanks.
    Attachments:
    Controller.vi ‏27 KB

    J_es--
         The program that you posted looks to be ok for the most part, you might consider putting an open after your configure (but that's trivial). The other thing that is a minor issue is the loop tunnel coming out of your for loop is currently being auto-indexed.  This function is used to index data for each interation of the loop.  You are using a static address (not an array) and so you don't need this.  If you right-click and remove the auto-index the broken wire will go away. Other than that it should be ok.
         I would suggest looking at one of the shipping examples that come with LabVIEW.  "Basic Serial Read and Write" is essentially the same thing that you are doing and is tested here and might save you a bit of time.  Anyway, take a look if you have a second. Best of luck with your application!
    John H.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How can i write and read the same data

    hi,
             i have attached my program to this mail. i have some problems in this program.
    problems:
    1. I want to select the threshold for the rms,varience and s.d.
    But what i used is not doing that. i want to fix the upper threshold value and lower threshold value.
     when ever the input crosses upper threshold value i want the output and it will remains uptill the value above the lower threshold value.
    Once it come down the lower threshold value the output should be stopped.
    2. I want to write this in to a  file and i want to read this file. is this possible or not. 
                please try to help me i am very new with lab view6i
           REGARDS
    CHAMARTHY KOMAL DILEEP.
       [email protected]
    Attachments:
    dileep.vi ‏93 KB

    The easiest way to perform a certain action (such as file I/O) based on a certain condition (such as whether a value has passed a certain threshold) is to use a comparison VI in combination with a case structure. Then you can specify that if your rms, standard deviation and variance are above a threshold then perform a certain action.
    Also consider using shift registers to keep track of data from the last loop. If I understand you correctly, you want to start logging data when an upper threshold has been passed. Then you want to continue logging data until a lower threshold is passed. I have attached a non-functional but explanatory VI that will help explain how to implement logic to that effect. It also demonstrates that you can indeed write and read from the same file in a loop. The best way to do this is to open the file before the loop, do all the necessary writing and reading in the loop, and then close the file after the loop.
    Hope this helps!
    Jarrod S.
    National Instruments
    Attachments:
    dileep_example.vi ‏61 KB

  • NI 6602 Write and Read Frequency

    Hi all ,
    I Have NI 6602 timing card and i'm trying to use it in order to write and read using the
    DAQmxWriteCtrFreq (taskHandle1, 0, 1, 10.0, DAQmx_Val_GroupByChannel, &freq, &duty, &writtenVal, 0);
    and
    DAQmxReadCounterScalarF64(taskHandle2,10.0,&dataVal,0);
    what i'm trying to do is to write to ctt0 and to read from ctr7 ( they are crossed in the card )
    i'm having a bit problems with that can some one give me a tip on how to do it properly ?
    just write freq to ctr0 and read freq from ctr7.....
    Kobi Kalif
    Software Engineer
    Solved!
    Go to Solution.

    You should have the following sample installed on your PC that may help you in this task: DigPulseTrain-Cont.prj (it could be located in \program files\National Instruments\CVIx\samples\daqmx\counter\generate pulse folder)
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file

    Hi
    DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
    Two main
    sections:
    1)     
    Perform
    write and read operations to and fro different spread sheet files, such that
    each file have a single row of 32bits different binary data (analogous to 1D
    array) where the left most bit is the MSB. I don’t want to manually enter the
    32 bits binary data, I want the data written or read just by opening a file
    name saves with the intended data.
          2)     
    And
    by using test patterns implemented using the digital pattern generator or  build digital data functions or otherwise, I need to
    ensure that the     
                binary data written to a spreadsheet file or any supported file type
    then through the NI-USB 6509 is same as the data read.
    I’m aware I can’t use the simulated
    device to read data written to any port but if the write part of the vi works I
    ‘m sure the read part will work on the physical device which I’ll buy later.
    My Plan
    of action
    I’ve
    created a basic write/read file task and a write/read DAQ task for NI USB 6509
    and both combine in a while loop to form a progress VI which I’m confuse of how
    to proceed with the implementation.
    My
    greatest problem is to link both together with the correct functions or operators
    such that there are no syntax/execution errors and thus achieve my intended
    result.
    This
    project is one of my many assignments for my master thesis, so please i’ll
    appreciate every help as I’m not really efficient with LabVIEW programming but
    I prefer it because is fun and interesting if I get to know it.
    Currently I’m
    practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
    simulated device.
    Please see
    the attached file for my novice progress, thanks in
    advance for the support
    Rgds
    Paul
    Attachments:
    DIO_write_read DAQ from file.vi ‏17 KB

    What does your file look like?  The DAQmx write is expecting a single U32 value, not an array of I64. 
    Message Edited by vt92 on 09-16-2009 02:42 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • My daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    my daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    If you know that you will not be asked to design GUI interfaces, and the C programming course will adhere to command line compilation environments, then get the Xcode command-line developer tools, and skip the extra complication of Xcode until you absolutely need it. Apple has kicked GNU C to the curb and is rightly so, using Clang/LLVM compiler technology.
    Sign up for a free Apple Developer account using your Apple ID, and then visit the Mac Dev Center, and towards the bottom of the page, you will see additional downloads. Click on the associated, all down loads link. Know your OS X version beforehand, as the command-line tool releases are tied to general operating system versions, and the most recent Xcode version.  That said, there are currently two March 9, 2015 command-line tools for Xcode 6.2 — one for OS X 10.9 Mavericks, and the other for OS X Yosemite.

  • How to combine both DAQ AI signal, write and read file in single VI

    Hi
     I am the new user of LabVIEW version 7.1 for testing automation application. I have to measure 33 signals ( mostly analog like temp, pressure, etc...) from NI USB 6210 DAQ system and write in master file for future verfication.From real data or from master file back up have to write  one more file if only the signal reaches steady state , which will used for analysis and same signals to be read from this file parallely & make a waveform and/or table display format.
    Pl. help me to shortout this problem 
    note: I have plan to ugrade labVIEW version 2011 shortly, so let me know doing parrel acquistion write and read file for data analysis in same VI in version 7.1...... 

    Parallel operations in LabVIEW are very simple.  Just code it in parallel and it will work.
    Try taking a look at some of the examples in the NI Example Finder (Help > Find Examples).  There you will find example for writing to and reading from files, as well as data acquistion in parallel with other operations.
    You might need a producer/consumer architecture is you are acquiring data very quickly.
    Chris
    Certified LabVIEW Architect
    Certified TestStand Architect

  • Options for having cFP write and read file

    I have a cFP VI that runs on a cFP 2110 controller for doing process automation on a custom piece of equipment.  It seems that each month we use the same equipment for a slightly different automated process routine.  What I have done in the past is to make a copy of my VI's and real-time project and then make the changes in the code for the new process.  Most of the changes to the code between processes are just changes to numeric controllers to change ramp and slope times or the number of times the code repeats a set of steps.  I have been playing around with writing a sort of configurations page to my VI to allow the user to change some numeric controls, save them to a file using the Read Key.VI and Write Key.VI.  In the simple tests I have done, this works If I have a target VI on the cFP 2110 and a host VI where I can have the configurations page and save the file to my computer's hard drive. 
    The configurations file I would create would probably have 15-30 numeric controls and maybe some string commands.  I have a couple of questions about doing this.  Do I need to go back and create both Target and Host VI and communicate between the two using shared variables, or can I just keep my current VI and write a subVI that would save my files to the cFP controller?  If I save the files to the cFP controller, can user set the numeric controller and save the file and/or  likewise call-up any of say one of say 10 differnet files to populate the various sub-VI and run? 
    Finally, provided that I can write and read these small configuration numeric controller files to the controller, is there any advantage to writing the files to one method or the other: writing to the controller vs, creating a target and host VI to load the data?
    Thank you for the help. 
    Danny
    Attachments:
    Test read write key.vi ‏58 KB

    StepanieO,
    I finally had a change to play around with the cFP file write and read again.  I was able to write a the cFP and read the file back using write to spreadsheet and read from spreadsheet.  The one problem I can't seem to figure out is how you browse the cFP to select a file.  If I enter the file name and path into the string command it works.  But If I try to browse the cFP, the browse button only shows the computer hard drives.  Is there a way to browse the cFP controller for a specific file?
    Thank you for the help.
    Danny
    Danny
    Attachments:
    Write to spreadsheet.vi ‏18 KB

  • How to write and read Japanese on my Nokia E5

    I am trying to find out how I can write and read Japanese on my Nokia E5.
    I even don't knwo if it's possible...
    Does anyone have the answer???

    Hello ikokitakun,
    I believe you have to load a version of software on your phone that has the Japanese language pack in it because the version of software on the phone only has the languages for the region that you bought the phone in. for example if i bought my phone in NZ it would have English, Malaysian and maybe Philippino. There are "dodgey" places you can go to get the software changed but if you do this you void your warranty so be careful. Nokia doesn't condone the changing of regional software.
    Hope this helps
    -Cheers
    "Freedom is the only way, yeah!"

  • How to write and read data in a specific memory location ??

    Hi Everyone:
    Does anyone know how to write and read data in a specific memory location by using Java ?
    I need pointers, but I don't know how to do it ??
    Thanks for answering
    Rodger

    Hi Everyone:
    Does anyone know how to write and read data in a
    specific memory location by using Java ?
    I need pointers, but I don't know how to do it ??
    Thanks for answering
    RodgerWith Java you cannot write to a specific memory location. Java does not have pointers. If you really want to do it, you need to use JNI, i.e write the required functions in C (or other languages that support pointers) and make those functions available to Java (through JNI). This approach is not portable. You can have a look at http://java.sun.com/docs/books/tutorial/native1.1/index.html
    Regards.

  • How to write and read array on ObjectOutputStream............??

    Hello All...........,
    I have done some code for applet and servlet communication in which i writes "String " as an object and gets reply from servlet as a string as follows:
               // send data to the servlet
                            String input="hello there.....";
                   URLConnection con = getServletConnection();
                   OutputStream outstream = con.getOutputStream();
                   ObjectOutputStream oos = new ObjectOutputStream(outstream);
                   oos.writeObject(input);
                   oos.flush();
                   oos.close();
                   // receive result from servlet
                   InputStream instr = con.getInputStream();
                   ObjectInputStream inputFromServlet = new ObjectInputStream(instr);
                   String result =(String) inputFromServlet.readObject();
                             outputField.setText(result);
                           //outputField.setText("good morning");
                   inputFromServlet.close();
                   instr.close();This code is same at servlet end.
    But now i want to pass an int array.How to pass int[] as an object.
    It is giving me error if i pass int array as int array[]={1,2,3}; oos.writeObject(array); Why is it so?
    Can anybody tell me how to write and read int array[].
    Thanks.
    Shraddha.

    hello kaj,
    I am trying to write as follows
    while writting:
    int array[]={1,2,3,4,5};
    URLConnection con = getServletConnection();
    OutputStream outstream = con.getOutputStream();
    ObjectOutputStream oos = new ObjectOutputStream(outstream);
    oos.writeObject(array);
    oos.flush();
    oos.close();
    while reading:
    InputStream instr = con.getInputStream();
    ObjectInputStream inputFromServlet = new ObjectInputStream(instr);
    int result[] =(int []) inputFromServlet.readObject();
    Thanks,
    Really imp for me.

  • I want to write and read a hex file from the flash buffer of the microcontroller through the USB serial port

    hello sir,
    I am developing a GUI screen from that i want to write and read a hex file from the flash buffer of the microcontroller through the USB serial port. the driver i am using is FTDID2XX driver.if anyone having examples of loading file through serial port.Please reply me .
    Thanks

    Looks like you should post your request in the LabVIEW forum, this one here preferentially is for LabWindows/CVI...

  • Could we write and read from a external drive using a IPad?

    √could we write and read from a external drive using a IPad?

    No, the iPad doesn't work that way. The only thing you can access is camera cards (with the adaptor).
    Matt

  • Interruptions when I use "Write" and "Read" in the same vi.

    When I use "Port Write" and "Port Read" together in the same vi and I set the output to be high level, the signal becomes oscillatory. I have read one anterior message about similar problem (using "Write to Digital Line" and "Read from Digital Line" instead of "Port Write" and "Port Read") and I proceeded as the solution suggested in the answer. However, it didn´t work.
    Attached, I am sending the vi I used to test the solution.
    How can I fix this problem?
    Attachments:
    IO.vi ‏35 KB

    Hi Spencer!
    The device I am using is a PCI6024-E board. I have contacted the NI Suport and now I see what I was doing wrong: in fact, I was calling a DIO Port Config.vi for each of the ports ("Port Read" and "Port "Write"), but it was done inside of a While loop (usually, most of the applications here in the lab are recursive, so it´s common for us to use big while loops for the whole program). Putting them outside (as you said, at the beginning of the program), it worked! Actually, I can´t see any reason for the program to work when the calling is outside the loop, but the important is that now it´s running properly.
    Thanks a lot, Spencer!

  • Should I use DB_INIT_CDB while open DB_ENV(multiple writer and reader)?

    My version is db-4.7.25.NC
    I want to use BDB as backend for BBS, so multiple writer and multiple reader are not avoidable.
    My question is what flags I should select while open DB_ENV and DB, DB_THREAD or else?
    DB_INIT_CDB can support only writer thread, I wonder it could meet my requirement?
    Any suggestion, welcom!
    Edited by: user11335524 on Jun 30, 2009 11:37 PM

    The <tt>DB_INIT_CDB</tt> flag only permits one writer <i>at a time</i>. Berkeley DB uses locking internally to enforce this constraint, so if two application threads try to update at the same time, one of them will wait for the other. The <tt>DB_THREAD</tt> flag is required if multiple threads will share the same <tt>DB_ENV</tt> or <tt>DB</tt> handle.
    Regards,
    Michael Cahill, Oracle Berkeley DB.

Maybe you are looking for

  • How to move selected values in a table in one view to another

    Dear Experts, In my application,I have a table populated with data.My requirement is to select a row in the table and move the selected values of the row to the next view. Can anybody tell how to do this?? Regards, Mamai.

  • Page is not rendering as per requirement request

    Hi All, Basically Here is the scenario. Based on selectoin of particular service item from combo box(dropdown list), We are creating the JSF controls dynamically on new page for further process. We are maintaining the controls information in database

  • Trigger based approach to capture changes in OLTP DB

    I have this scenario where we need to capture changes (updates/deletes) to transaction tables in our OLTP database. The changes will be populated to temp tables and then moved to Hadoop for analysis. The OLTP table record huge volume of data on a dai

  • Mon ipad ne veux pas faire de mise à jour 6.0

    bonjour je vien d'acheter un ipad d'ocasion est le soucie il ne veu pas se mettre à jour quand je veux télécharger des application il me dit que ma verssion n'est pas compatible devrait t'i etres en 6.0 au lieu de 5.1.1 version 5.1.1 (9B206) modele :

  • Acrobat Pro opens all my PDFs when starting the program

    When I try to open Acrobat Pro to read a document, it instantly opens up every PDF on my computer until I force-quit it. I've tried trashing the Adobe Acrobat preferences and rebooting, but the problem persists. I'm using a Macintosh with OS 10.5.7.