简体   繁体   中英

Error when starting Glassfish Server. Password Required at localhost

Has anyone ever seen this kind of error? This is shown when i'm trying to deploy the Glassfish Server App

You can see Screenshots here:

需要Glassfish错误密码

Glassfish Error错误的用户名或密码

It is in Italian Language and I don't know how to change it in English (if anyone know please tell me how and I rewrite it for you).

I have not set any password for the Glassfish Admin Console I'm sure. The error is displayed in the last line and translated into English is:

Information: User [root] host 127.0.0.1 does not have access for administration or you have typed user name and password incorrect

在glassfish 4中, 密码对我有效。

If an admin passowrd was mentioned at the time of domain-creation; the same password has to be mentioned during configuring glassfish server in eclipse.

ALSO, make sure that the option ' Use Anonymous Connection for Admin Commands ' is ' UNCHECKED '. By default, it will be in checked mode.

GlassFish Eclipse配置

You could see this option by double clicking on the ' GlassFish xxxxx server ' entry in 'Servers' palette, in eclipse.

Thanks,
Raj, Linu.

When installing for the fist time glassfish creates a default domain "domain1". The user is admin and the password is adminadmin. You should double check that eclipse is using this "domain1".

If you can't make it work a simple solution would be create a new domain in glassfish assigning a new user and password and configure eclipse to use this new domain.

Before trying anything in eclipse the first troubleshoot would be entering the admin console from a browser. If Im not wrong the default port of domain1 is 4848.

Regarding XDB error, i was able to login to admin console, uncheck the security under system-config->http services->http-listeners->xxxxxx. Once i unchecked the security and try to log back in, it did not prompted the login and gave me screen showing server status

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM