This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Fedora Core 2, NetBeans 4.1, Profiler M7 rc1, any Tomcat. When finishing AttachWizard (dynamic attach), integrated Tomcat is automatically started in xterm. When connecting to it using PID or Ctrl+\, Tomcat (correctly) stops and profiling session ends. When starting Tomcat using generated startup script manually, everything works fine. The behavior is like Tomcat gets Ctrl+C signal to shut down, there is no error message in Tomcat logfiles.
Integrated workaround which enables dynamically attaching to automatically started Tomcat. Now Tomcat is started using modified startup script via Runtime.exec() with "catalina.sh run >&1" instead of previous "catalina.sh run", which somehow filters out the signal to shutdown Tomcat. Leaving this issue open for further investigation.
Fixed post RC1 of M7
Marking as M8, so that it does not come as as part of remaining M7 work.
Lowering priority as the current workaround works well.
Seems to work fine, will investigate more after 1.0 if problems occur.
Won't do anything more as 1.4.2 profiling support has been discontinued.
Verified.