users@glassfish.java.net

Re: Problems with enable-secure-admin

From: <forums_at_java.net>
Date: Mon, 5 Sep 2011 01:32:01 -0500 (CDT)

Hi Tim,

thanks for your reply. I have checked the domain.xml file. There is no
secure-admin element.

In the server log there is a error message
"[#|2011-09-05T08:24:00.090+0200|INFO|glassfish3.1.1|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=85;_ThreadName=Thread-2;|Benutzer
[admin] von Host localhost verfügt über keinen Administrationszugriff oder
die Angaben für Benutzername und Passwort sind falsch|#]" That means: "User
[admin] from host localhost has no administration access or username and
password are invalid". But the username and password are the same as I use
for the administration console.
 

asaamin uptime works fine

There is no file ~/.asadmintruststore but I think this will be generated
after the secure admin is enabled. I have another strange thing, maybe this
depends on the other problem. If I try to change the master password from
default I got the following error message:

[root_at_glassfish bin]# ./asadmin change-master-password
Geben Sie das aktuelle Master-Passwort ein>  
das neue Master-Passwort eingeben>
das neue Master-Passwort erneut eingeben>
Keystore was tampered with, or password was incorrect
 

The first password is the standard password "changeit" and it works if I try
to access the keystore....

Do you have any idea?

David


--
[Message sent by forum member 'd.zinzius']
View Post: http://forums.java.net/node/838746