Home » Archived » Test and Performance Tools Platform (TPTP) » Profiling Web Application on JBOSS Attaching an Agent
|
Re: Profiling Web Application on JBOSS Attaching an Agent [message #142926 is a reply to message #142915] |
Mon, 29 June 2009 10:55 |
surbhigl Messages: 13 Registered: July 2009 |
Junior Member |
|
|
in addition to the previous post:
Here is the serverlog.log
<CommonBaseEvent creationTime="2009-06-29T10:14:15.198000Z"
globalInstanceId="A068F2366EC445D99AD5B8700F2FD9CD" msg="Received command
for unrecognized interface: iid=org.eclipse.tptp.eventProvider,
cmd=listenerAccepted" severity="50" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\transport\TPTPClientCompTL\Connect2AC.c,
line 2238" instanceId="1004" location="D-19187.synapse.com"
locationType="IPV4" processId="5068" subComponent="Client Compatibility
TL" threadId="3392" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2009-06-29T10:14:16.010000Z"
globalInstanceId="AB20B77AD92A494C89F20314FA5879E4" msg="File server
started listening on port 10005" severity="10" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\transport\TPTPClientCompTL\fileServer.c,
line 177" instanceId="1004" location="D-19187.synapse.com"
locationType="IPV4" processId="5068" subComponent="Client Compatibility
TL" threadId="5724" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2009-06-29T10:24:16.303000Z"
globalInstanceId="A748FF3B793648329855F52FDCFD88E2" msg="A
processExitedEvent was received for which we have no corresponding agent."
severity="30" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agentController\AgentManager.c,
line 3006" instanceId="1" location="D-19187.synapse.com"
locationType="IPV4" processId="5068" subComponent="Agent Manager"
threadId="4892" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2009-06-29T10:24:16.303000Z"
globalInstanceId="A6F932D7D3644704A24FE7F8D0EAE004" msg="A
processExitedEvent was received for which we have no corresponding agent."
severity="30" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agentController\AgentManager.c,
line 3006" instanceId="1" location="D-19187.synapse.com"
locationType="IPV4" processId="5068" subComponent="Agent Manager"
threadId="4892" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2009-06-29T10:24:16.303000Z"
globalInstanceId="AF82444B415647849C91EA81C1A9DD7E" msg="A
processExitedEvent was received for which we have no corresponding agent."
severity="30" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agentController\AgentManager.c,
line 3006" instanceId="1" location="D-19187.synapse.com"
locationType="IPV4" processId="5068" subComponent="Agent Manager"
threadId="4892" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2009-06-29T10:24:16.163000Z"
globalInstanceId="ADD32AE53CCD4C9DB13D11FA818DDC63" msg="PC
handleProcessEvents: Process has exited with status 0." severity="50"
version="1.0.1">
<sourceComponentId component="ProcessController"
componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agents\tptpProcessController\ProcessController_md.c pp,
line 284" instanceId="101" location="D-19187.synapse.com"
locationType="IPV4" processId="4284" subComponent="ProcessController"
threadId="4360"/>
<situation categoryName="ReportSituation">
<situationType reasoningScope="INTERNAL" reportCategory="LOG"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation"/>
</situation>
</CommonBaseEvent>
Also after getting the list of agent to attach for the first time starting
the jboss server and launching the monitor, when i come again in the
profile configuration option to attach an agent, i don't get agents and it
says
Error retrieving agents - see log for more details.
|
|
|
Re: Profiling Web Application on JBOSS Attaching an Agent [message #142976 is a reply to message #142926] |
Tue, 30 June 2009 21:13 |
Eugene Chan Messages: 287 Registered: July 2009 |
Senior Member |
|
|
Hi Surbhigl,
If you choose the option to 'Profile to File', the profiling file created on
your file system that contains all the trace data is in bindary format and
can be import back into the TPTP workbench via the 'File>Import>Profile
File' options, make sure you select the right type of data in the import
dialog for import.
On the other hand, if you choose not to profile to file, all live trace data
will be sent to the workbench and viewable in the profiling views in the
Profiling and Logging perspective.
Eugene
"surbhigl " <surbhi.mittal@globallogic.com> wrote in message
news:e2d072503df161207409876906a8304e$1@www.eclipse.org...
> in addition to the previous post:
>
> Here is the serverlog.log
>
> <CommonBaseEvent creationTime="2009-06-29T10:14:15.198000Z"
> globalInstanceId="A068F2366EC445D99AD5B8700F2FD9CD" msg="Received command
> for unrecognized interface: iid=org.eclipse.tptp.eventProvider,
> cmd=listenerAccepted" severity="50" version="1.0.1">
> <sourceComponentId component="AgentController"
> componentIdType="TPTPComponent"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\transport\TPTPClientCompTL\Connect2AC.c,
> line 2238" instanceId="1004" location="D-19187.synapse.com"
> locationType="IPV4" processId="5068" subComponent="Client Compatibility
> TL" threadId="3392" componentType="Eclipse_TPTP"/>
> <situation categoryName="ReportSituation">
> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" reasoningScope="INTERNAL"
> reportCategory="LOG"/>
> </situation>
> </CommonBaseEvent>
> <CommonBaseEvent creationTime="2009-06-29T10:14:16.010000Z"
> globalInstanceId="AB20B77AD92A494C89F20314FA5879E4" msg="File server
> started listening on port 10005" severity="10" version="1.0.1">
> <sourceComponentId component="AgentController"
> componentIdType="TPTPComponent"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\transport\TPTPClientCompTL\fileServer.c,
> line 177" instanceId="1004" location="D-19187.synapse.com"
> locationType="IPV4" processId="5068" subComponent="Client Compatibility
> TL" threadId="5724" componentType="Eclipse_TPTP"/>
> <situation categoryName="ReportSituation">
> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" reasoningScope="INTERNAL"
> reportCategory="LOG"/>
> </situation>
> </CommonBaseEvent>
> <CommonBaseEvent creationTime="2009-06-29T10:24:16.303000Z"
> globalInstanceId="A748FF3B793648329855F52FDCFD88E2" msg="A
> processExitedEvent was received for which we have no corresponding agent."
> severity="30" version="1.0.1">
> <sourceComponentId component="AgentController"
> componentIdType="TPTPComponent"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agentController\AgentManager.c,
> line 3006" instanceId="1" location="D-19187.synapse.com"
> locationType="IPV4" processId="5068" subComponent="Agent Manager"
> threadId="4892" componentType="Eclipse_TPTP"/>
> <situation categoryName="ReportSituation">
> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" reasoningScope="INTERNAL"
> reportCategory="LOG"/>
> </situation>
> </CommonBaseEvent>
> <CommonBaseEvent creationTime="2009-06-29T10:24:16.303000Z"
> globalInstanceId="A6F932D7D3644704A24FE7F8D0EAE004" msg="A
> processExitedEvent was received for which we have no corresponding agent."
> severity="30" version="1.0.1">
> <sourceComponentId component="AgentController"
> componentIdType="TPTPComponent"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agentController\AgentManager.c,
> line 3006" instanceId="1" location="D-19187.synapse.com"
> locationType="IPV4" processId="5068" subComponent="Agent Manager"
> threadId="4892" componentType="Eclipse_TPTP"/>
> <situation categoryName="ReportSituation">
> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" reasoningScope="INTERNAL"
> reportCategory="LOG"/>
> </situation>
> </CommonBaseEvent>
> <CommonBaseEvent creationTime="2009-06-29T10:24:16.303000Z"
> globalInstanceId="AF82444B415647849C91EA81C1A9DD7E" msg="A
> processExitedEvent was received for which we have no corresponding agent."
> severity="30" version="1.0.1">
> <sourceComponentId component="AgentController"
> componentIdType="TPTPComponent"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agentController\AgentManager.c,
> line 3006" instanceId="1" location="D-19187.synapse.com"
> locationType="IPV4" processId="5068" subComponent="Agent Manager"
> threadId="4892" componentType="Eclipse_TPTP"/>
> <situation categoryName="ReportSituation">
> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" reasoningScope="INTERNAL"
> reportCategory="LOG"/>
> </situation>
> </CommonBaseEvent>
> <CommonBaseEvent creationTime="2009-06-29T10:24:16.163000Z"
> globalInstanceId="ADD32AE53CCD4C9DB13D11FA818DDC63" msg="PC
> handleProcessEvents: Process has exited with status 0." severity="50"
> version="1.0.1">
> <sourceComponentId component="ProcessController"
> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.1\TPTP-4.4.1-200802230953\agnt ctrl\src\agents\tptpProcessController\ProcessController_md.c pp,
> line 284" instanceId="101" location="D-19187.synapse.com"
> locationType="IPV4" processId="4284" subComponent="ProcessController"
> threadId="4360"/>
> <situation categoryName="ReportSituation">
> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation"/>
> </situation>
> </CommonBaseEvent>
>
>
> Also after getting the list of agent to attach for the first time starting
> the jboss server and launching the monitor, when i come again in the
> profile configuration option to attach an agent, i don't get agents and it
> says
> Error retrieving agents - see log for more details.
>
>
>
>
|
|
| | | | | |
Re: Profiling Web Application on JBOSS Attaching an Agent [message #143085 is a reply to message #143059] |
Thu, 09 July 2009 10:27 |
surbhigl Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hi,
I also tried running the profiler, changing the filter settings. In some
instances i got the following traces in the log.
Informative 07/09/09 09:52:43 2064 3 CClassRedefThread Received request to
to redefine 6 classes. isBlocking = 1
Informative 07/09/09 09:52:43 3572 3 CJavaInstrumentorManager [ClassRedefThreadProc]
6 classes successfully redefined
...................
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 5, buffer size = 1, buffer
actual size = 5)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
Informative 07/09/09 09:53:17 1184 3 CJVMTIInterface [GetLineNumberTable]
user-supplied buffer is too short. table size = 2, buffer size = 1, buffer
actual size = 2)
But i could not get any profiling data in the profiler view.
JBOSS run out of memory after trying multiple times.
|
|
|
Re: Profiling Web Application on JBOSS Attaching an Agent [message #143131 is a reply to message #143067] |
Mon, 13 July 2009 19:20 |
Eugene Chan Messages: 287 Registered: July 2009 |
Senior Member |
|
|
Hi Surbhigl,
Re the IAC vs AC, did you have a standalone Agent controller running and
have it setup to use port 10006?
I read your original posting again and see that you are using 441 with JRE
1.6. JRE 1.6 was not support with TPTP 441. If you have to use JRE 1.6,
please tried with latst TPTP release v4.6.
Eugene
"surbhigl " <surbhi.mittal@globallogic.com> wrote in message
news:78be54d9da49d160be169be6838007e3$1@www.eclipse.org...
> Hi,
>
> I have again tried launching the agent controller along with jboss and
> attaching the agent from the eclipse.
> This time it worked little further and started generating the log. I made
> changes in the environment variables and altered path environment variable
> to add absolute paths instead of using their created Home environment
> variables. Secondly, in the eclipse when i go to Profile dialog -> Attach
> An Agent, I have added another host i.e. localhost:10006. There was an
> entry localhost:10002. This was for IAC so I think the problem was this.
> After making all these changes, and using filter setting for my packages,
> it appears it starts to profile but with no success.
> Here is the trace from Mlog containing error :
>
> Informative 07/09/09 08:55:25 1588 3 CClassRedefThread Received request to
> to redefine 157 classes. isBlocking = 1
>
> Informative 07/09/09 08:55:33 4876 3 CGAdaptor Class
> com/one/administration/degreearea/delegate/DegreeAreaCnstDel egate was not
> instrumented because all its methods were excluded
> Informative 07/09/09 08:55:33 4876 3 CGAdaptor Class
> com/one/memberships/creditcard/delegate/CreditCardDelegate was not
> instrumented because all its methods were excluded
> Informative 07/09/09 08:55:37 2744 3 CGAdaptor Class
> com/one/csf/struts/form/SourceCodeForm was not instrumented because all
> its methods were excluded
> Informative 07/09/09 08:55:37 2744 0 CDataManager Class
> 'com/one/csf/struts/form/SourceCodeForm' has wrong instrumentation, but
> will not be redefined due to user-defined filters or an internal reason
> Informative 07/09/09 08:55:37 2744 3 CGAdaptor Class
> com/one/csf/struts/action/SourceCodeAction was not instrumented because
> all its methods were excluded
> Informative 07/09/09 08:55:37 2744 3 CGAdaptor Class
> com/one/csf/struts/action/SourceCodeAction was not instrumented because
> all its methods were excluded
> Informative 07/09/09 08:55:37 2744 0 CDataManager Class
> 'com/one/csf/struts/action/SourceCodeAction' has wrong instrumentation,
> but will not be redefined due to user-defined filters or an internal
> reason
> Informative 07/09/09 08:55:37 2744 3 CGAdaptor Class
> com/one/csf/audittrail/AuditTrail was not instrumented because all its
> methods were excluded
> Informative 07/09/09 08:55:37 2744 3 CGAdaptor Class
> com/one/csf/audittrail/AuditTrailException was not instrumented because
> all its methods were excluded
> Informative 07/09/09 08:55:40 4876 0 CJVMTIInterface RedefineClasses:
> failed to redefine 1 classes. JVMTI Error: 110
>
> Error 07/09/09 08:55:40 4876 0 CJavaInstrumentorManager RedefineClasses
> failed. Instrumented classes may be in inconsistent state
>
> And Jboss shutdown with the following errors:
> [Error: EC JPIAgent received message (FATAL ERROR): Internal error (see
> log file).]
>
> Thanks,
>
|
|
| |
Goto Forum:
Current Time: Mon Sep 23 01:41:26 GMT 2024
Powered by FUDForum. Page generated in 0.05087 seconds
|