When attempting to connect to a Applet from within JBuilder using Optimzieit 2006, the browser crashes.

Abstract: When attempting to connect to a Applet from within JBuilder using Optimzieit 2006, the browser crashes.

  • Product Name: JBuilder/Optimizeit
  • Product Version: 2006
  • Product Component: Applet
  • Platform/OS: Windows/Internet Explorer.


Description

When attempting to use Optimizeit with an Applet from within JBuilder, the browser 'crashes'.� Meaning it is not possible to use Optimizeit with an Applet.


Answer/Solution

The following configuration steps should help to resolve this issue.

NB: refers to thte Optimizeit Installation Directory within JBuilder (eg C:\Borland\JBuilder2006\OptimizeitEntSuite2006)

  • Open the Java plugin control panel.
  • In the "Java" tab, goto the "Java Applet Runtime Settings" section.
  • Click the "View" button
  • Enter the following into the "Java Runtime Parameters" field:

-Xrunoii:\config\Optimizeit.xml -Xbootclasspath/p:\lib\optit.jar;\lib\oibcp.jar -DGCOPSIZE=5 -hotspot���������������������

  • Apply changes, save and close this control panel
  • Verify that the global settings for the PATH environment variable includes \lib at the front/beginning of the path.
  • Launch \bin\OISelector
  • Select the desired tool from the taskbar (eg Profiler, Code Coverage, Thread Debugger, Request Analyzer)
  • Close all IE Windows - this ensures that the new java settings are recognized.
  • Launch the Applet: the applet launches with the optimizeit audit system corresponding to the selected profiling tool
  • Connect to the Audit System from within JBuilder to see the profiling results.