You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2023/04/24 13:04:42 UTC
[Bug 66507] Catalina version command not honoring JAVA_OPTS variable
https://bz.apache.org/bugzilla/show_bug.cgi?id=66507
--- Comment #3 from Thomas Starlinger <Th...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org