Even though i have enabled the properties for collecting Object Instantiation and System Utilization metrics to true in jensor properties file .After offline collation Jensor displays a message data for these reports not collected when these reports were accessed.
Please help in resolving the same
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I understand that the application is running on a different machine than the one where you are performing the Offline Collation.
I would like to know, as to which **Jensor.properties** file have you changed. Clarifying further, is it on the machine where the application is running, or on the machine where you are performing the Offline Collation.
Regards,
Suresh.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
C:\Jensor\bin>java -Xms256M -Xmx512M -cp .;"C:\Jensor\lib\jensorjdk14-v111-win32
.jar";"C:\Jensor\lib\jcommon-1.0.13.jar";"C:\Jensor\lib\jfreechart-1.0.10.jar";"
C:\Jensor\lib\glazedlists-1.7.0_java14.jar" com.tcs.perc.jensor.UI.JensorProject
UI
Finding Platform info …
Current platform is Windows XP
JC-006: JENSOR_HOME : C:\Jensor\
Project is not selected.
Enter Pressed
Entry : CntFuncHash.txt | size : 289460
java.io.FileNotFoundException: C:\Jensor\projects\cmpsdemo\bin\temp\CntFuncHash.
txt (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.tcs.perc.jensor.common.UncompressFiles.uncompressToLocation(Uncom
pressFiles.java:171)
at com.tcs.perc.jensor.common.TimeStampSelection.selectTimeStamp(TimeSta
mpSelection.java:130)
at com.tcs.perc.jensor.UI.modeObjectInst.itemStateChanged(modeObjectInst
.java:80)
at javax.swing.AbstractButton.fireItemStateChanged(Unknown Source)
at javax.swing.AbstractButton$Handler.itemStateChanged(Unknown Source)
at javax.swing.DefaultButtonModel.fireItemStateChanged(Unknown Source)
at javax.swing.JToggleButton$ToggleButtonModel.setSelected(Unknown Sourc
e)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source
)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Session : 1252913573636 - 1252921132319
Regards
Sreejith
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Even though i have enabled the properties for collecting Object Instantiation and System Utilization metrics to true in jensor properties file .After offline collation Jensor displays a message data for these reports not collected when these reports were accessed.
Please help in resolving the same
Hi Sreejith,
I understand that the application is running on a different machine than the one where you are performing the Offline Collation.
I would like to know, as to which **Jensor.properties** file have you changed. Clarifying further, is it on the machine where the application is running, or on the machine where you are performing the Offline Collation.
Regards,
Suresh.
I have changed the Jensor properties file in the machine where my instrumented code was running
Hi Sreejith,
Can you send the logs wherein the System.out.printlns from you Appln are appended.
Need to look into the matter.
Regards,
Suresh.
Hi Suresh,
Please find the logs from my console
C:\Jensor\bin>java -Xms256M -Xmx512M -cp .;"C:\Jensor\lib\jensorjdk14-v111-win32
.jar";"C:\Jensor\lib\jcommon-1.0.13.jar";"C:\Jensor\lib\jfreechart-1.0.10.jar";"
C:\Jensor\lib\glazedlists-1.7.0_java14.jar" com.tcs.perc.jensor.UI.JensorProject
UI
Finding Platform info …
Current platform is Windows XP
JC-006: JENSOR_HOME : C:\Jensor\
Project is not selected.
Enter Pressed
Entry : CntFuncHash.txt | size : 289460
java.io.FileNotFoundException: C:\Jensor\projects\cmpsdemo\bin\temp\CntFuncHash.
txt (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.tcs.perc.jensor.common.UncompressFiles.uncompressToLocation(Uncom
pressFiles.java:171)
at com.tcs.perc.jensor.common.TimeStampSelection.selectTimeStamp(TimeSta
mpSelection.java:130)
at com.tcs.perc.jensor.UI.modeObjectInst.itemStateChanged(modeObjectInst
.java:80)
at javax.swing.AbstractButton.fireItemStateChanged(Unknown Source)
at javax.swing.AbstractButton$Handler.itemStateChanged(Unknown Source)
at javax.swing.DefaultButtonModel.fireItemStateChanged(Unknown Source)
at javax.swing.JToggleButton$ToggleButtonModel.setSelected(Unknown Sourc
e)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source
)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Session : 1252913573636 - 1252921132319
Regards
Sreejith
Is this any thing related to folder access permissions
Hi Sreejith,
I need to see the Application Server logs where the instrumented code is running.
Also send me the zip file used for Offline collation, if possible.
Regards,
Suresh.