rbtt
asked on
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 8050; nested exception is:
Hi,
Whenever I try to stop TOMCAT using the command : ./catalina.sh stop. I am getting the following error:
Error: Exception thrown by the agent : java.rmi.server.ExportExce ption: Port already in use: 8050; nested exception is: java.net.BindException: Address already in use
How do I resolve this problem?
Whenever I try to stop TOMCAT using the command : ./catalina.sh stop. I am getting the following error:
Error: Exception thrown by the agent : java.rmi.server.ExportExce
How do I resolve this problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Error: Exception thrown by the agent : java.rmi.server.ExportExce
java.net.BindException: Address already in use
I have added this section in the run.conf which works for me:
if [ $1 != "-s" ]; then JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxre