Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 Error Password Required

Glassfish Error Wrong user name or password

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

like image 986
Aerox Avatar asked Dec 03 '22 06:12

Aerox


2 Answers

In glassfish 4, empty password worked for me.

like image 194
Sri Avatar answered Dec 05 '22 18:12

Sri


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 Configuration

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

Thanks,
Raj, Linu.

like image 39
Linu Raj Avatar answered Dec 05 '22 18:12

Linu Raj