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 68533 - Inconsistent tooltip on SJAS node
Summary: Inconsistent tooltip on SJAS node
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-11 10:40 UTC by Libor Kotouc
Modified: 2005-11-25 08:27 UTC (History)
2 users (show)

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 Libor Kotouc 2005-11-11 10:40:09 UTC
I have some doubts about a correctness of the tooltip of the SJAS node in the
Runtime tab.

1. consistency
Other servers has something like "host:port" description which is what a user is
interested in. I don't say that she is not interested in the admin port but
admin console can be run from a contextual menu.

2. usability
"host:port" pair can be easily used to see whether some server conflicts with
another one

I am CCing Jan Rojcek for help to decide what is correct.
Comment 1 _ ludo 2005-11-14 04:34:59 UTC
I am confused. The AS plugin does show this as the tooltip:
"Node representing J2EE administration server MACHINENAME:ADMINPORTNUMBER,
so host:port is shown for the admin server.

In the case of EE, an admin server cadn administer many instances each one with
a different instance port number, so this cannot be shown in one node.

Finally, when the admin server is not running, it is not possible to know the
instance(s) port(s) number.
Comment 2 Sherold Dev 2005-11-14 09:21:06 UTC
I see two options

1)

if the admin server is also a target server, the tooltip will show 

"http://localhost:8080/"

since the target port is what users are most interested in.

if the admin server is not also a target server, admin node will show

"http://localhost:4848/" and the target node will show "http://localhost:8080/"

2)

admin server node will always show 

"http://localhost:4848/"

not that good for users, since they won't be able to quickly find out what port
their apps will be deployed to

> Finally, when the admin server is not running, it is not possible to know the
> instance(s) port(s) number.

can't we just display last known value? btw, isn't this value stored in the
instance properties at least in case of PE?
Comment 3 Nitya Doraisamy 2005-11-17 21:17:10 UTC
It appears that what you are looking for is information regarding the http port
of the server.
The top level server node provides information regarding the connected port ie.
admin port.
There is an ENHANCEMENT 66435 already filed against the plugin for this.
Comment 4 Nitya Doraisamy 2005-11-21 19:09:10 UTC
Closing as duplicate of 66435 ie. plugin should provide the http port number of
the admin server in addition to the other properties of the registered
application server.

*** This issue has been marked as a duplicate of 66435 ***
Comment 5 Sherold Dev 2005-11-24 18:34:16 UTC
> It appears that what you are looking for is information regarding the http 
> port of the server.

This is true, but it is not exactly what this issue is about. This issue is
about inconsistency among appserver and other servers tooltips.

Even if we decide that appserver should show admin port and not the http port,
the tooltip should look like

"http://localhost:4848"

and not like

"Node representing J2EE administration server localhost:4848"

reopening...
Comment 6 _ ludo 2005-11-24 21:36:27 UTC
wontfix, until we have a spec to follow.
Where is it?
Comment 7 Sherold Dev 2005-11-25 08:27:58 UTC
The spec is here:

http://j2ee.netbeans.org/docs/promoe/j2ee-server-ui-spec-promoe.html#Node_Servers

Please note that the server status is shown by an icon badge instead of in the
tooltip now. Anyway, if we decided later that the status should be also in the
tooltip, it will be up to j2eeserver to adjust the tooltip provided by the plugin.