JVM debug port 7779 is in use

孤街浪徒 提交于 2019-12-03 08:46:31

I got the issue fixed. I was able to change the debug port number. Below are the steps

  1. Start the server in normal mode (ctrl+Alt+R).
  2. Go to application server configuration window.
  3. Click on Debugging service under "Additional properties"
  4. Update the JVM debug port e.g. 7780
  5. Update JVM debug arguments for address e.g. refer the address=7780 for the below entry

-Dcom.ibm.ws.classloader.j9enabled=true -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7780

  1. Click on apply
  2. Click on save
  3. Stop the server
  4. Start the server in debug mode (ctrl+Alt+D).

Response to your first question: Open the command line and enter the following command to list all the port numbers(IP with port number) and the process id for the respective port: netstat -ano You can kill the process for the required port with the command : taskkill -f /PID <PID_NO>

For instance, you'll see four columns something like 0:0:0:port_no and 1234(last column - PID) then execute the command taskkill -f /PID 1234.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!