https://bz.apache.org/bugzilla/show_bug.cgi?id=66507

--- Comment #3 from Thomas Starlinger <thomas.starlin...@clarivate.com> ---
Hi.

We're using an RMI agent to let JConsole connect to the Tomcat JVM. The agent
is configured via JAVA_OPTS. Now, if I try to start version.sh resp.
catalina.sh the system tries to start the agent which in turn tries to open a
port and that fails because the port is already in use.

-------------8<-------------8<-------------8<-------------
Create RMI registry on port 8112
Exception in thread "main" java.lang.reflect.InvocationTargetException
 :
Caused by: java.rmi.server.ExportException: Port already in use: 8112; nested
exception is:
        java.net.BindException: Address already in use
 :
-------------8<-------------8<-------------8<-------------

Is there any method to do this without triggering the BindException?

Regards

Thomas

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to