Java NetBeans GlassFish Server 4.0 在管理员端口上运行的另一台服务器失败
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20135400/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
NetBeans GlassFish Server 4.0 failed for another server running on administrator port
提问by user273371
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
.
我尝试部署了我的 Web 服务,并弹出错误说明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.
有谁知道如何处理这个问题?我检查了一下Tools -> Server
,它只显示 GlassFish Server 4.0,没有其他服务器在运行。
回答by user3303715
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
我有同样的问题......我认为问题出在密码上。我不知道为什么或如何发生,但我的 glassfish 密码昨天更改了,今天也发生了,因此如果有人遇到此问题,请尝试在文件夹 c:...\AppData\Roaming\NetBeans\ 中检查您的密码7.4\config\GF_4.0\domain1\config\local-password
回答by Raghavendra Rao PV
To fix this I opened Services > Servers > GlassFish Server 4.0 > Properties
. Then removed user and password (totally blank) and suddenly it worked.
为了解决这个问题,我打开了Services > Servers > GlassFish Server 4.0 > Properties
. 然后删除用户和密码(完全空白),突然它起作用了。
回答by Do Nhu Vy
This case maybe cause by:
- An other previous application
- Other Glassfish instance is running.
这种情况可能是由以下原因造成的:
- 另一个以前的应用程序
- 其他 Glassfish 实例正在运行。
You can do these solutions:
- After installing, we call Glassfish directory called %GLASSFISH_HOME%
. Look for
您可以执行以下解决方案:
- 安装后,我们将 Glassfish 目录称为%GLASSFISH_HOME%
. 寻找
`%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).
然后运行此文件(在 Windows 中),如果您使用 Linux 或 MacOS,请尝试类似的操作。(例如:在我的电脑中:)C:\tools\glassfish4\glassfish\bin\startserv.bat
。
- 重新启动计算机(与问题下方的评论相同)。
回答by Taleh
Deleting the servers' username and password is the easiest way to fix it...
删除服务器的用户名和密码是修复它的最简单方法......
回答by Fabian Schneider
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)
但是我通过从 IDE 中删除服务器然后使用从一开始就初始化的凭据再次添加它来运行它(在配置对话框中,您必须通过添加服务器)
Hope it Helps anybody.
希望它可以帮助任何人。