ARM Profiling problems [message #129680] |
Thu, 01 May 2008 12:59 |
Eclipse User |
|
|
|
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 |
Richard Y.S. HUANG 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!
>
|
|
|
Powered by
FUDForum. Page generated in 0.03412 seconds