Home » Glassfish, Java, Recovery, Security

User [admin] from host null does not have administration access

23 November 2011 No Comment

I should admit, I didn’t read the Glassfish 3.1 Administration Manual, and I don’t know if this is documented. Anyway the main problem appeared when I tried to connect on my cluster instances with admin credentials. If I connect with VisualVM or JConsole to Domain Administration Server (DAS) on 8686 I don’t have any problem. When I’m trying to connect to my cluster instances on port 28686 with admin credentials I get from JConsole

Connection Failed: Retry?

The connection to admin@rb.randombugs.com:28686 did not succeed.
Would you like to try again?

and on server.log

[#|2011-11-23T12:12:40.599+0000|INFO|glassfish3.1.1|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=34;_ThreadName=Thread-2;|User [admin] from host null does not have administration access|#]

I tried in several ways to see why doesn’t work, but I didn’t have to much time to found the real problem (anyway is very possible to be documented on Glassfish Administration Manual).

A workaround to this problem (or can I say feature?) is to create another user on your configuration profile on admin-realm (Configurations->cluster-config->Security->Realms->admin-realm) within asadmin Group.

You don’t need to restart anything it should instantly work.

Success!


Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.