Xerces problem when profiling Tomcat [message #116440] |
Mon, 29 October 2007 06:07  |
Eclipse User |
|
|
|
Originally posted by: svileng.gmail.com
Hello,
I'm tryng to profile a web application running on Tomcat 5.5.20 using
AgentController 4.4.0.0.
What is happening exactly is when I start the tomcat server with
"-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf" It starts to some
point and then error message like this is displayed:
"[Error: EC JPIAgent received message (FATAL ERROR): Internal error (see
log file).]".
This message is not very informative so I turned on MARTINI logger with
debug level.
What I saw at the end of the log file was like this:
Informative 10/29/07 09:48:42 4740 5 CJVMTIInterface ClassPrepare event
received: class = 'Lorg/apache/xerces/impl/xs/XMLSchemaValidator;',
generic = '(null)'
Error 10/29/07 09:48:42 4740 0 CDataManager File: DataManager.cpp (Line:
1568) condition failed: uiJVMPIMethodIndex < uiJVMPINumMethods
So I assumed that this is related to a problem during instrumentation of
xerces distribution I use with Tomcat (I just have a xercesImpl.jar in
<tomcat_dir>\common\lib). Removing xerces is not an option of course.
I looked up at the agent controller documentation an discovered that there
is filtering of which classes to be included/excluded but It doesn't seems
to work. I've placed filters.txt in the tomcat/bin directory (which should
be the current working dir) but I'm still getting the same error.
Anyway, according the documentation, the filter should be available only
to "standalone" mode and I really would like to use "enabled" mode.
Makes me wonder hasn't anybody profiled and application using xerces ,
because I wasn't able to find anything on the subject over the internet.
I have this problem for several days now and Its driving me crazy.
Please help!
|
|
|
|
|
|
Re: Xerces problem when profiling Tomcat [message #116854 is a reply to message #116440] |
Wed, 31 October 2007 06:49  |
Eclipse User |
|
|
|
Svilen Genchev wrote:
> Hello,
>
> I'm tryng to profile a web application running on Tomcat 5.5.20 using
> AgentController 4.4.0.0.
>
> What is happening exactly is when I start the tomcat server with
> "-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf" It starts to
> some point and then error message like this is displayed:
> "[Error: EC JPIAgent received message (FATAL ERROR): Internal error (see
> log file).]".
>
> This message is not very informative so I turned on MARTINI logger with
> debug level. What I saw at the end of the log file was like this:
>
> Informative 10/29/07 09:48:42 4740 5 CJVMTIInterface
> ClassPrepare event received: class =
> 'Lorg/apache/xerces/impl/xs/XMLSchemaValidator;', generic = '(null)'
> Error 10/29/07 09:48:42 4740 0 CDataManager File:
> DataManager.cpp (Line: 1568) condition failed: uiJVMPIMethodIndex <
> uiJVMPINumMethods
>
> So I assumed that this is related to a problem during instrumentation of
> xerces distribution I use with Tomcat (I just have a xercesImpl.jar in
> <tomcat_dir>\common\lib). Removing xerces is not an option of course.
This seems like a bug in JVMTI Runtime. Please open a Bugzilla for the
TPTP Project, Profiler component at http://bugs.eclipse.org/bugs
Make sure to include this information in the bug details, along with the
OS, Eclipse, TPTP and Java versions you are using.
Thanks,
Asaf
--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
|
|
|
Powered by
FUDForum. Page generated in 0.25390 seconds