[jira] [Commented] (ZOOKEEPER-2340) JMX is disabled even if JMXDISABLE is false
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15048778#comment-15048778 ] admin commented on ZOOKEEPER-2340: -- alert('XSSED BY BLACKANONYMFOX') > JMX is disabled even if JMXDISABLE is false > --- > > Key: ZOOKEEPER-2340 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2340 > Project: ZooKeeper > Issue Type: Bug >Reporter: neha >Assignee: Arshad Mohammad >Priority: Minor > > Currently, to enable jmx for zookeeper, need to comment the property > JMXDISABLE as JMXDISABLE=false continues to disable JMX. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2340) JMX is disabled even if JMXDISABLE is false
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15050212#comment-15050212 ] Hudson commented on ZOOKEEPER-2340: --- SUCCESS: Integrated in ZooKeeper-trunk #2826 (See [https://builds.apache.org/job/ZooKeeper-trunk/2826/]) ZOOKEEPER-2340: JMX is disabled even if JMXDISABLE is false (Arshad Mohammad via rgs) (rgs: [http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN=rev=1719011]) * trunk/CHANGES.txt * trunk/bin/zkServer.sh > JMX is disabled even if JMXDISABLE is false > --- > > Key: ZOOKEEPER-2340 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2340 > Project: ZooKeeper > Issue Type: Bug >Reporter: neha >Assignee: Arshad Mohammad >Priority: Minor > Fix For: 3.4.8, 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2340-01.patch > > > Currently, to enable jmx for zookeeper, need to comment the property > JMXDISABLE as JMXDISABLE=false continues to disable JMX. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2340) JMX is disabled even if JMXDISABLE is false
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15048165#comment-15048165 ] Arshad Mohammad commented on ZOOKEEPER-2340: I will soon submit a patch. > JMX is disabled even if JMXDISABLE is false > --- > > Key: ZOOKEEPER-2340 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2340 > Project: ZooKeeper > Issue Type: Bug >Reporter: neha >Assignee: Arshad Mohammad >Priority: Minor > > Currently, to enable jmx for zookeeper, need to comment the property > JMXDISABLE as JMXDISABLE=false continues to disable JMX. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2340) JMX is disabled even if JMXDISABLE is false
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15048164#comment-15048164 ] Arshad Mohammad commented on ZOOKEEPER-2340: Thanks [~neha.bathra] for reporting the issue. The problem is because bellow expression, in {{bin/zkServer.sh}}, evaluates to true for any value assigned to {{JMXDISABLE}} {code} if [ "x$JMXDISABLE" = "x" ] {code} I think to fix we can replace above expression with: {code} if [ "x$JMXDISABLE" = "x" ] || [ "$JMXDISABLE" = 'true' ] {code} > JMX is disabled even if JMXDISABLE is false > --- > > Key: ZOOKEEPER-2340 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2340 > Project: ZooKeeper > Issue Type: Bug >Reporter: neha >Priority: Minor > > Currently, to enable jmx for zookeeper, need to comment the property > JMXDISABLE as JMXDISABLE=false continues to disable JMX. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2340) JMX is disabled even if JMXDISABLE is false
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15048183#comment-15048183 ] Arshad Mohammad commented on ZOOKEEPER-2340: corrected expression should be. {code} if [ "x$JMXDISABLE" = "x" ] || [ "$JMXDISABLE" = 'false' ] {code} This case jmx will be enabled for any value other than JMXDISABLE=false > JMX is disabled even if JMXDISABLE is false > --- > > Key: ZOOKEEPER-2340 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2340 > Project: ZooKeeper > Issue Type: Bug >Reporter: neha >Assignee: Arshad Mohammad >Priority: Minor > > Currently, to enable jmx for zookeeper, need to comment the property > JMXDISABLE as JMXDISABLE=false continues to disable JMX. -- This message was sent by Atlassian JIRA (v6.3.4#6332)