admin@glassfish.java.net

The Admin Console in today's build (10/9)

From: Kim Haase <Camilla.Haase_at_Sun.COM>
Date: Fri, 09 Oct 2009 13:07:40 -0400

Running today's build (glassfish-v3-b67-10_09_2009.zip) on Solaris, I
see the following problems. Which of these are a reflection of the
incomplete state of the Admin Console reimplementation, and which should
I report as issues?

The Admin Console still takes a very long time to load, even longer than
before, I think (a minute and a half or so):

Oct 9, 2009 11:04:36 AM
com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
INFO: The Admin Console is loading...
  ...
Oct 9, 2009 11:06:15 AM
com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
INFO: The Admin Console application is loaded.

When the Console first opens, the Please Register window is over to the
right side of the window instead of being centered in the Common Tasks
area as before. Is this intentional?

After I click Remind Me Later, there are a couple of flashes before the
window loads (in one of the flashes the tree nodes are centered instead
of being left-aligned). (On subsequent reloads, the left tree changes
from big to small font and back.)

When I click the Update Tool node, it takes quite a while to load. I
guess the performance improvements don't extend there (it must need to
load a lot of info).

A couple of builds ago, when I started the domain, the server log showed
messages listing available updates, and when I looked in the Available
Updates tab of the server log, there they were. At least, I seem to
remember this.

With the 10/9 build I do not see these messages; instead I see

Oct 9, 2009 11:12:11 AM
com.sun.enterprise.registration.glassfish.PingService$1 run
INFO: Total number of available updates : 0

And the Available Updates table is empty.

If I expand the Connectors node, click the Connector Resources node,
then click the JDBC node, the font size for the tree and the JDBC page
becomes very small. If I then click the Connector Resources node again,
the font size goes back to normal.

If I then create three JMS resources using the cli, then expand the JMS
Resources node and click JMS Connection Factories,

   a) The font size goes small again.
   b) Although the connection factory appears in the table, the tree
nodes have not been refreshed with triangles to reflect the new objects
under the JMS Resources and Connectors nodes (but these nodes are still
open, so that bug is fixed!). If I close the nodes and expand them
again, the new objects still don't appear. (The font size is still small.)

I then click the Virtual Servers node. The font size gets big again, and
when I return to the Connectors node the font size is okay. The object
still don't show up in the tree, though, when I close and expand it.
What does it take? If I close the Admin Console window and then reopen
it in another browser tab, the tree reflects the changes. I shouldn't
have to do that.

If I leave the console alone for a while and then go back to it and
click on a node (in this case Update Tool), what fills the right area is
not the Update Tool page but the login page, more or less -- big grayish
area with copyright notice below it. The title bar says "Login" and the
URL is http://localhost:4848/common/index.jsf. Clicking on any other
node has no effect. I have to reload the Admin Console in another
browser tab again.

But after I reload the Admin Console and click Update Tool, I get a
popup saying, "Error (500) loading
http://localhost:4848/updateCenter/addOn.jsf?bare=true: Internal Server
Error". The server log stack trace begins,

Oct 9, 2009 1:03:53 PM org.apache.catalina.core.StandardWrapperValve log
WARNING: StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service()
for servlet FacesServlet threw exception
java.lang.NullPointerException
         at
org.apache.jasper.compiler.TagLibraryInfoImpl.toString(TagLibraryInfoImpl.java:124)
         at java.lang.String.valueOf(String.java:2826)
         at java.lang.StringBuilder.append(StringBuilder.java:115)
         at java.util.AbstractMap.toString(AbstractMap.java:490)
         at java.lang.String.valueOf(String.java:2826)

Nodes other than Update Tool seem to work okay.


Thanks,
Kim