Glassfish服務器正在後臺運行,我無法停止,啓動或重新啓動進程。我知道,重新啓動系統將完成這項工作。有沒有其他的流程來阻止這個過程?Glassfish正在後臺運行
以下是詳細信息:
當我嘗試停下來,它說,這是domain1不運行:
C:\Server\glassfish4\glassfish\bin>asadmin stop-domain
CLI306: Warning - The server located at C:\Server\glassfish4\glassfish\domains\domain1 is not running.
Command stop-domain executed successfully.但是我能夠在網頁瀏覽器中打開管理控制檯爲http://localhost:4848/common/index.jsf
當我試圖啓動或重新啓動它拋出錯誤:
C:\Server\glassfish4\glassfish\bin>asadmin start-domain There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server. Command start-domain failed.
C:\Server\glassfish4\glassfish\bin>asadmin restart-domain Server is not running, will attempt to start it... There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server. Command restart-domain failed.
我試圖找到PID與
netstat -a -n -o
命令端口4848。我有兩個條目,但不是本地主機ID:TCP 0.0.0.0:4848 0.0.0.0:0 LISTENING 9116 TCP [::]:4848 [::]:0 LISTENING 9116
謝謝Shrini,它工作。 –
高興地幫助:) –
這是一個很好的做法,「接受」有用的答案,因爲它可以幫助未來訪問此問題的每個人。 –