Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » While trying to profile an ear application
While trying to profile an ear application [message #939918] Thu, 11 October 2012 06:27 Go to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
While starting the server i am getting the following error:

I added the following details to PluginConfig.xml:
<Variable name="MARTINI_LOGGER_DIRECTORY" position="replace" value="%JAVA_PROFILER_HOME%\log" />
<Variable name="MARTINI_LOGGER_LOG_LEVEL" position="replace" value="5" />

I also added to serviceconfig.xml the following:
<Variable name="CLASSPATH" position="append" value="C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler.jar"/>

Then the application server with "-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf"
started booting but after sometime it again throws the error and then suddenly stops

with the following details:

A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x77232258, pid=6568, tid=7560
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x22258]
#
# If you would like to submit a bug report, please visit:
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Re: While trying to profile an ear application [message #939919 is a reply to message #939918] Thu, 11 October 2012 06:28 Go to previous messageGo to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
please see the following thread for more details:

http://www.eclipse.org/forums/index.php/t/398099/
Re: While trying to profile an ear application [message #940008 is a reply to message #939919] Thu, 11 October 2012 08:23 Go to previous messageGo to next message
Torsten Stolpmann is currently offline Torsten StolpmannFriend
Messages: 37
Registered: July 2009
Member
Why are you using such an outdated version of the TPTP agent controller (4.2)?

Did you have a look at http://dev.eclipse.org/mhonarc/lists/tptp-tracing-profiling-tools-dev/msg01292.html?
Re: While trying to profile an ear application [message #940024 is a reply to message #940008] Thu, 11 October 2012 08:43 Go to previous messageGo to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
Hi Torsten,

Thanks for the quick reply. Can you please point me to most suitable version of TPTP plugin, agent controller and javaprofiler for Java 1.6, JBoss 5.1.

Thanks in advanced
Re: While trying to profile an ear application [message #940038 is a reply to message #940024] Thu, 11 October 2012 08:56 Go to previous messageGo to next message
Torsten Stolpmann is currently offline Torsten StolpmannFriend
Messages: 37
Registered: July 2009
Member
4.7.2 is the latest release and the most promising candidate.
Re: While trying to profile an ear application [message #940104 is a reply to message #940038] Thu, 11 October 2012 10:14 Go to previous messageGo to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
Even after using 4.7.2 i am getting the following "Out of Memory" exception

#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 2991744 bytes for Chunk::new. Out of swap space?
#
# Internal Error (allocation.cpp:215), pid=2904, tid=3548
# Error: Chunk::new
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode windows-x86 )
# If you would like to submit a bug report, please visit:
#
#
Re: While trying to profile an ear application [message #940118 is a reply to message #940104] Thu, 11 October 2012 10:25 Go to previous messageGo to next message
Heiner Westphal is currently offline Heiner WestphalFriend
Messages: 18
Registered: July 2009
Junior Member
You possibly hit a jvm bug:
<http://bugs.sun.com/view_bug.do?bug_id=6973402>
This has been fixed in java 1.6u22, so I'd suggest you upgrade your
Java installation to 1.6uN with N >= 22 .

HTH,

Heiner

Am 11.10.2012 12:14, schrieb Himadri Khargharia:
> Even after using 4.7.2 i am getting the following "Out of Memory" exception
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # java.lang.OutOfMemoryError: requested 2991744 bytes for Chunk::new.
> Out of swap space?
> #
> # Internal Error (allocation.cpp:215), pid=2904, tid=3548
> # Error: Chunk::new
> #
> # JRE version: 6.0_18-b07
> # Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode windows-x86 )
> # If you would like to submit a bug report, please visit:
> # #
Re: While trying to profile an ear application [message #945136 is a reply to message #940118] Mon, 15 October 2012 09:01 Go to previous messageGo to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
I am able to see the execution time analysis in agent tab of the attach to agent configuration ... but still connecting to JVMTI is going on and on and on ...
Re: While trying to profile an ear application [message #945196 is a reply to message #939918] Mon, 15 October 2012 09:35 Go to previous messageGo to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
My server port is 12000, but agent controller port is 10002. Does it has anything to do with it??
Re: While trying to profile an ear application [message #945434 is a reply to message #945196] Mon, 15 October 2012 11:51 Go to previous messageGo to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
It is working now, thanks for all the help
Re: While trying to profile an ear application [message #950158 is a reply to message #945434] Fri, 19 October 2012 17:30 Go to previous messageGo to next message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
Hi,

I am seeing method calls and class calls. But i am not able to see any JDBC calls and time for the query to be run. Is there a way to find the JDBC queries execution time.
Re: While trying to profile an ear application [message #987379 is a reply to message #950158] Mon, 26 November 2012 11:20 Go to previous message
Himadri Khargharia is currently offline Himadri KharghariaFriend
Messages: 23
Registered: October 2012
Junior Member
Is there a way, by which i can make the TPTP show jdbc calls just like JProfiler does.
Previous Topic:Visualizing Android .trace file by convert it to TPTP .trcxml file
Next Topic:I want to do profiling of an ear project rnning on JBOSS 5.1 usng TPTP
Goto Forum:
  


Current Time: Fri Mar 29 11:34:14 GMT 2024

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

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

Back to the top