vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All: I am running DB2 UDB V7.2 with FP 7 on Windows 2000. I have created a very simple, trivial, UDF with a trigger. When the trigger is activated via an update, I get the following error: An error occurred in a triggered SQL statement in trigger "VAP.TESTUDF". Information returned for the error includes SQLCODE "-4301", SQLSTATE "58004" and message tokens "-4301". SQLSTATE=09000 I have set db2 update dbm cfg using JDK11_PATH c:\progra~1\sqllib\java\java12\jdk db2 update dbm cfg using JAVA_HEAP_SZ 4096 db2set DB2_USE_JDK12=1 db2stop db2start The first error that appears in my db2diag.log (diaglevel=4) is the following: Java interpreter is running. Data Title:SQLCA PID:1596 TID:2260 Node:000 sqlcaid : SQLCA sqlcabc: 136 sqlcode: -487 sqlerrml: 0 sqlerrmc: sqlerrp : SQLERIAR sqlerrd : (1) 0x00000000 (2) 0x00000000 (3) 0x00000000 (4) 0x00000000 (5) 0x00000000 (6) 0x00000000 sqlwarn : (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) sqlstate: Data Title 5351 4c44 4232 5241 2c00 0000 0501 0100 SQLDB2RA,....... 0e00 0200 8800 0000 0900 0080 fcfd 8201 ....ˆ... ..€üý‚. 1400 0000 0400 0080 1eff 8201 .......€.ÿ‚. 2004-02-10-14.35.52.654000 Instance PID:1596(db2syscs.exe) TID:2260 Appid:*LOCAL.DB2.040210193436 BSU Java support sqlejAttach Probe:50 Database:MEH Failed in JNI RegisterNatives. Index: 2000 0000 ... Can anyone tell what the heck Failed in JNI RegisterNatives means and how to get around it. Thanks in advance. Marv Libson |