IBM Support

Cannot Launch a Java program in debug mode if the specified installed JRE is .../SDP70/jdk

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: \SDP70\jdk (the default in v7.0) . The Java application launcher never starts the run/debug of the Java program.

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

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8;7.5;7.5.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Eclipse","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
19 August 2022

UID

swg21273330