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

error run JTSMon

 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>

0 votes


Accepted answer

Permanent link

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

0 votes

Comments

thanks , this was the solution:

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

Regards


2 other answers

Permanent link

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


0 votes


Permanent link

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

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
× 9

Question asked: Apr 04 '17, 5:56 a.m.

Question was seen: 2,827 times

Last updated: Nov 09 '17, 6:39 a.m.

Confirmation Cancel Confirm