Disable Dynamic Transformation support

Save the dynamically transformed classes

  1. Specify the folder in which to save the dynamically transformed classes that will be generated during the preliminary launching of your Oracle application.

    To do this:

    1. Open the registry editor (select Start > Run, type regedit in the Open box and click OK)

    2. Navigate to the JavaAgent main key, located in: HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\JavaAgent.

    3. Define a new string value named ClassesDumpFolder, and set its value data to an existing folder (preferably empty) on your computer, for example, C:\JavaSupportClasses.

    4. If the ClassesDumpFolder string value already exists, you can modify its value data to an existing folder on your computer.

  2. If you are using the -Xincgc option, temporarily remove it from the command line to enable the JVM hook profiler to transform and save the necessary classes. You can add it back to the command line after performing the following step.

  3. Launch your applet or application and perform some basic operations on it. This ensures that all of the necessary classes are transformed and saved. Close your application. All of the dynamically transformed classes are now saved in the folder you specified in the previous step (for example, C:\JavaSupportClasses).

Back to top

Disable dynamic transformation support

For Sun Plug-in 1.4.1 or JInitiator 1.3.1.x:

Add the following option instead: -Xbootclasspath/p:<ClassesDumpFolder>\Final, where <ClassesDumpFolder> is the value of the folder in which the dynamically transformed classes were saved, such as C:\JavaSupportClasses, appended by the Final subfolder. For example, after your modification the _JAVA_OPTIONS environment variable might look like this:

-Xbootclasspath/p:C:\JavaSupportClasses\Final -Xbootclasspath/a:"%ProgramFiles%\HPE Software\Unified Functional Testing\bin\java_shared\classes";

For Initiator 1.1.x:

  1. Remove the _classload_hook option from the JDK settings by deleting the environment variable.

  2. Manually copy the classes from the <ClassesDumpFolder>, where <ClassesDumpFolder> is the value of the folder in which the dynamically transformed classes were saved, such as C:\JavaSupportClasses, appended by the Final subfolder, to the JInitiator 1.1.x classes folder. You can find the JInitiator 1.1.x classes folder under %ProgramFiles%\Oracle\JInitiator 1.1.x\classes.

Back to top