[英]Glassfish: There is no cluster named localhost in this domain
I am new to glassfish and java ee programming. 我是Glassfish和Java EE编程的新手。 I am using Netbeans.
我正在使用Netbeans。 When I try to deploy my web application to glassfish server, my project output shows
当我尝试将Web应用程序部署到glassfish服务器时,我的项目输出显示
The module has not been deployed.
And in the glassfish server log: 并在glassfish服务器日志中:
WARNING: There is no cluster named localhost in this domain.
SEVERE: There is no instance named localhost in this domain.
Any comment would be helpful. 任何评论将有所帮助。 thanks guys.
多谢你们。
In glassfish/domains folder is there a domain called domain1 (default name). 在glassfish / domains文件夹中,有一个名为domain1(默认名称)的域。 if not you need to create a new domain.
如果不是,则需要创建一个新域。 if there is one then make sure under glassfish/domains/domain1 a file domain.xml points to all instances of localhost
如果有,则确保在glassfish / domains / domain1下,一个文件domain.xml指向本地主机的所有实例
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.