[英]GlassFish 4 error starting domain domain1 listening for transport dt_socket at address: 9009 Error: could not find or load main class files
I am trying to run GlassFish4 on Windows 7. At glassfish4\\bin
I run asadmin start-domain -d
and I get the following error message:我正在尝试在 Windows 7 上运行 GlassFish4。在
glassfish4\\bin
我运行asadmin start-domain -d
并收到以下错误消息:
Waiting for domain 1 to start.
等待域 1 启动。 Error starting domain domain1.
启动域 domain1 时出错。 The server exited prematurely with exit code 1.
服务器过早退出,退出代码为 1。
Before it died, it produced the following output:
在它死之前,它产生了以下输出:
Listening for transport dt_socket at address: 9009 Error: could not find or load main class files.
在地址侦听传输 dt_socket:9009 错误:无法找到或加载主类文件。
Command start-domain failed
命令启动域失败
I checked the PATH
and CLASSPATH
and things appear to be ok but obviously something is wrong here.我检查了
PATH
和CLASSPATH
,事情似乎没问题,但显然这里出了点问题。
Can you try starting the domain without the -d
flag?您可以尝试在没有
-d
标志的情况下启动域吗? I think that is trying to it in debug mode.我认为这是在调试模式下尝试的。 Port 9009 is not a standard GlassFish port but is for JPDA debugging, which also uses
dt_socket
as a transport.端口 9009 不是标准的 GlassFish 端口,而是用于 JPDA 调试,它还使用
dt_socket
作为传输。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.