I cannot debug my webapp on glassfish from eclipse because every time I start the app in debug mode I get the message "Wrong user name or password.". Although glassfish runs fine, in eclipse it says [stopped] and debugging is not possible (and you have to manually kill glassfish).
In "normal" operation glassfish runs with no warnings/errors so I had no clue where that comes from.
Nevertheless I changed all passwords, reinstalled certificates, reinstalled eclipse and plugins, created a new server instance, created a new workspace a.s.o. Nothing helped, so I finally looked into the code, just to find out, that in SunAppServer.getV3ServerStatus() there is a hardcoded 30 seconds time limit after it returns a CREDENTIAL_ERROR! I checked it - and of course - after exact those 30 seconds the message pops up.
1.) Change the error message to sth that doesn't mislead the developer
2.) Increase the timeout - or better make it configurable.