Troubleshooting of DEBUG errors in IBM ration function tester

Source: Internet
Author: User
  • Problem description

In rft 7.0, When you click the debug button, the rft console reports an error. The error message is as follows:

Jvmj9ti002e agent_onload not found in library jdwp
Jvmj9vm015w initialization error for library j9jvmti23 (-3): jvmj9vm009e j9vmdllmain failed
A Java virtual machine cannot be created.

Then, the rft prompts that an information prompt box cannot be displayed. It is suggested that the Java build path be restored and the VM cannot be connected.

  • Problem Solving

After multiple searches, I finally found a solution in the IBM community. The root cause of the problem is the JDK conflict. On my machine, the JDK of Oracle conflicts with the JDK of rft. The solution is as follows:

Go to the C:/program files/Oracle/JRE/1.3.1/bin/directory, which contains a jdwp. dll file, and delete or rename the file. After the modification is completed, go to rft again, and the debug function can be used normally.

Note that C:/program files/Oracle/JRE/1.3.1/bin/is not the installation directory of Oracle. For example, the installation directory of Oracle on my local machine is D, so what we need to modify is not the file on the d disk, but the Oracle directory under the Windows XP system program files. Remember.

  • Others

First, modifying jdwp. dll will not affect the use of oracle. The network is related to jdwp. not many DLL files are introduced. I just know that jdwp defines the communication protocol between the JVM and the debugging client. Here we will judge the jdwp of oracle. DLL files are also related to the debug function.

IBM rft uses its own JDK. I checked the JDK version and found it was 1.5. However, the jar packages and Class Libraries under this JDK are completely different from those of Sun's JDK. After I replace JDK in myeclipse with JDK of rft, you can also edit the rft script in myeclipse and call related methods, but you cannot run the rft script in myeclipse.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.