You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "wanglei2@geekplus.com.cn" <wa...@geekplus.com.cn> on 2020/05/11 02:48:51 UTC
kafka-console-consumer.sh: Port already in use Exception after enable JMX
Add JMX_PORT=9988 to kafka-run-class.sh to enable JMX
After execute bin/kafka-console-consumer.sh there‘s exception:
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9988; nested exception is:
java.net.BindException: Address already in use (Bind failed)
wanglei2@geekplus.com.cn
Re: Re: kafka-console-consumer.sh: Port already in use Exception after enable JMX
Posted by "wanglei2@geekplus.com.cn" <wa...@geekplus.com.cn>.
Hi Manoj,
I have tried, not work.
When i changed to 9998, the consumer.sh tells me Port already in use: 9998
Thanks,
Lei
wanglei2@geekplus.com.cn
From: Manoj.Agrawal2@cognizant.com
Date: 2020-05-11 12:04
To: users@kafka.apache.org
Subject: Re: kafka-console-consumer.sh: Port already in use Exception after enable JMX
You can change jmx-port to any available port - 9992
On 5/10/20, 7:49 PM, "wanglei2@geekplus.com.cn" <wa...@geekplus.com.cn> wrote:
[External]
Add JMX_PORT=9988 to kafka-run-class.sh to enable JMX
After execute bin/kafka-console-consumer.sh there‘s exception:
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9988; nested exception is:
java.net.BindException: Address already in use (Bind failed)
wanglei2@geekplus.com.cn
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
Re: kafka-console-consumer.sh: Port already in use Exception after
enable JMX
Posted by Ma...@cognizant.com.
You can change jmx-port to any available port - 9992
On 5/10/20, 7:49 PM, "wanglei2@geekplus.com.cn" <wa...@geekplus.com.cn> wrote:
[External]
Add JMX_PORT=9988 to kafka-run-class.sh to enable JMX
After execute bin/kafka-console-consumer.sh there‘s exception:
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9988; nested exception is:
java.net.BindException: Address already in use (Bind failed)
wanglei2@geekplus.com.cn
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.