Home » Archived » Test and Performance Tools Platform (TPTP) » Application Response Measurement Analysis - No Execution Statistics Availaible
Application Response Measurement Analysis - No Execution Statistics Availaible [message #109070] |
Wed, 15 August 2007 10:03 |
Alessandro Tucci Messages: 33 Registered: July 2009 |
Member |
|
|
OS = linux SuSE 10.1
ECLIPSE_VER = 3.3.0
TPTP_VER = 4.4.0.2 Maintenance built on 27th July 2007
JVM = JDK 1.5.0_12
Hi everybody,
I am testing ARM services, especially Application Response Measurement
Analisys against an application server (Tomcat 5.5). I am following this
tutorial:
http://www.eclipse.org/tptp/performance/documents/tutorials/ arm_viewlet_Tomcat/Tomcat_viewlet_swf.html
The web-app can be found here:
http://www.eclipse.org/tptp/home/documents/tutorials/viewlet s/v4.4/sample.zip
in the innermost "sample" directory
After creating the project and correcting the references to eclipse
plugins to the proper version, I started profiling.
Therefore, I clicked on Profile > Open Profile Dialog > Apache Tomcat >
added
-DArm40.ArmTransactionFactory=org.eclipse.tptp.trace.arm.int ernal.transaction.ArmTransactionFactoryImpl
-DArm40.ArmTranReportFactory=org.eclipse.tptp.trace.arm.inte rnal.tranreport.ArmReportFactoryImpl
-DArm40.ArmMetricFactory=org.eclipse.tptp.trace.arm.internal .metric.ArmMetricFactoryImpl
to VM arguments > Profile.
When the profile on server dialog appeared, I chose "Application Response
Measurement Analisys", then I selected a probe amongst "Generic Probe" or
"Servlet Probe" (I tried more than once) and I let the default filter
(none for "Generic Probe", only doGet and doPost allowed for "Servlet
Probe"). After that, I selected "Instrument Collector" and I set a filter
here: I included all the packages declared in the web-app and I excluded
all the rest. In the end, I actually started the profiling session. The
three icons representing the host, the agent and the service appeared as
expected and the agent was ready to profile.
I clicked on the three links in the web-app home page more than once to
collect some data. After that, I clicked on "Collect Object References",
then I stopped the profiler. I tried to open the results, both by
double-clicking on them (UML2 trace interactions) and right-clicking and
choosing "Execution Statistics". The window that usually appears when
there's no execution info available was opened.
There is surely something stupid that I am missing and that the tutorial
does not show explicitly: it seems that nobody else experienced such a
problem and I did not find something similar on Google, either.
Thanks for your attention,
Alessandro Tucci
|
|
| |
Re: Application Response Measurement Analysis - No Execution Statistics Availaible [message #110005 is a reply to message #109803] |
Sat, 25 August 2007 14:45 |
Alessandro Tucci Messages: 33 Registered: July 2009 |
Member |
|
|
Hi Richard,
some of the jars you suggested were missing in the classpath:
armAspects.jar
armProbes.jar
armModel.jar
because I added only the jars the tutorial mentioned (slide 8/35).
Furthermore, I could not find
hlcore101.jar
in Eclipse subdirectories, whereas I had already added a jar similarly
named:
hlcbe101.jar
I also googled for "hlcore101.jar", but I obtained no (zero!) result.
Hoping you had meant "hlcbe101.jar", I retried more than once with the
new configuration, but still no data is available.
Thanks for your interest,
Alessandro Tucci
huangys@cn.ibm.com wrote:
> Hi Alessandro,
>
> Did you add the required jar files under the "User Entries"? You can Open
> Profile Dialog... > Apache Tomcat > Classpath. The following jars must be
> added:
>
> arm40_java_interfaces.jar
> armAspects.jar
> armLibrary.jar
> armModel.jar
> armProbes.jar
> hexr.jar
> hlcore.jar
> hl14.jar
> tlcore.jar
> hlcore101.jar
> org.eclipse.emf.ecore.xmi_2.3.0.v200706262000.jar
> org.eclipse.emf.ecore_2.3.0.v200706262000.jar
> org.eclipse.emf.common_2.3.0.v200706262000.jar
>
> I re-tested the sample application in my local Eclipse environment. It
> works fine. By the way, I'm using Eclipse 3.3 and TPTP 4.4.0 in Windows XP
> SP2.
>
> Please recheck the classpath configurations in your local environment, and
> try again. If you run into problem again, please feel free to post
> exceptions here.
>
> Richard (Yun Song) HUANG
|
|
|
Re: Application Response Measurement Analysis - No Execution Statistics Availaible [message #110074 is a reply to message #110005] |
Sun, 26 August 2007 04:18 |
Richard Y.S. HUANG Messages: 18 Registered: July 2009 |
Junior Member |
|
|
I'm sorry for the wrong file name. Yes, it's hlcbe101.jar, not
hlcore101.jar.
Still no data available? Is there any exceptions thrown during profiling?
Richard (Yun Song) HUANG
Alessandro Tucci wrote:
> Hi Richard,
> some of the jars you suggested were missing in the classpath:
>
> armAspects.jar
> armProbes.jar
> armModel.jar
>
> because I added only the jars the tutorial mentioned (slide 8/35).
> Furthermore, I could not find
>
> hlcore101.jar
>
> in Eclipse subdirectories, whereas I had already added a jar similarly
> named:
>
> hlcbe101.jar
>
> I also googled for "hlcore101.jar", but I obtained no (zero!) result.
>
> Hoping you had meant "hlcbe101.jar", I retried more than once with the
> new configuration, but still no data is available.
>
> Thanks for your interest,
> Alessandro Tucci
>
> huangys@cn.ibm.com wrote:
>> Hi Alessandro,
>>
>> Did you add the required jar files under the "User Entries"? You can Open
>> Profile Dialog... > Apache Tomcat > Classpath. The following jars must be
>> added:
>>
>> arm40_java_interfaces.jar
>> armAspects.jar
>> armLibrary.jar
>> armModel.jar
>> armProbes.jar
>> hexr.jar
>> hlcore.jar
>> hl14.jar
>> tlcore.jar
>> hlcore101.jar
>> org.eclipse.emf.ecore.xmi_2.3.0.v200706262000.jar
>> org.eclipse.emf.ecore_2.3.0.v200706262000.jar
>> org.eclipse.emf.common_2.3.0.v200706262000.jar
>>
>> I re-tested the sample application in my local Eclipse environment. It
>> works fine. By the way, I'm using Eclipse 3.3 and TPTP 4.4.0 in Windows XP
>> SP2.
>>
>> Please recheck the classpath configurations in your local environment, and
>> try again. If you run into problem again, please feel free to post
>> exceptions here.
>>
>> Richard (Yun Song) HUANG
|
|
|
Re: Application Response Measurement Analysis - No Execution Statistics Availaible [message #113060 is a reply to message #110074] |
Sat, 22 September 2007 22:48 |
Alessandro Tucci Messages: 33 Registered: July 2009 |
Member |
|
|
Hi Richard,
I retried to test ARM, but there is still no data available to display.
No exception window is showed during the profiling session, therefore I
looked for any hs_error* and .log file created during that session.
There wasn't any, though.
The only thing I can add is that eclipse runs on a JVM 1.6.0_02 (the
default java command), whereas AC, IAC and the web-app use JVM 1.5.0_12.
Thanks for your interest,
Alessandro Tucci
Richard Huang wrote:
> I'm sorry for the wrong file name. Yes, it's hlcbe101.jar, not
> hlcore101.jar.
>
> Still no data available? Is there any exceptions thrown during profiling?
>
> Richard (Yun Song) HUANG
>
> Alessandro Tucci wrote:
>> Hi Richard,
>> some of the jars you suggested were missing in the classpath:
>>
>> armAspects.jar
>> armProbes.jar
>> armModel.jar
>>
>> because I added only the jars the tutorial mentioned (slide 8/35).
>> Furthermore, I could not find
>>
>> hlcore101.jar
>>
>> in Eclipse subdirectories, whereas I had already added a jar similarly
>> named:
>>
>> hlcbe101.jar
>>
>> I also googled for "hlcore101.jar", but I obtained no (zero!) result.
>>
>> Hoping you had meant "hlcbe101.jar", I retried more than once with the
>> new configuration, but still no data is available.
>>
>> Thanks for your interest,
>> Alessandro Tucci
>>
>> huangys@cn.ibm.com wrote:
>>> Hi Alessandro,
>>>
>>> Did you add the required jar files under the "User Entries"? You can
>>> Open Profile Dialog... > Apache Tomcat > Classpath. The following
>>> jars must be added:
>>>
>>> arm40_java_interfaces.jar
>>> armAspects.jar
>>> armLibrary.jar
>>> armModel.jar
>>> armProbes.jar
>>> hexr.jar
>>> hlcore.jar
>>> hl14.jar
>>> tlcore.jar
>>> hlcore101.jar
>>> org.eclipse.emf.ecore.xmi_2.3.0.v200706262000.jar
>>> org.eclipse.emf.ecore_2.3.0.v200706262000.jar
>>> org.eclipse.emf.common_2.3.0.v200706262000.jar
>>>
>>> I re-tested the sample application in my local Eclipse environment.
>>> It works fine. By the way, I'm using Eclipse 3.3 and TPTP 4.4.0 in
>>> Windows XP SP2.
>>>
>>> Please recheck the classpath configurations in your local
>>> environment, and try again. If you run into problem again, please
>>> feel free to post exceptions here.
>>>
>>> Richard (Yun Song) HUANG
|
|
|
Re: Application Response Measurement Analysis - No Execution Statistics Availaible [message #113253 is a reply to message #113060] |
Tue, 25 September 2007 14:08 |
Richard Y.S. HUANG Messages: 18 Registered: July 2009 |
Junior Member |
|
|
Hi Alessandro,
What did you set in the filters of Instrument Collector? Did you include
all your classes in the appropriate INCLUDE rules? And the INCLUDE rules
should be in front of EXCLUDE rules.
Richard HUANG
Alessandro Tucci wrote:
> Hi Richard,
> I retried to test ARM, but there is still no data available to display.
> No exception window is showed during the profiling session, therefore I
> looked for any hs_error* and .log file created during that session.
> There wasn't any, though.
> The only thing I can add is that eclipse runs on a JVM 1.6.0_02 (the
> default java command), whereas AC, IAC and the web-app use JVM 1.5.0_12.
> Thanks for your interest,
> Alessandro Tucci
>
>
> Richard Huang wrote:
>> I'm sorry for the wrong file name. Yes, it's hlcbe101.jar, not
>> hlcore101.jar.
>>
>> Still no data available? Is there any exceptions thrown during profiling?
>>
>> Richard (Yun Song) HUANG
>>
>> Alessandro Tucci wrote:
>>> Hi Richard,
>>> some of the jars you suggested were missing in the classpath:
>>>
>>> armAspects.jar
>>> armProbes.jar
>>> armModel.jar
>>>
>>> because I added only the jars the tutorial mentioned (slide 8/35).
>>> Furthermore, I could not find
>>>
>>> hlcore101.jar
>>>
>>> in Eclipse subdirectories, whereas I had already added a jar similarly
>>> named:
>>>
>>> hlcbe101.jar
>>>
>>> I also googled for "hlcore101.jar", but I obtained no (zero!) result.
>>>
>>> Hoping you had meant "hlcbe101.jar", I retried more than once with the
>>> new configuration, but still no data is available.
>>>
>>> Thanks for your interest,
>>> Alessandro Tucci
>>>
>>> huangys@cn.ibm.com wrote:
>>>> Hi Alessandro,
>>>>
>>>> Did you add the required jar files under the "User Entries"? You can
>>>> Open Profile Dialog... > Apache Tomcat > Classpath. The following
>>>> jars must be added:
>>>>
>>>> arm40_java_interfaces.jar
>>>> armAspects.jar
>>>> armLibrary.jar
>>>> armModel.jar
>>>> armProbes.jar
>>>> hexr.jar
>>>> hlcore.jar
>>>> hl14.jar
>>>> tlcore.jar
>>>> hlcore101.jar
>>>> org.eclipse.emf.ecore.xmi_2.3.0.v200706262000.jar
>>>> org.eclipse.emf.ecore_2.3.0.v200706262000.jar
>>>> org.eclipse.emf.common_2.3.0.v200706262000.jar
>>>>
>>>> I re-tested the sample application in my local Eclipse environment.
>>>> It works fine. By the way, I'm using Eclipse 3.3 and TPTP 4.4.0 in
>>>> Windows XP SP2.
>>>>
>>>> Please recheck the classpath configurations in your local
>>>> environment, and try again. If you run into problem again, please
>>>> feel free to post exceptions here.
>>>>
>>>> Richard (Yun Song) HUANG
|
|
|
Re: Application Response Measurement Analysis - No Execution Statistics Availaible (No bug, wrong co [message #113279 is a reply to message #113253] |
Wed, 26 September 2007 09:17 |
Alessandro Tucci Messages: 33 Registered: July 2009 |
Member |
|
|
Hi Richard,
I checked my configuration and I found my error. The package which
contains the servlets is "eclipseworld", whereas the package specified
in the filter was "eclipsworld.*". Deleting the dot let the profiler
work with the correct output.
Thanks for your help and excuse me for the useless topic.
Alessandro Tucci
Richard Huang wrote:
> Hi Alessandro,
>
> What did you set in the filters of Instrument Collector? Did you include
> all your classes in the appropriate INCLUDE rules? And the INCLUDE rules
> should be in front of EXCLUDE rules.
>
> Richard HUANG
>
> Alessandro Tucci wrote:
>> Hi Richard,
>> I retried to test ARM, but there is still no data available to display.
>> No exception window is showed during the profiling session, therefore I
>> looked for any hs_error* and .log file created during that session.
>> There wasn't any, though.
>> The only thing I can add is that eclipse runs on a JVM 1.6.0_02 (the
>> default java command), whereas AC, IAC and the web-app use JVM 1.5.0_12.
>> Thanks for your interest,
>> Alessandro Tucci
>>
>>
>> Richard Huang wrote:
>>> I'm sorry for the wrong file name. Yes, it's hlcbe101.jar, not
>>> hlcore101.jar.
>>>
>>> Still no data available? Is there any exceptions thrown during
>>> profiling?
>>>
>>> Richard (Yun Song) HUANG
>>>
>>> Alessandro Tucci wrote:
>>>> Hi Richard,
>>>> some of the jars you suggested were missing in the classpath:
>>>>
>>>> armAspects.jar
>>>> armProbes.jar
>>>> armModel.jar
>>>>
>>>> because I added only the jars the tutorial mentioned (slide 8/35).
>>>> Furthermore, I could not find
>>>>
>>>> hlcore101.jar
>>>>
>>>> in Eclipse subdirectories, whereas I had already added a jar similarly
>>>> named:
>>>>
>>>> hlcbe101.jar
>>>>
>>>> I also googled for "hlcore101.jar", but I obtained no (zero!) result.
>>>>
>>>> Hoping you had meant "hlcbe101.jar", I retried more than once with the
>>>> new configuration, but still no data is available.
>>>>
>>>> Thanks for your interest,
>>>> Alessandro Tucci
>>>>
>>>> huangys@cn.ibm.com wrote:
>>>>> Hi Alessandro,
>>>>>
>>>>> Did you add the required jar files under the "User Entries"? You can
>>>>> Open Profile Dialog... > Apache Tomcat > Classpath. The following
>>>>> jars must be added:
>>>>>
>>>>> arm40_java_interfaces.jar
>>>>> armAspects.jar
>>>>> armLibrary.jar
>>>>> armModel.jar
>>>>> armProbes.jar
>>>>> hexr.jar
>>>>> hlcore.jar
>>>>> hl14.jar
>>>>> tlcore.jar
>>>>> hlcore101.jar
>>>>> org.eclipse.emf.ecore.xmi_2.3.0.v200706262000.jar
>>>>> org.eclipse.emf.ecore_2.3.0.v200706262000.jar
>>>>> org.eclipse.emf.common_2.3.0.v200706262000.jar
>>>>>
>>>>> I re-tested the sample application in my local Eclipse environment.
>>>>> It works fine. By the way, I'm using Eclipse 3.3 and TPTP 4.4.0 in
>>>>> Windows XP SP2.
>>>>>
>>>>> Please recheck the classpath configurations in your local
>>>>> environment, and try again. If you run into problem again, please
>>>>> feel free to post exceptions here.
>>>>>
>>>>> Richard (Yun Song) HUANG
|
|
|
Goto Forum:
Current Time: Fri Apr 19 20:12:57 GMT 2024
Powered by FUDForum. Page generated in 0.03961 seconds
|