It's all about the answers!

Ask a question

What to do if JTSMon crashes during analysis saying it "can't access baseline data directory"


Dave Schlegel (331167) | asked Dec 11 '13, 2:37 p.m.
JAZZ DEVELOPER
When I run the analysis step after monitoring it causes a crash:

* * *
Will analyze monitor output directly because ANALYSIS_IN_PLACE is true
using /var/tmp/JTSMonRuntime
Exception: Can't access baseline data directory: /opt/IBM/JTSMon/JTSMon_4.0_RTC3.0GA/../com.ibm.team.performance.rtc.tasks/Data
java.lang.Exception: Can't access baseline data directory: /opt/IBM/JTSMon/JTSMon_4.0_RTC3.0GA

2 answers



permanent link
Dave Schlegel (331167) | answered Dec 11 '13, 2:38 p.m.
JAZZ DEVELOPER
A defect has been filed: JTSMon default data directory is set incorrectly (294226)

The workaround is to add this line to your jm.properties file to set the right data directory explicitly

ANALYSIS_DATADIR=Data

Comments
Dave Schlegel commented Jan 22 '14, 3:10 p.m. | edited Mar 07 '14, 7:25 a.m.
JAZZ DEVELOPER

Hi Martin - could you contact me by email (dschlege@us.ibm.com) - I'd be curious to look at your data if possible.


Martin Wassermann commented Jan 24 '14, 4:30 a.m.

Hi Dave. I have sent you an email.


Martin Wassermann commented Feb 04 '14, 9:15 a.m.

Dave. Did you find the reason why this happens?


Krzysztof Kaźmierczyk commented Mar 07 '14, 7:25 a.m.

Hi Dave,
Any news here?


Dave Schlegel commented Mar 07 '14, 9:37 a.m.
JAZZ DEVELOPER

I raised some questions in the workitem but had no reply. Let's continue the discussion there.

I do have a fix for the original issue in this post that will be addressed in the next release of JTSMon.


permanent link
Martin Wassermann (13864144) | answered Jan 22 '14, 5:21 a.m.
I have also a problem with this command. After I had added the ANALYSIS_DATADIR I received a ArrayIndexOutOfBoundsException. Is there still an attribute missing?

 Will analyze monitor output directly because ANALYSIS_IN_PLACE is true using c:\JTSMon\JTSMonRuntime
Found counter directory c:\JTSMon\JTSMonRuntime\jazz.ccm
Found counter directory c:\JTSMon\JTSMonRuntime\jazz.jts
Picked counter directory c:\JTSMon\JTSMonRuntime\jazz.ccm
Detected ServerMonDir in JTSMonRuntime
Processing Server Tables: c:\JTSMon\JTSMonRuntime
Custom baseline selected for jazz.ccm
        is D:\ProgramFiles\IBM\JTSMon\Data\JazzDev_3.0.1_111107__200users_8hrs\jazz.ccm__200users_8hrs.txt
Directory: jazz.ccm
         using baseline file: D:\ProgramFiles\IBM\JTSMon\Data\JazzDev_3.0.1_111107__200users_8hrs\jazz.ccm__200users_8hrs.txt
Processing service jazz.ccm etAvg 2014.01.22_11.15.06.746
Exception: Array index out of range: 3
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 3
        at com.ibm.team.performance.rpp.base.tools.CompareServiceCounters.trendRowFinal(CompareServiceCounters.java1155)
        at com.ibm.team.performance.rpp.base.tools.CompareServiceCounters.TrendFiles(CompareServiceCounters.java:94)
        at com.ibm.team.performance.rpp.base.tools.CompareServiceCounters.doOperation(CompareServiceCounters.java:171)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.computeTrends(AnalyzeDataTool.java:597)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.serverReportTables(AnalyzeDataTool.java:515)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.processServerDir(AnalyzeDataTool.java:382)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.doOperation(AnalyzeDataTool.java:87)
        at com.ibm.team.performance.rpp.base.tools.BasicTool.runTool(BasicTool.java:85)
        at com.ibm.team.performance.rtc.tasks.utils.JTSMon.driver(JTSMon.java:91)
        at com.ibm.team.performance.rtc.tasks.utils.JTSMon.main(JTSMon.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.