Menu

how to capture Object Instantiation data

Help
2008-11-28
2013-05-13
  • Vikas Verma

    Vikas Verma - 2008-11-28

    Hi Amol,

    I am using Jensor v1.7 on weblogic 9.2 to profil my java application. On server startup, I am getting the following jensor log:

    Executing Shell Command
    >>> START_AT_APPLICATION_BOOT=true
    >>> CAPTURE_OBJECT_INSTANTIATION=false
    >>> Currently not capturing Object Instantiations data
    JC-000: Jensor v1.7 is being used
    JC-001: Java Profiler: starting
    JC-002: Available Processors 4
    JC-003: Initialized with memory 2048MB
    JC-004: Current free memory 1641MB
    JC-005: Current working Directory /tpms/bea_data/user_projects/domains/9011_domain
    JC-006: JENSOR_HOME : /tpms/bea_data/jensor/Jensor
    JC-008: *** No class filters applied. Profiler will profile all application classes ***
    JC-009: JensorServer listening at port 21999

    How can I make "CAPTURE_OBJECT_INSTANTIATION=true" i.e How can I capture Object Instantiation data using Jensor.
    I checked in Jensor.properties file, this tag is set to TRUE.

    Regards,
    Vikas

     
    • Suresh Malan

      Suresh Malan - 2008-12-01

      Hi Vikas,

      You can change the property "CAPTURE_OBJECT_INSTANTIATION=true" in the file named "Jensor.properties". This file exists in the $JENSOR_HOME/config directory. This should help you capture the Object Instantiation data.

      Regards,
      Suresh.

       
    • Suresh Malan

      Suresh Malan - 2008-12-02

      Hi Vikas,

          The change has to be made on the Application Server. Basically change the property "CAPTURE_OBJECT_INSTANTIATION=true" in the "Jensor.properties" file, in the config directory of Jensor on your Application Server.

      Regards,
      Suresh.

       

Log in to post a comment.