Error in Java Program, when it accesses DB2 UDB 7.2 from DB2 UDB 5.2 Client

Error in Java Program, when it accesses DB2 UDB 7.2 from DB2 UDB 5.2 Client

Post by Jamshaid Ran » Thu, 12 Sep 2002 02:53:04



I am receiving following errors when my JAVA program running on DB2 UDB
5.2 client on Win 2k is trying to access DB2 UDB 7.2 server on Linux Red
Hat. Any Help will be appreciated. Thanks!

ERROR:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x92017d2
Function name=SQLGetDiagField
Library=C:\WINNT\system32\DB2CLI.dll

Current Java thread:
        at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.SQLStatementError(Native
Method)
        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.getSQLStatementError(SQLExceptionGenerator.java:515)
        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.addWarning(SQLExceptionGenerator.java:268)
        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(SQLExceptionGenerator.java:364)
        at
COM.ibm.db2.jdbc.app.DB2PreparedStatement.<init>(DB2PreparedStatement.java:278)
        at
COM.ibm.db2.jdbc.app.DB2Connection.prepareStatement(DB2Connection.java:363)
        at
com.aspentech.ibg.auto.sffgen.AutoSFFGenRepository.executeSQL(AutoSFFGenRepository.java:29)
        at
com.aspentech.ibg.auto.sffgen.AutoSFFGen.deleteTempTable(AutoSFFGen.java:655)
        at com.aspentech.ibg.auto.sffgen.AutoSFFGen.runSFF(AutoSFFGen.java:134)
        at com.aspentech.ibg.auto.sffgen.AutoSFFGen.main(AutoSFFGen.java:171)

Dynamic libraries:
0x00400000 - 0x00405000         C:\WINNT\system32\java.exe
0x77F80000 - 0x77FFA000         C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0A000         C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000         C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DB0000         C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000         C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4EE000         C:\Program
Files\JavaSoft\JRE\1.3.1\bin\hotspot\jvm.dll
0x77E10000 - 0x77E74000         C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000         C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000         C:\WINNT\system32\WINMM.dll
0x6D220000 - 0x6D227000         C:\Program Files\JavaSoft\JRE\1.3.1\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000         C:\Program
Files\JavaSoft\JRE\1.3.1\bin\verify.dll
0x6D250000 - 0x6D266000         C:\Program
Files\JavaSoft\JRE\1.3.1\bin\java.dll
0x6D3C0000 - 0x6D3CD000         C:\Program Files\JavaSoft\JRE\1.3.1\bin\zip.dll
0x6D340000 - 0x6D348000         C:\Program Files\JavaSoft\JRE\1.3.1\bin\net.dll
0x75050000 - 0x75058000         C:\WINNT\system32\WSOCK32.dll
0x75030000 - 0x75044000         C:\WINNT\system32\WS2_32.DLL
0x75020000 - 0x75028000         C:\WINNT\system32\WS2HELP.DLL
0x78280000 - 0x7828C000         C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000         C:\WINNT\system32\DNSAPI.DLL
0x777E0000 - 0x777E8000         C:\WINNT\System32\winrnr.dll
0x77950000 - 0x77979000         C:\WINNT\system32\WLDAP32.DLL
0x777F0000 - 0x777F5000         C:\WINNT\system32\rasadhlp.dll
0x77830000 - 0x7783E000         C:\WINNT\system32\RTUTILS.DLL
0x74FD0000 - 0x74FED000         C:\WINNT\system32\msafd.dll
0x77340000 - 0x77353000         C:\WINNT\system32\IPHLPAPI.DLL
0x77520000 - 0x77525000         C:\WINNT\system32\ICMP.DLL
0x77320000 - 0x77337000         C:\WINNT\system32\MPRAPI.DLL
0x75150000 - 0x7515F000         C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000         C:\WINNT\system32\NETAPI32.DLL
0x77BE0000 - 0x77BEF000         C:\WINNT\system32\SECUR32.DLL
0x751C0000 - 0x751C6000         C:\WINNT\system32\NETRAP.DLL
0x77A50000 - 0x77B45000         C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A45000         C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DE000         C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A2000         C:\WINNT\system32\ADSLDPC.DLL
0x77880000 - 0x7790D000         C:\WINNT\system32\SETUPAPI.DLL
0x77C10000 - 0x77C6D000         C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77512000         C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000         C:\WINNT\system32\RASMAN.DLL
0x77530000 - 0x77552000         C:\WINNT\system32\TAPI32.DLL
0x71700000 - 0x7178A000         C:\WINNT\system32\COMCTL32.DLL
0x70BD0000 - 0x70C1C000         C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000         C:\WINNT\system32\DHCPCSVC.DLL
0x691D0000 - 0x69255000         C:\WINNT\system32\CLBCATQ.DLL
0x75010000 - 0x75017000         C:\WINNT\System32\wshtcpip.dll
0x10000000 - 0x1000E000         C:\SQLLIB\bin\db2jdbc.dll
0x091D0000 - 0x092D6000         C:\WINNT\system32\DB2CLI.dll
0x092E0000 - 0x09452000         C:\SQLLIB\BIN\DB2SYS.dll
0x09460000 - 0x0946B000         C:\SQLLIB\BIN\DB2WINT.dll
0x09470000 - 0x0947D000         C:\SQLLIB\BIN\DB2SYSP.dll
0x09480000 - 0x0957E000         C:\SQLLIB\BIN\DB2APP.dll
0x09580000 - 0x0959D000         C:\SQLLIB\BIN\DB2ABIND.dll
0x095A0000 - 0x095AC000         C:\SQLLIB\BIN\DB2CAPRO.dll
0x77820000 - 0x77827000         C:\WINNT\system32\VERSION.dll
0x759B0000 - 0x759B6000         C:\WINNT\system32\LZ32.DLL
0x095B0000 - 0x09659000         C:\SQLLIB\BIN\DB2APREP.dll
0x73930000 - 0x73940000         C:\WINNT\system32\CLUSAPI.DLL
0x09B10000 - 0x09B1B000         C:\SQLLIB\bin\db2tcp.DLL
0x77920000 - 0x77942000         C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000         C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000         C:\WINNT\system32\PSAPI.DLL

Local Time = Tue Sep 10 08:37:45 2002
Elapsed Time = 23
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_01 mixed mode)
#

 
 
 

Error in Java Program, when it accesses DB2 UDB 7.2 from DB2 UDB 5.2 Client

Post by Atif Fari » Sat, 12 Oct 2002 06:47:50


I am experiencing the same error. Have you found the cause of or fixed
this problem? I'd like very much to learn what you did about it.
Thanks.

Atif