Troubleshooting
Problem
Some users have not been able to launch a Java program in debug mode using IBM Rational Application Developer for WebSphere Software v7.0.0.x (which uses Eclipse 3.2.x), when the installed JRE preference is specified as:
Symptom
Attempts to Launch a Java program in debug mode in a Java project (see Related information item) the following message appears:
Could not rerun test
Cannot connect to VM
Reason:
Cannot connect to VM
OK / << Details
socket closed

and you get this console output:
JVMJ9TI002E Agent_OnLoad not found in library jdwp
JVMJ9VM015W Initialization error for library j9jvmti23(-3): JVMJ9VM009E J9VMDllMain failed
Could not create the Java virtual machine.
Here is the corresponding <workspace_dir>/.metadata/ .log file excerpt:
//==== start excerpt
...
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32
j9vmwi3223ifx-20070323 (JIT enabled)
J9VM - 20070322_12058_lHdSMR
JIT - 20070109_1805ifx3_r8
GC - WASIFIX_2007
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.ibm.rational.rsa.product.ide
Command-line arguments: -os win32 -ws win32 -arch x86 -product
com.ibm.rational.rsa.product.ide
!ENTRY org.eclipse.debug.ui 4 100 2007-09-19 15:10:20.977
!MESSAGE Launch configuration tab group extension null refers to
non-existent launch configuration type
com.ibm.etools.websphere.tools.v5.launchConfigurationType
!ENTRY org.eclipse.jdt.launching 4 120 2007-09-19 15:10:56.677
!MESSAGE Cannot connect to VM
!STACK 0
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
...
//=== end excerpt
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
19 August 2022
UID
swg21273330