Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I reach Glassfish admin gui?

Either I start Glassfish domain from NetBeans or from the asadmin console, I can't reach the admin panel.

When I navigate to http://localhost:4848, first there's a page saying "The Admin Console is starting. Please wait.", then it tries to redirect to a page having title "Login", but it loads, loads, loads forever. My CPU usage reaches 100% and nothing happens until I stop the server.

I tried Glassfish v3.1, v3.1.2 and also the freshest v4.0, without any modification.

About a year ago, v3.1 worked for me; I have no idea what could happen.

The server log says Glassfish can't find image files.

I uploaded the server log here: http://notepad.cc/share/LvaZvH23sF

I read somewhere that renaming the console-updatecenter-plugin.jar, and the NO_NETWORK=true option can solve similar problems, but these couldn't help for me.

I use JDK 7, and I'm on Windows 7 if it matters.


(edit) Summarizing what happened, from my past comments:

  • The admin panel was unreachable in Google Chrome and Internet Exlorer.
  • I managed to reach the admin panel in Firefox, and even in Chrome's incognito mode, but the cause was not AdBlock.
  • Chrome dev console complained about a 404 error.
  • After a while, I was able to reach the admin panel in Chrome, in normal mode too, so from that point I couldn't reproduce the problem.
like image 798
juzraai Avatar asked Aug 04 '13 09:08

juzraai


People also ask

How to restore the Admin Console in GlassFish server?

1.Go to Services tab then Servers then Glassfish Server 4.1 2.Right click on Glassfish Server 4.1 and click on the dropdown to list what under Glassfish Servers. 3.Expand Applications and undeploy all applications to start full receovery of the admin console. Show activity on this post.

What are my responsibilities as an administrator of GlassFish server?

As an administrator ofGlassFish Server, your main responsibilities are to establish a secure GlassFish Server environment and to oversee the services, resources, and users that participate in that environment.

How do I know if a domain is running in GlassFish?

For more information about starting a domain, see Starting and Stopping a Domain in Oracle GlassFish Server 3.1 Administration Guide. To easily determine if a domain is running, use the asadmin list-domains command. Was the Server Started at the Expected Port?

What are the default administration values for GlassFish server?

The following tables list the default administration values. For the zip bundle of GlassFish Server 5.0, the default administrator login is admin, with no password, which means that no login is required. Table 1-2 Default Locations For information about replaceable items and default paths and files, see Default Paths and File Names.


2 Answers

Try access the console in this url: http://localhost:4848/login.jsf In http://localhost:4848 redirect to http://localhost:4848/common/index.jsf and not work because the url not exists.

like image 127
dtelaroli Avatar answered Sep 21 '22 16:09

dtelaroli


When Running on Chrome you may get this error due to this issue. https://github.com/eclipse-ee4j/glassfish/issues/22439

Admin gui is accessible on Firefox though.

like image 33
aaronvargas Avatar answered Sep 21 '22 16:09

aaronvargas