[wildfly-dev] JConsole plugin - fallback and query for management address

Darran Lofthouse darran.lofthouse at jboss.com
Tue Aug 6 08:54:44 EDT 2013


On 06/08/13 13:37, Bartosz Baranowski wrote:
>
>
> ----- Original Message -----
>> From: "Darran Lofthouse" <darran.lofthouse at jboss.com>
>> To: wildfly-dev at lists.jboss.org
>> Sent: Tuesday, August 6, 2013 2:31:22 PM
>> Subject: Re: [wildfly-dev] JConsole plugin - fallback and query for management address
>>
>>
>>
>> On 06/08/13 13:27, Bartosz Baranowski wrote:
>>
>>> What is weird( I might be missing some important piece of intel here) is
>>> why there is check against jboss remoting?
>
>
> This one:
> if (mbeanServerConn instanceof RemotingMBeanServerConnection) {

The purpose of that check is to see if we already have a Remoting 
connection established to the server for JMX, if so the same connection 
can be used for the management connection.

That is one of the reasons I am not a fan of just opening a Remoting 
connection automatically - if they chose to use Remoting we make use of 
that same connection for two different purposes - if they choose not to 
use Remoting we open a Remoting connection anyway.  But a 'Connect' 
button on the CLI tab would take care of that.

>
>
>>
>> What check are you referring to?
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>


More information about the wildfly-dev mailing list