quality@glassfish.java.net

Re: not able to install admin gui

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Sat, 23 Aug 2008 07:53:59 -0700

Hi,
Sorry about the confusion relating to the port # and context root in accessing Admin Console.   Please see the attached email from Kedar.

For promoted build #20:    you should use  http://localhost:8080/admin

There is no way to access the admin console from nightly build before 8/22.

Starting from nightly build of 8/23,   and promoted build of 21 (when it is available),   to access the console, you go to  http://localhost:4848/

thanks
Anissa

Survivant 00 wrote:
I just installed the promoted build b20.

when I enter http://localhost:4848 and click on the link  To manage the server, click here.

I been redirect to http://localhost:4848/admin

when I click on OK (DIRECT is selected)

I obtain a javascript error :
[Exception... "'JavaScript component does not have a method named: "onRefreshAttempted"' when calling method: [nsIWebProgressListener2::onRefreshAttempted]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]

Line 0

HOW can I install the console ?


and I have another problem

I enter http://localhost:8888/empty  (dummy name)

I receive a popup to download "empty"  which is a : application/octet-stream

Save or Open.

and got this nice error in the console

INFO: AdminConsoleAdapter's STATE IS: Application is not yet installed ...
2008-08-23 06:47:44 GenericConnectorServer ClientCreation.run
ATTENTION: Failed to open connection: java.io.StreamCorruptedException: invalid
stream header: 47455420
java.io.StreamCorruptedException: invalid stream header: 47455420
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783
)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
        at com.sun.jmx.remote.socket.SocketConnection$ObjectInputStreamWithLoade
r.<init>(SocketConnection.java:394)
        at com.sun.jmx.remote.socket.SocketConnection.readMessage(SocketConnecti
on.java:244)
        at com.sun.jmx.remote.opt.security.AdminServer.connectionOpen(AdminServe
r.java:116)
        at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl.connect
(ServerSynchroMessageConnectionImpl.java:98)
        at javax.management.remote.generic.GenericConnectorServer$ClientCreation
.run(GenericConnectorServer.java:443)
        at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(Thread
Service.java:248)
        at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:99)


Should I get a 404 error instead ?


attached mail follows:



Per [1] below, we had to make admin port for all GlassFish
v3 Prelude distributions to be 4848. Issue [2] describes the
issue to be used to track this problem. The biggest motivation
is to be compatible with V2.

For asadmin users, the defaults are already taken care of. If you
are just invoking asadmin commands with --port, you should be OK.
If you are specifying --port, it should now take the value of
admin port (4848) rather than user port (8080, by default).

For NetBeans plugin, Peter is going to make
changes so that all admin requests are handled at admin port.

For admin GUI, the default URL is now http://host:4848 and currently
we are experiencing some issues that are being worked on.

For the web-requests, (you know you could manage v3 by just connecting
to browser) you need to enter http://host:4848/__asadmin/<cmd> instead of
http://host:8080/__asadmin/<cmd>.

These changes will be available in *b21*. (not b20, which is almost out).

For any questions, please contact me.

Regards,
Kedar

[1]
https://glassfish.dev.java.net/nonav/v3/admin/planning/prelude/admin-user-port-separation.html
- Revision 1.4

[2]
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: dev-help_at_glassfish.dev.java.net