Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Using Instrument collector for JMX & ARM Analysis
Using Instrument collector for JMX & ARM Analysis [message #109763] Wed, 22 August 2007 05:23 Go to next message
Eclipse UserFriend
Originally posted by: namratab.mastek.com

Hi all,

I am using TPTP 4.4.0 to profile application on Oracle standalone
application server(oc4j1013).
1. I start server in profiling mode by right clicking on the server
instance. In the prompted profile on server wizard,'m selecting the
instrument collector with my filter set. Also i have checked ARM analysis
by enabling generic probe and servlet probe.
After profiling , i can see three icons in the monitor view. But my
application is not running properly in this particular scenario. The
servlet mapping is not working and thus the execution statistics is not
available. Application works fine otherwise.I tried on tomcat 5.5
appserver, the application doesn't work there also.
Am i missing something?

2.Under instrument collector, the JMX analysis is selected with create
modelbeans for object and collect statistical information options. After
profiling, application runs.But when trying to open JMX analysis with
managed agent explorer, the error occurs saying problem in restoring the
options of the launch configuration.Reason displayed is
javax.naming.ServiceUnavailableException. This is probably because the
managed agent is not active and monitoring. How do i activate the managed
agent and use JMX analysis..?


Thanks in advance.
Re: Using Instrument collector for JMX & ARM Analysis [message #109810 is a reply to message #109763] Thu, 23 August 2007 08:14 Go to previous messageGo to next message
Richard Y.S. HUANG is currently offline Richard Y.S. HUANGFriend
Messages: 18
Registered: July 2009
Junior Member
This is a multipart message in MIME format.
--=_alternative 002D416648257340_=
Content-Type: text/plain; charset="US-ASCII"

Hi Namrata,

Did you add the required VM arguments in the lanuch configuration? Did you
add the required jar files under the "User Entries"? You can Open Profile
Dialog... > Apache Tomcat. You can add ARM arguments in the "VM arguments"
of Arguments tab, and you can append jars into "User Entries" of Classpath
tab.

The following jars are required to use ARM analysis and JMX analysis:

arm40_java_interfaces.jar
armAspects.jar
armLibrary.jar
armModel.jar
armProbes.jar
jmxModel.jar
cbeModel.jar
instrumentAspects.jar
instrumentProbes.jar
hexr.jar
hlcore.jar
hl14.jar
tlcore.jar
hlcbe101.jar
hlcommons.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

If you run into problem again, please feel free to post exceptions here.

Richard (Yun Song) HUANG
--=_alternative 002D416648257340_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi </font><font size=1 face="sans-serif">Namrata</font><font size=2 face="sans-serif">,</font>
<br>
<br><font size=2 face="sans-serif">Did you add the required VM arguments
in the lanuch configuration? Did you add the required jar files under the
&quot;User Entries&quot;? You can Open Profile Dialog... &gt; Apache Tomcat.
You can add ARM arguments in the &quot;VM arguments&quot; of Arguments
tab, and you can append jars into &quot;User Entries&quot; of Classpath
tab. </font>
<br>
<br><font size=2 face="sans-serif">The following jars are required to use
ARM analysis and JMX analysis:</font>
<br>
<br><font size=2 face="sans-serif">arm40_java_interfaces.jar</font>
<br><font size=2 face="sans-serif">armAspects.jar</font>
<br><font size=2 face="sans-serif">armLibrary.jar</font>
<br><font size=2 face="sans-serif">armModel.jar</font>
<br><font size=2 face="sans-serif">armProbes.jar</font>
<br><font size=2 face="sans-serif">jmxModel.jar</font>
<br><font size=2 face="sans-serif">cbeModel.jar</font>
<br><font size=2 face="sans-serif">instrumentAspects.jar</font>
<br><font size=2 face="sans-serif">instrumentProbes.jar</font>
<br><font size=2 face="sans-serif">hexr.jar</font>
<br><font size=2 face="sans-serif">hlcore.jar</font>
<br><font size=2 face="sans-serif">hl14.jar</font>
<br><font size=2 face="sans-serif">tlcore.jar</font>
<br><font size=2 face="sans-serif">hlcbe101.jar</font>
<br><font size=2 face="sans-serif">hlcommons.jar</font>
<br><font size=2 face="sans-serif">org.eclipse.emf.ecore.xmi_2.3.0.v200706262000.jar </font>
<br><font size=2 face="sans-serif">org.eclipse.emf.ecore_2.3.0.v200706262000.jar </font>
<br><font size=2 face="sans-serif">org.eclipse.emf.common_2.3.0.v200706262000.jar </font>
<br>
<br><font size=2 face="sans-serif">If you run into problem again, please
feel free to post exceptions here.</font>
<br>
<br><font size=2 face="sans-serif">Richard (Yun Song) HUANG</font>
--=_alternative 002D416648257340_=--
Re: Using Instrument collector for JMX & ARM Analysis [message #109865 is a reply to message #109810] Thu, 23 August 2007 11:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: namratab.mastek.com

Hi,
Thanks for your kind help.
I have added VM arguments and the jar files you specified. But after i
say profile and sirf my application, in profile monitor no view is
available.. Server shows profiling as its status.

Some more guidance will be of great help.

~Namrata
Re: Using Instrument collector for JMX & ARM Analysis [message #109939 is a reply to message #109865] Fri, 24 August 2007 01:36 Go to previous message
Richard Y.S. HUANG is currently offline Richard Y.S. HUANGFriend
Messages: 18
Registered: July 2009
Junior Member
Right-click on the ARM or JMX Analysis, you'll see an "Open With" menu.
You can open a view by selecting one of them.

Richard

Namrata wrote:
> Hi,
> Thanks for your kind help.
> I have added VM arguments and the jar files you specified. But after i
> say profile and sirf my application, in profile monitor no view is
> available.. Server shows profiling as its status.
>
> Some more guidance will be of great help.
>
> ~Namrata
>
Previous Topic:BaseAgent.waitForTermination()
Next Topic:Passing VM Arguments To Profiled Application
Goto Forum:
  


Current Time: Thu Sep 26 05:59:29 GMT 2024

Powered by FUDForum. Page generated in 0.05765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top