ClearQuest java api in websphere application



我正在开发一个通过Java API访问clearquest数据库的Web应用程序。它在雄猫下工作正常。现在,我必须将该应用程序转换为 WebSphere Application Server 8.5.5。在第一次调用 Clearquest 时,应用程序和 JVM 终止:

Unhandled exception
Type=Segmentation error vmState=0x00040000
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=6EA6754A ContextFlags=0001007f
Handler1=6EA4F860 Handler2=7294EF00 InaccessibleAddress=00000000
EDI=4FE0FBC8 ESI=4FE0FAF4 EAX=00000000 EBX=4E9C9B00
ECX=00000020 EDX=00000000
EIP=6EA6754A ESP=4FE0F9A8 EBP=4FE0FA38 EFLAGS=00010246
GS=002B FS=0053 ES=002B DS=002B
Module=C:Program Files (x86)IBMWebSphereAppServerjavajrebindefaultj9vm26.dll
Module_base_address=6EA40000 Offset_in_DLL=0002754a
Target=2_60_20130301_140166 (Windows 7 6.1 build 7601 Service Pack 1)
CPU=x86 (2 logical CPUs) (0x142f99000 RAM)
----------- Stack Backtrace -----------
_getStringChars@12+0x5a (jnisup.asm:4798, 0x6EA6754A [j9vm26+0x2754a])
(0x5D351260 [cqjniproxy+0x1260])
(0x5D35111C [cqjniproxy+0x111c])
(0x5D3510AC [cqjniproxy+0x10ac])
_Java_com_rational_clearquest_cqjni_CQSession_UserLogon@24+0xcf (0x5D38DF5F [cqjniproxy+0x3df5f])
_Java_com_rational_clearquest_cqjni_CQSession_UserLogon@24+0x21 (0x71A85831 [cqjniwinproxy+0x5831])
VMprJavaSendNative+0x475 (jnisend.asm:474, 0x6EA64555 [j9vm26+0x24555])
JVM_InvokeMethod+0x54 (sunvmi.c:246, 0x619F9694 [jclscar_26+0x49694])
Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x19 (sunreflect.c:26, 0x619ED039 [jclscar_26+0x3d039])
J9HookDispatch+0x88 (hookable.c:176, 0x733F10B8 [J9HOOKABLE26+0x10b8])
j9sig_protect+0x44 (j9signal.c:150, 0x7294F0E4 [J9PRT26+0xf0e4])
(0x002EFDA0)
j9portLibrary+0x0 (0x72991AD0 [jvm+0x21ad0])
J9VMInterfaceFunctions+0x0 (0x6EAB2A90 [j9vm26+0x72a90])
(0x002EFDA0)
(0x002EEFC8)

如何在WAS中定义Clearquest API库,以及如何确保访问Java API使用的Clearquest DLL?

谢谢!贝特霍尔德

与此同时,我发现ClearQuest不支持Java 64位。它总是需要一个32位的Java!因此,我们将 ClearQuest 访问函数移动到一个独立的 Java 应用程序中,该应用程序通过 RMI 连接到 WAS 应用程序。

相关内容

  • 没有找到相关文章

最新更新