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.
Summary: | Active process marker does not appear after closing+reopening server output tab | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Petr Jiricka <pjiricka> |
Component: | GlassFish | Assignee: | Vince Kraemer <vkraemer> |
Status: | NEW --- | ||
Severity: | normal | CC: | phejl |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Jiricka
2010-07-30 09:47:51 UTC
in the one case, the IDE is reading from the process that got started by the start command. in the second case, the actual server log file is getting read, by polling. there is no 'connection' between the process and the output window. cosmetic issue With new log reader code 'View Server Log' action reads from PipedInputStream and LogViewMgr class has no chance to know if it's reading from local or remote server. Current tests like if (ignoreEof) { // read from file case... not associated with a process... // make sure there is no star io.getErr().close(); io.getOut().close(); } based on ignoreEof = serverLog.getInputStream() instanceof FileInputStream check do not work. Window opened after 'View Server Log' action is now marked as being read from active process even when server process is not running. The only way to get this working properly is to link process marker with process status returned by GlassFishStatus class checks. Those status checks are remote calls to server administration interface and their cost is to high to do them with every log window write. We should cache last status check for every server instance (what is already being done) and use it to set process marker with every window write. Targeting for next release. |