|
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 Messages: 287 Registered: July 2009 |
Senior Member |
|
|
Hi Alex,
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)?
Eugene
"alexk " <akopylov@sympatico.ca> wrote in message
news:2a975ada81dd6f70acbebc4716c34e0a$1@www.eclipse.org...
> Hi,
>
> 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
> java.lang.NoClassDefFoundError:
> 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.
>
> Alex
>
|
|
|
Powered by
FUDForum. Page generated in 0.02094 seconds