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.

Bug 60398 - Attach to automatically started integrated Tomcat using PID doesn't work
Summary: Attach to automatically started integrated Tomcat using PID doesn't work
Status: VERIFIED WONTFIX
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-22 18:42 UTC by Jiri Sedlacek
Modified: 2007-04-03 14:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2005-06-22 18:42:05 UTC
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.
Comment 1 Jiri Sedlacek 2005-06-22 19:14:11 UTC
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.
Comment 2 iformanek 2005-06-23 10:25:58 UTC
Fixed post RC1 of M7
Comment 3 iformanek 2005-06-23 11:05:58 UTC
Marking as M8, so that it does not come as as part of remaining M7 work.
Comment 4 Jiri Sedlacek 2005-09-23 16:18:47 UTC
Lowering priority as the current workaround works well.
Comment 5 Jiri Sedlacek 2005-12-12 07:13:49 UTC
Seems to work fine, will investigate more after 1.0 if problems occur.
Comment 6 Jiri Sedlacek 2007-01-08 23:29:12 UTC
Won't do anything more as 1.4.2 profiling support has been discontinued.
Comment 7 Jiri Sedlacek 2007-04-03 14:39:33 UTC
Verified.