Usage of "-javaagent" with the IBM JVM (J9) causes an assertion failure

Technote (troubleshooting)


When running with debug with IBM Rational Application Developer's JRE a "Fatal error: processing of -javaagent failed" error occurs.


The following is the error in full:

Fatal error: processing of -javaagent failed                            
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with
message find constructor on InstrumentationImpl failed at              
d:\jclwi32devifx-userlvl\src\instrument\sov\JPLISAgent.c line: 591      
*** java.lang.instrument ASSERTION FAILED ***: "result" at              
d:\jclwi32devifx-userlvl\src\instrument\sov\JPLISAgent.c line: 467


The java.exe requires other supporting DLLs to execute. The
executable works fine as it has many other DLLs in the same directory, which facilitates the successful VM creation.

The <sdk>\bin\java fails at times due to the lack of supporting DLLs (which are present only in the jre\bin\dir)

It should only use the java.exe from <sdk>\jre\bin itself to avoid this issue.

Diagnosing the problem

This error happens when you are using <sdk_home>/bin/java to launch

Resolving the problem

As a workaround, copy all the files from <sdk>\jre\bin to <sdk>\bin, before using the application.

This ensures all the DLLs are in <sdk>\bin as well.

Cross Reference information
Segment Product Component Platform Version Edition
Software Development Rational Software Architect for WebSphere Software Java Development Windows 7.5.2, 7.5.3, 7.5.4, 7.5.5

Document information

More support for:

Rational Application Developer for WebSphere Software
Java Development

Software version:

7.5.2, 7.5.3, 7.5.4, 7.5.5

Operating system(s):


Reference #:


Modified date:


Translate my page

Content navigation