LoginSignup
0
0

More than 3 years have passed since last update.

There is a process already using the admin port となった時の対応方法

Last updated at Posted at 2020-04-23
  • 環境
    • Windows 10 Pro 64bit バージョン1909
    • GitBash(mintty 3.1.0)
    • Payara Server 5.194

事象 : Payaraを起動しようとしたら怒られた

起動しようとしてAttempting to start domain1.... Please look at the server log for more details.....というメッセージが表示された。
そして、起動していないのかと思ってもう一度起動しようとした。

$ asadmin start-domain domain1
There is a process already using the admin port 4848 -- it could be another instance of Payara Server or Payara Micro.
Command start-domain failed.

原因 : 既に起動しているから

ポートを確認すると既に使われている。
http://localhost:4848 を表示すると既にPayaraは起動していた。

$ netstat -nao | grep 4848
  TCP         0.0.0.0:4848           0.0.0.0:0              LISTENING       18056
  TCP         [::]:4848              [::]:0                 LISTENING       18056

対応 : 既に起動しているので何もしない

気になる場合は、既に起動しているPayaraを停止してもう一度起動する。
Payara の起動と停止 — intra-mart Accel Platform セットアップガイド (Payara編)   第4版 2020-04-01   intra-mart Accel Platform

気になる場合は、既に起動しているPayaraを停止
$ asadmin stop-domain domain1
Waiting for the domain to stop .
Command stop-domain executed successfully.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0