JVM调试端口7779正在使用中 [英] JVM debug port 7779 is in use
问题描述
我正在使用RAD 8.当我以调试模式启动服务器时,它会显示一条错误消息,指出 JVM调试端口7779正在使用
。我有很多次这个问题因为我知道这个端口被RAD使用了。因此,我不得不在窗口任务管理器>进程下使用图像名称Java停止该过程。 但是我第一次遇到这个问题而没有在Window任务管理器
中运行这样的java进程。据我所知,目前IBM产品都没有使用此端口。 我甚至尝试重新启动系统并启动RAD,但问题仍然存在。
I am using RAD 8. When I start the server in debug mode, it displays a error message states that JVM debug port 7779 is in use
. I had this problem many times as I know this port was used by RAD. So I had to stop the process with image name "Java" under Window Task Manager>Processes. But however for the first time I face this issue without no such "java" process running in Window task manager
. In my knowledge none of the IBM product does use this port presently. I have even tried to restart my system and started the RAD, but still the issue remained same.
我删除了配置文件并重新创建一个新的。之后我开始调试更多。它开始没有任何错误。
I deleted the profile and re-created a new one. After that I started in debug more. And it started without any error.
但是为了从我的朋友服务器获取所有资源,我得到了他的.car文件。导入后我启动了服务器并遇到了同样的问题。现在想知道在导入.car文件时可能导致此端口出现问题的原因。
But again to get all the resources imported from my friends server, I got his .car file. After importing this I started the server and got the same issue. Now wondering what could cause this port used issue when just importing the .car file.
- 能告诉我如何知道哪个应用程序使用此端口以及如何停止
- 有没有办法在创建服务器配置文件时更改调试端口?我试图在配置文件创建中看到调试端口,但在任何地方都找不到。
- Can you please tell me how to know which application uses this port and how to stop it
- Is there a way I can change the debug port while creating the server profile? I tried to see the debug port in profile creation but didn't find anywhere.
如果你有朋友请与我分享有任何意见。如果我找到了这个的根本原因我将分享
Friends please share me if you have any input. I will share if I get the root cause of this
推荐答案
我解决了问题。我能够更改调试端口号。以下是步骤
I got the issue fixed. I was able to change the debug port number. Below are the steps
- 以正常模式启动服务器(ctrl + Alt + R)。
- 转到应用程序服务器配置窗口。
- 单击其他属性下的调试服务
- 更新 JVM调试端口例如7780
- 更新 JVM调试参数以获取地址,例如请参阅以下条目的地址= 7780
- Start the server in normal mode (ctrl+Alt+R).
- Go to application server configuration window.
- Click on Debugging service under "Additional properties"
- Update the JVM debug port e.g. 7780
- 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
- 点击申请
- 点击保存
- 停止服务器
- 以调试模式启动服务器(ctrl + Alt + D)。
- Click on apply
- Click on save
- Stop the server
- Start the server in debug mode (ctrl+Alt+D).
这篇关于JVM调试端口7779正在使用中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!