Apache Tomcat shuts down immediately after starting due to port bind on 8005
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
When trying to start Jira using the Jira service or the start-jira.bat the tomcat immediately shutdowns with an error
java.net.BindException: Address already in use: JVM_Bind
環境
- Jira Software 8.x / Jira Service Management 4.x or above
診断
On Linux, check Jira-Install-dir/log/catlina.out log.
On Windows check Jira-Install-dir\jira-{version}-stdout(or stderr).{date}.log
原因
After the application of some recent Windows Patch, It is observed that it was SCCM software Update Express (CcmExec process) or some other services which were using the Tomcat port 8005 and the port was set to 8005 by default, which may cause port binding errors.
ソリューション
- To determine the owner of port 8005, run netstat -abno using the command prompt.
- Modify the tomcat shutdown port to any other port in the server.xml file which is under <Jira-Install-dir>/conf/server.xml
- Under <Jira-home-dir> remove the .jira-home.lock
- Jira を再起動します。