Reputation: 43
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.
Upvotes: 2
Views: 21231
Reputation: 809
I know it's an old post and this may be a little late;
But I got it running by removing the server from the IDE and then adding it again with the credentials initialized from the beginning (in the configuration dialog you have to go through to add the server)
Hope it Helps anybody.
Upvotes: 0
Reputation: 21
Deleting the servers' username and password is the easiest way to fix it...
Upvotes: 2
Reputation: 111
To fix this I opened Services > Servers > GlassFish Server 4.0 > Properties
. Then removed user and password (totally blank) and suddenly it worked.
Upvotes: 11
Reputation: 52488
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).
Upvotes: 1
Reputation: 11
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
Upvotes: 1