Menu

error while collating records

Help
2009-05-04
2013-05-13
  • rajani  pandala

    rajani pandala - 2009-05-04

    Hi team members,
    I have some issues in jensor.I am using tomcat server.Please have a look at  
    the below steps and tell me if i go wrong in any of the 
    step.
    1.Launched java2D demo
    2.launched JVM
    4.In JVM created a project by name may4.
    5.Go to mode-->instrument-->folder-->select class files
    from the workspace.(example:Instrumented class
    com.quadramed.topaz.correspondence.common.web.ChangeMonitorA
    ction)
    6.collected instrumented files from C:\Program
    Files\Jensor\projects\may4\instrumented\web
    7.created a jar for that class files and placed in
    application classpath in workspace webapps.
    8.placed jensor jar in application classpath in workspace
    webinf lib.
    9.Then build Tomcat server.
    10.navigate to collate records in JVM :mode-->collate
    records;
    ipaddress:localhost
    port:21999
    On click on ok i am getting message like "output not
    related to this project".
    and when i click on any of the summaryreport,calltrace,etc
    i am getting popup like "data unavailable".

    Jensoroutput log:

    Finding Platform info ...
    Current platform is Windows XP
    JC-006: JENSOR_HOME : C:\Program Files\Jensor
    ***** Project is not selected.
    Enter Pressed
    Signal for Collection of Data sent
    Directory : C:\Program Files\Jensor\projects\may4
    \instrumented\web
    Path : web
    LENGTH : 7
    Directory : C:\Program Files\Jensor\projects\may4
    \instrumented\web
    Path : web
    Instrumented class
    com.quadramed.topaz.correspondence.common.web.ChangeMonitorA
    ction
    Instrumented class
    com.quadramed.topaz.correspondence.common.web.WebUtil
    Instrumented class
    com.quadramed.topaz.correspondence.common.web.ROIAction
    Instrumented class
    com.quadramed.topaz.correspondence.common.web.ChangeMonitorL
    istAction
    Instrumented class
    com.quadramed.topaz.correspondence.common.web.WebKeys
    Instrumented class
    com.quadramed.topaz.correspondence.common.web.ROISessionBind
    er
    Instrumented class
    com.quadramed.topaz.correspondence.common.web.ROIListAction
    Number of Classes : 7
    Time taken : 0
    Processing further......
    Time taken for further Processing: 0
    Socket is connected : true
    String sent : colloc,Administrator,perf123

    Local machine no need for transfer.
    PROJECT HOME : C:\Program Files\Jensor\projects\may4
    Reader/Writer for file C:\Program
    Files\Jensor\output\JensorProfile.txt closed.
    The key value is  - 1241434151391
    Reader/Writer for file C:\Program
    Files\Jensor\output\memusage.csv closed.
    JensorProfile.txt was not written to....
    Memusage.csv was not written to....
    Session : null
    Session : null
    Socket is connected : true
    String sent : colloc,Administrator,perf123

    I will be thankfuil to you if you can provide me with any
    of the solution,,actually i saw your conversation where you
    have said like you have run the jensor application using
    tomcat server.soo i expected that You might have known any
    of the solution..
    awaiting for the reply,

    thanks and regards,
    Rajini

     
    • Amol Khanapurkar

      Rajini,

      The Collation has to be associated with a project. From the logs it looks like you are trying to collate without opening a project.

      Just do as follows

      1) Once your application (com.quadramed. ..) is running in Tomcat with code instrumented with may4 project, luanch JAW
      2) Open Project may4 by going to File -> Open -> Select may4 from dropdown.
      3) Only once you are associated with a project can you collate.
      4) Now, go to Mode -> Collate
      5) You should get your data for analysis.

      -Amol

       

Log in to post a comment.