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 236084

Summary: GlassFish 'View Domain Server Log' is not working
Product: serverplugins Reporter: ajeh
Component: GlassFishAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description ajeh 2013-09-17 19:59:36 UTC
Product Version = NetBeans IDE Dev (Build 201309130002)
Operating System = Linux version 2.6.35.14-96.PhenomX4full.fc14.x86_64 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

GlassFish 'View Domain Server Log' is not working. Did not work in 7.3.1 too.
Comment 1 TomasKraus 2013-09-20 13:02:38 UTC
What exactly is not working there? Please provide some reproduction scenario and more details about what were you doing and about GF setup (local/remote).
Comment 2 ajeh 2013-09-20 22:32:24 UTC
Go to Servers, select GlassFish, right click, select View Domain Server Log.
Nothing happens.
I don't know what local/remote means.
Comment 3 TomasKraus 2013-09-21 20:34:14 UTC
Local - server is running on the same machine as netbeans, you have access to server binaries. Remote - server running on remote machone, can't be started from NB.

Log reader uses different code for local and remote servers.
Comment 4 ajeh 2013-09-21 21:13:14 UTC
Local
Comment 5 ajeh 2013-11-06 18:05:48 UTC
And what is the resolution?
Comment 6 ajeh 2013-11-13 19:38:19 UTC
Still not fixed.
Comment 7 Stepan Zebra 2013-11-14 12:00:09 UTC
I've noticed that when multiple Output tabs are open, and one of those is the server log, but it's not the currently selected one, then calling the view log action doesn't switch to it.
I assume that's the issue here. Tomas, can you please re-evaluate?
Comment 8 ajeh 2013-11-14 16:37:03 UTC
No it's not. There is no log open because when the menu option is clicked, log does not open. Log cannot be opened if it does not open. If menu option does not do anything, there is no way to open log. As such I have no opportunity to open log and thus it cannot be open in another tab. There is no other tab because for it to be there, there has to be a function to open log which is not working. Therefore log opening is not possible because menu option does not open log.
Comment 9 Stepan Zebra 2013-11-14 17:26:08 UTC
(In reply to Stepan Zebra from comment #7)
> I've noticed that when multiple Output tabs are open, and one of those is
> the server log, but it's not the currently selected one, then calling the
> view log action doesn't switch to it.
> I assume that's the issue here. Tomas, can you please re-evaluate?

I also noticed now, that when the server log is already open, then after closing the whole Output window (not just the tab with the log), I need to invoke the view action twice before it shows up.
One more problem seems to be that when the Output window with the server log is minimized, then invoking the view action won't show up the log at all - maybe that's main problem.
Comment 10 TomasKraus 2013-11-15 16:52:16 UTC
The only problem is that I'm no longer assigned to GF plugin development. But I'll try to find some spare time and fix this issue.
Comment 11 ajeh 2013-11-15 21:26:17 UTC
(In reply to Stepan Zebra from comment #9)

> won't show up the log at all -
> maybe that's main problem.

You summed it up nicely: won't show up at all. Sweet music.
Comment 12 Petr Hejl 2015-08-25 12:05:27 UTC
Fixed in web-main 578aa0508891.
Comment 13 Quality Engineering 2015-08-26 01:23:46 UTC
Integrated into 'main-silver', will be available in build *201508260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/578aa0508891
User: Petr Hejl <phejl@netbeans.org>
Log: #236084 - GlassFish 'View Domain Server Log' is not working