Hello Lewis:
Thanks for the info.
Our setups are different, but not that much.
Your example works for me with the PVs hosted on a VME IOC and the
following Linux workstation setup:
* Dual Intel Xeon 2.8 GHz w/ hyper-threading enabled
* Red Hat Enterprise Linux WS release 3 (Taroon Update 9)
* EPICS 3.14.8.2
* JCA 2.3.1
* Sun's jdk1.5.0_12
What is your setup?
What happens if you change JNI_THREAD_SAFE to JNI_SINGLE_THREADED?
No errors with JNI_SINGLE_THREADED, but the example is a cooked-down
version of a bigger application that should really be JNI_THREAD_SAFE,
uses async. connection handling etc.
Same EPICS base and JCA as you.
JDK 1.5.0_9 or 1.5.0_13
Data source is soft IOC on either the same or different host.
Test host either RedHat Enterprise Linux Client release 5.1 with
kernel 2.6.18-53.el5 and g++ (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14),
or the older Red Hat Enterprise Linux AS release 4 (Nahant Update 4) with
kernel 2.6.9-42.EL and g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3).
Both are single-core CPUs.
One is an Intel Xeon 2.8 GHz and /proc/cpuinfo shows the 'ht' flag,
but I guess hyperthreading is not enabled, because I see a single CPU.
-Kay