Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » ARM Profiling problems
ARM Profiling problems [message #129680] Thu, 01 May 2008 12:59 Go to next message
Eclipse UserFriend
Originally posted by: kchenis.patientkeeper.com

Hi,

I've been trying for a few days to get the ARM profiling to work.

Using Eclipse 332 with the TPTP 441 - Fresh install of both. Execution
profiling works fine. I tried following the ARM instructions for
instrumenting a Tomcat Server application. I'm following the insturcions
"Using ARM with Tomcat"

- If I move the armModel.jar and armProbes.jar to the tomcat directory as
instructed, the plugin does not seem to work, and I have to copy them to get
it to work at all.
- with those files in the tomcat directory, I get an error that there is no
loader class.
- If I copy the loader jar there, then I get lots of implementation class
not found errors.
- The tomcat server instructions are not clear on which classpath on the
server to manipulate - I tried both user, and bootstrap.
- The closest I can get is if I configure the embedded tomcat like an extern
server, and add the jar files to the bootstrap classpath.
- When I do that, it appears to start up correctly, but all I get is a bunch
of errors like:

Apr 30, 2008 5:08:35 PM ARM Logger

SEVERE: Error occured while instrumenting [Class name:
com/patientkeeper/central/ThreadPoolMethod name: <init>

Apr 30, 2008 5:08:35 PM ARM Logger

SEVERE: Error occured while instrumenting [Class name:
EDU/oswego/cs/dl/util/concurrent/BoundedBufferMethod name: <init>

Apr 30, 2008 5:08:35 PM ARM Logger

SEVERE: Error occured while instrumenting [Class name:
EDU/oswego/cs/dl/util/concurrent/PooledExecutorMethod name: <init>

Any idea what I'm doing wrong?

Thanks!
Re: ARM Profiling problems [message #129698 is a reply to message #129680] Sat, 03 May 2008 06:40 Go to previous message
Richard Y.S. HUANG is currently offline Richard Y.S. HUANGFriend
Messages: 18
Registered: July 2009
Junior Member
Ken,

It's not necessary to copy TPTP jars to Tomcat directory. You should
follow the guide which you can find on TPTP website:
http://www.eclipse.org/tptp/performance/documents/tutorials/ arm_viewlet_Tomcat/Tomcat_viewlet_swf.html

Please make sure you have added the following 14 jars into "User
Entries" under the "Classpath" tab:

$AC_HOME/plugins/org.opengroup.arm_VERSION:
arm40_java_interfaces.jar

$AC_HOME/plugins/org.eclipse.tptp.trace.arm_VERSION:
armLibrary.jar
armLoader.jar
armModel.jar
armProbes.jar
cbeLogging.jar

$AC_HOME/plugins/org.eclipse.hyades.logging.core_VERSION:
hlcore.jar
hl14.jar

$AC_HOME/plugins/org.eclipse.hyades.execution_VERSION:
hexr.jar

$AC_HOME/plugins/org.eclipse.tptp.platform.logging.events_VE RSION:
tlcore.jar
hlcbe101.jar

$AC_HOME/plugin:
org.eclipse.emf.ecore_VERSION.jar
org.eclipse.emf.common_VERSION.jar
org.eclipse.emf.ecore.xmi_VERSION.jar

-Richard.

Ken C wrote:
> Hi,
>
> I've been trying for a few days to get the ARM profiling to work.
>
> Using Eclipse 332 with the TPTP 441 - Fresh install of both. Execution
> profiling works fine. I tried following the ARM instructions for
> instrumenting a Tomcat Server application. I'm following the insturcions
> "Using ARM with Tomcat"
>
> - If I move the armModel.jar and armProbes.jar to the tomcat directory as
> instructed, the plugin does not seem to work, and I have to copy them to get
> it to work at all.
> - with those files in the tomcat directory, I get an error that there is no
> loader class.
> - If I copy the loader jar there, then I get lots of implementation class
> not found errors.
> - The tomcat server instructions are not clear on which classpath on the
> server to manipulate - I tried both user, and bootstrap.
> - The closest I can get is if I configure the embedded tomcat like an extern
> server, and add the jar files to the bootstrap classpath.
> - When I do that, it appears to start up correctly, but all I get is a bunch
> of errors like:
>
> Apr 30, 2008 5:08:35 PM ARM Logger
>
> SEVERE: Error occured while instrumenting [Class name:
> com/patientkeeper/central/ThreadPoolMethod name: <init>
>
> Apr 30, 2008 5:08:35 PM ARM Logger
>
> SEVERE: Error occured while instrumenting [Class name:
> EDU/oswego/cs/dl/util/concurrent/BoundedBufferMethod name: <init>
>
> Apr 30, 2008 5:08:35 PM ARM Logger
>
> SEVERE: Error occured while instrumenting [Class name:
> EDU/oswego/cs/dl/util/concurrent/PooledExecutorMethod name: <init>
>
> Any idea what I'm doing wrong?
>
> Thanks!
>
Previous Topic:Profiling Web Application - I'm confused
Next Topic:How to build Agent Controller for Linux from source
Goto Forum:
  


Current Time: Thu Apr 25 11:01:38 GMT 2024

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

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

Back to the top