Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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

0 votes



2 answers

Permanent link
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

1 vote

Comments

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

Hi Dave. I have sent you an email.

Dave. Did you find the reason why this happens?

Hi Dave,
Any news here?

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
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)

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 42
× 9

Question asked: Dec 11 '13, 2:37 p.m.

Question was seen: 4,811 times

Last updated: Mar 07 '14, 9:37 a.m.

Confirmation Cancel Confirm