Reputation: 2432
I am getting "JVM debug port -1 is in use." error. I am not even able to start the sever in "normal" mode. And that is the reason I can not even change the debugging port.
But the main question is what -1? How do I find it?
I have below links but none of them seem to have my problem. Link1 Link2 Link3
Upvotes: 0
Views: 2251
Reputation: 14651
What you need to do is really just combining two answers from the previous posts you have already found.
First apply a quick fix: you are unable to start up the websphere instance because that debug port is already in use. To overcome that you need to shut down any other websphere instance on that machine for a short period of time. You can even kill rogue processes from command line if they appear to be hanging.
Solve the real problem: now that you will be able to start up the server normally follow the advice given here and set a unique debug port for this instance so that you will never face this issue again, then do a restart. After this you are free to restart the rest of the instances you just stopped.
*Note: you may be in a situation where there is no other instance deployed on the affected machine. In this case the port is almost surely being used by a not-properly-stopped process of your own instance, in which case again kill -9
will solve the problem.
Upvotes: 2