|Re: TPTP with Tomcat and server=controlled agent causes NoClassDefFoundError [message #140351 is a reply to message #139938]
||Thu, 12 February 2009 17:48
| Eugene Chan
Registered: July 2009
With WTP-TPTP integration, you can start the Tomcat instance in workbench in
profiling mode. It will enabled Tomcat with the necessary profiling option
automatically. However, the Tomcat server is started in enabled mode.
Were you running the profiling session in memory analysis(HeapProf) or
execution analysis(CGProf), or thread analysis(ThreadProf)?
"alexk " <email@example.com> wrote in message
> I recently started using TPTP.
> My configuration is as follows:
> - Eclipse 3.4
> - TPTP Agent Controller 4.5
> - Java 1.6
> - Windows Home edition
> I configured Tomcat to pick up Agent DLLs straight from the Eclipse
> integrated TPTP installation.
> Not to mention having a bit of small nuisances like no Monitor tab is
> present in Eclipse Profiling configuration, I was however able to run the
> process with "server=enabled" agent and see some profiling information,
> although this eventually killed the Tomcat process.
> When I tried "server=controlled", my web application running on Tomcat
> failed to start. The Tomcat log shows
> org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance
> of class org.springframework.web.context.ContextLoaderListener
> edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHas hMap
> My "just guess" is that because the "server=contolled" agent suspends the
> Tomcat until I attach to the process from Eclipse, the normal application
> initialization on Tomcat disrupts , so that it cannot find needed
> libraries anymore.
> Any ideas and help is highly appreciated.
Powered by FUDForum
. Page generated in 0.03054 seconds