NetBeans GlassFish Server 4.0 failed for another server running on administrator port
Solution 1
To fix this I opened Services > Servers > GlassFish Server 4.0 > Properties
. Then removed user and password (totally blank) and suddenly it worked.
Solution 2
Deleting the servers' username and password is the easiest way to fix it...
Solution 3
I had the same problem... I think the problem was in password. I don`t know why or how it happened but my glassfish password changed yesterday and it happened also today, so if someone is going through this problem, try to check your password in folder c:...\AppData\Roaming\NetBeans\7.4\config\GF_4.0\domain1\config\local-password
Solution 4
This case maybe cause by:
- An other previous application
- Other Glassfish instance is running.
You can do these solutions:
- After installing, we call Glassfish directory called %GLASSFISH_HOME%
. Look for
`%GLASSFISH%`\glassfish\bin\stopserv.bat
then run this file (in Windows), if you use Linux or MacOS, try something similar. (For example: in my computer: C:\tools\glassfish4\glassfish\bin\startserv.bat
).
- Restart computer (the same as comments below the question).
user273371
Updated on June 05, 2022Comments
-
user273371 about 2 years
Based on the title pretty much explain my problem.
I tried deployed my Web Service and the error pop up stating that
GlassFish Server 4.0: Authorization failed for another server running on administrator port
.Anyone know how to deal with this problem? I checked with
Tools -> Server
and it just show the GlassFish Server 4.0 and no other servers running. -
Juan José Melero Gómez over 8 yearsIn GlassFish 4.1. I think this file can be located in C:\Users\your_user\AppData\Roaming\NetBeans\8.0\config\GlassFishEE6\Properties.
-
Ralphkay over 7 yearsHowever, a restart is required [important].