It's all about the answers!

Ask a question

error run JTSMon


Joao Ramires (34720) | asked Apr 04 '17, 5:56 a.m.

 Hi all.. I'm starting to play with JTSMon. When I use the option "analyze" I get this error: 


C:\LocalAPP\JazzMon>C:\LocalAPP\IBMRTCz502\jdk\jre\bin\java -jar JTSMon.jar analyze
SharedNetworkDirectoryWindows: c:\temp\JTSMonData
SharedNetworkDirectoryLinux: /var/tmp/RPP_GatherData
SharedNetworkDirectory(local): C:\LocalAPP\JazzMon\JTSMonRuntime
Output Subdirectory: C:\LocalAPP\JazzMon\JTSMonRuntime

Will analyze monitor output directly because ANALYSIS_IN_PLACE is true
        using C:\LocalAPP\JazzMon\JTSMonRuntime
Searching for counters in C:\LocalAPP\JazzMon\JTSMonRuntime
Found counter directory C:\LocalAPP\JazzMon\JTSMonRuntime\jts-prod.ccm
Found counter directory C:\LocalAPP\JazzMon\JTSMonRuntime\jts-prod.jts
Picked counter directory C:\LocalAPP\JazzMon\JTSMonRuntime\jts-prod.ccm
Detected ServerMonDir in JTSMonRuntime
Processing Server Tables: C:\LocalAPP\JazzMon\JTSMonRuntime
Custom baseline selected for jts-prod.ccm
        is C:\LocalAPP\JazzMon\Data\JazzDev_5.0.2GA_141124200users_8hrs\jazz.ccm200users_8hrs.txt
Directory: jts-prod.ccm
         using baseline file: C:\LocalAPP\JazzMon\Data\JazzDev_5.0.2GA_141124200users_8hrs\jazz.ccm200users_8hrs.txt
Processing service jts-prod.ccm etAvg 2017.04.04_10.46.20.103
Exception: Array index out of range: 2
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
        at com.ibm.team.performance.rpp.base.tools.CompareServiceCounters.trendRowFinal(CompareServiceCounters.java:1168)
        at com.ibm.team.performance.rpp.base.tools.CompareServiceCounters.TrendFiles(CompareServiceCounters.java:963)
        at com.ibm.team.performance.rpp.base.tools.CompareServiceCounters.doOperation(CompareServiceCounters.java:173)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.computeTrends(AnalyzeDataTool.java:616)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.serverReportTables(AnalyzeDataTool.java:518)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.processServerDir(AnalyzeDataTool.java:384)
        at com.ibm.team.performance.rpp.base.tools.AnalyzeDataTool.doOperation(AnalyzeDataTool.java:88)
        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:109)
        at com.ibm.team.performance.rtc.tasks.utils.JTSMon.main(JTSMon.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
        at java.lang.reflect.Method.invoke(Method.java:620)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)

C:\LocalAPP\JazzMon>
Any suggestions? 
    
Thanks 
    

</pre>
<div>
    <br>
</div>
<div>
    <br>
</div>

Accepted answer


permanent link
Robby Berner (261) | answered Apr 26 '17, 1:37 a.m.

It also works when using the follwoing command:
java -Duser.language=en -Duser.region=US -Dfile.encoding=UTF-8 -Dclient.encoding.override=UTF-8 -jar JTSMon.jar analyze

Important are the user.region and user.language options.

Joao Ramires selected this answer as the correct answer

Comments
Joao Ramires commented Nov 09 '17, 6:38 a.m. | edited Nov 09 '17, 6:39 a.m.

thanks , this was the solution:

java -Duser.language=en -Duser.region=US -jar JTSMon.jar analyze

Regards

2 other answers



permanent link
Robby Berner (261) | answered Apr 20 '17, 5:00 a.m.

I have the same problem.  I tried to  reduce the data range by using
ANALYSIS_DATA_RANGE=1,max_number_of samples 
in file jm.properties.

However,  jtsmon always throws an execption with  max_number_of samples +1



permanent link
Robby Berner (261) | answered Apr 25 '17, 7:51 a.m.

Hello Joao,

I could solve the problem.
For Windows PC: Under Control Panel -> Region and Language
I changed : Format and Location  to English
Then i worked for me.

I will do an additonal test in a cmd window by specifying  for example:
java -jar jtsmon.jar analyze -Duser.language=en_us ...

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.