Build failed in Jenkins: ActiveMQ-Java8-All-UnitTests #781

2018-01-03 Thread Apache Jenkins Server
See 


Changes:

[gtully] [AMQ-6880] fix filter match logic when transport connector

--
[...truncated 273.52 KB...]
Running org.apache.activemq.bugs.AMQ6522Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.127 sec - in 
org.apache.activemq.bugs.AMQ6522Test
Running org.apache.activemq.bugs.AMQ6579Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.536 sec - in 
org.apache.activemq.bugs.AMQ6579Test
Running org.apache.activemq.bugs.AMQ6599Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.034 sec - in 
org.apache.activemq.bugs.AMQ6599Test
Running org.apache.activemq.bugs.ActiveMQSlowConsumerManualTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.17 sec - in 
org.apache.activemq.bugs.ActiveMQSlowConsumerManualTest
Running org.apache.activemq.bugs.ConnectionPerMessageTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.483 sec - in 
org.apache.activemq.bugs.ConnectionPerMessageTest
Running org.apache.activemq.bugs.CraigsBugTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.963 sec - in 
org.apache.activemq.bugs.CraigsBugTest
Running org.apache.activemq.bugs.CursorMemoryHighWaterMarkTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.601 sec - in 
org.apache.activemq.bugs.CursorMemoryHighWaterMarkTest
Running org.apache.activemq.bugs.DoubleExpireTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.988 sec - in 
org.apache.activemq.bugs.DoubleExpireTest
Running org.apache.activemq.bugs.DuplicateFromStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.043 sec - in 
org.apache.activemq.bugs.DuplicateFromStoreTest
Running org.apache.activemq.bugs.DurableConsumerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.81 sec - in 
org.apache.activemq.bugs.DurableConsumerTest
Running org.apache.activemq.bugs.JMSDurableTopicNoLocalTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.74 sec - in 
org.apache.activemq.bugs.JMSDurableTopicNoLocalTest
Running org.apache.activemq.bugs.JMSQueueBrowserPriorityTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.53 sec - in 
org.apache.activemq.bugs.JMSQueueBrowserPriorityTest
Running org.apache.activemq.bugs.JmsDurableTopicSlowReceiveTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.122 sec - 
in org.apache.activemq.bugs.JmsDurableTopicSlowReceiveTest
Running org.apache.activemq.bugs.JmsTimeoutTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.21 sec - in 
org.apache.activemq.bugs.JmsTimeoutTest
Running org.apache.activemq.bugs.MemoryUsageBlockResumeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.348 sec - in 
org.apache.activemq.bugs.MemoryUsageBlockResumeTest
Running org.apache.activemq.bugs.MemoryUsageBrokerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.594 sec - in 
org.apache.activemq.bugs.MemoryUsageBrokerTest
Running org.apache.activemq.bugs.MemoryUsageCleanupTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 210.501 sec - 
in org.apache.activemq.bugs.MemoryUsageCleanupTest
Running org.apache.activemq.bugs.MessageExpirationReaperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.627 sec - in 
org.apache.activemq.bugs.MessageExpirationReaperTest
Running org.apache.activemq.bugs.MessageExpiryClientSideTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.812 sec - in 
org.apache.activemq.bugs.MessageExpiryClientSideTest
Running org.apache.activemq.bugs.MessageExpiryTimeDifferenceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.892 sec - in 
org.apache.activemq.bugs.MessageExpiryTimeDifferenceTest
Running org.apache.activemq.bugs.MissingDataFileTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.485 sec - in 
org.apache.activemq.bugs.MissingDataFileTest
Running org.apache.activemq.bugs.OptimizeAcknowledgeWithExpiredMsgsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.386 sec - in 
org.apache.activemq.bugs.OptimizeAcknowledgeWithExpiredMsgsTest
Running org.apache.activemq.bugs.PfcTimeoutTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.191 sec - in 
org.apache.activemq.bugs.PfcTimeoutTest
Running org.apache.activemq.bugs.QueueWorkerPrefetchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.96 sec - in 
org.apache.activemq.bugs.QueueWorkerPrefetchTest
Running org.apache.activemq.bugs.RedeliveryPluginHeaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.562 sec - in 
org.apache.activemq.bugs.RedeliveryPluginHeaderTest
Running org.apache.activemq.bugs.SlowConsumerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.738 sec - 

Jenkins build is still unstable: ActiveMQ-Java8 » ActiveMQ :: Unit Tests #1108

2018-01-03 Thread Apache Jenkins Server
See 




Jenkins build is unstable: ActiveMQ-Java8 #1108

2018-01-03 Thread Apache Jenkins Server
See 




Jenkins build became unstable: ActiveMQ-Java8 » ActiveMQ :: Karaf Integration Tests #1108

2018-01-03 Thread Apache Jenkins Server
See 




activemq git commit: [AMQ-6880] fix filter match logic when transport connector updateClusterFilter is in play

2018-01-03 Thread gtully
Repository: activemq
Updated Branches:
  refs/heads/master 12c649c2d -> 8c77e9553


[AMQ-6880] fix filter match logic when transport connector updateClusterFilter 
is in play


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/8c77e955
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/8c77e955
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/8c77e955

Branch: refs/heads/master
Commit: 8c77e9553eaf2062b937c68737a5128d0f9a4347
Parents: 12c649c
Author: gtully 
Authored: Wed Jan 3 16:06:25 2018 +
Committer: gtully 
Committed: Wed Jan 3 16:07:06 2018 +

--
 .../activemq/broker/TransportConnector.java |  5 +-
 .../activemq/broker/TransportConnectorTest.java | 93 
 2 files changed, 96 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq/blob/8c77e955/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnector.java
--
diff --git 
a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnector.java
 
b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnector.java
index ac96619..f8425ad 100644
--- 
a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnector.java
+++ 
b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnector.java
@@ -455,8 +455,9 @@ public class TransportConnector implements Connector, 
BrokerServiceAware {
 if (filter != null) {
 filter = filter.trim();
 if (filter.length() > 0) {
+result = false;
 StringTokenizer tokenizer = new StringTokenizer(filter, ",");
-while (result && tokenizer.hasMoreTokens()) {
+while (!result && tokenizer.hasMoreTokens()) {
 String token = tokenizer.nextToken();
 result = isMatchesClusterFilter(brokerName, token);
 }
@@ -467,7 +468,7 @@ public class TransportConnector implements Connector, 
BrokerServiceAware {
 }
 
 private boolean isMatchesClusterFilter(String brokerName, String match) {
-boolean result = true;
+boolean result = false;
 if (brokerName != null && match != null && brokerName.length() > 0 && 
match.length() > 0) {
 result = Pattern.matches(match, brokerName);
 }

http://git-wip-us.apache.org/repos/asf/activemq/blob/8c77e955/activemq-broker/src/test/java/org/apache/activemq/broker/TransportConnectorTest.java
--
diff --git 
a/activemq-broker/src/test/java/org/apache/activemq/broker/TransportConnectorTest.java
 
b/activemq-broker/src/test/java/org/apache/activemq/broker/TransportConnectorTest.java
new file mode 100644
index 000..7b72bc4
--- /dev/null
+++ 
b/activemq-broker/src/test/java/org/apache/activemq/broker/TransportConnectorTest.java
@@ -0,0 +1,93 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.activemq.broker;
+
+import org.apache.activemq.command.BrokerInfo;
+import org.junit.Before;
+import org.junit.Test;
+
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.assertFalse;
+
+public class TransportConnectorTest {
+
+TransportConnector underTest;
+
+@Before
+public void init() throws Exception {
+underTest = new TransportConnector();
+underTest.setBrokerService(new BrokerService());
+}
+
+@Test
+public void addPeerBrokerWithFilter() throws Exception {
+underTest.setUpdateClusterFilter("e.*,w.*");
+
+final String validName = "west";
+
+BrokerInfo brokerInfo = new BrokerInfo();
+brokerInfo.setBrokerURL(validName);
+brokerInfo.setBrokerName(validName);
+
+assertFalse(underTest.getPeerBrokers().contains(validName));
+underTest.addPeerBroker(brokerInfo);
+

svn commit: r1023211 - in /websites/production/activemq/content: cache/main.pageCache jmx.html

2018-01-03 Thread buildbot
Author: buildbot
Date: Wed Jan  3 12:25:16 2018
New Revision: 1023211

Log:
Production update by buildbot for activemq

Modified:
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/jmx.html

Modified: websites/production/activemq/content/cache/main.pageCache
==
Binary files - no diff available.

Modified: websites/production/activemq/content/jmx.html
==
--- websites/production/activemq/content/jmx.html (original)
+++ websites/production/activemq/content/jmx.html Wed Jan  3 12:25:16 2018
@@ -153,7 +153,7 @@ ACTIVEMQ_SUNJMX_START="-Dcom.sun.managem

suppressMBean="endpoint=dynamicProducer,endpoint=Consumer,connectionName=*,destinationName=ActiveMQ.Advisory.*"
 /
 /managementContext
-ManagementContext Properties 
ReferenceProperty NameDefault ValueDescriptionuseMBeanServertrueIf true then it avoids creating a new MBean server if a 
MBeanServer has already been created in the JVMjmxDomainNameorg.apache.activemqThe jmx domain that all objects 
names will use<
 td colspan="1" rowspan="1" 
class="confluenceTd">createMBeanServertrueIf we should create the MBeanServer is none is 
found.createConnectorfalsePlease refer tohttp://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html;
 rel="nofollow">Java Management guideto configure the 
server for remote management and lock down the endpoint serialisation with an 
appropriate http://openjdk.java.net/jeps/290; rel="no
 follow"> jdk.serialFilterconnectorPort1099The port that the JMX connector will 
useconnectorHostlocalhostThe host that the JMX connector and RMI server (if 
rmiServerPort0) will usermiServerPort0The RMI server port, handy if port usage needs to be 
restricted behind a firewallconnectorPath/jmxrmiThe path that JMX connector will be registered 
underfindTigerMBeanServertrueEnables/disables the searching for the Java 5 platform 
MBeanServersuppressMBeanList of MBean name patters to 
ignore
+ManagementContext Properties 
ReferenceProperty NameDefault ValueDescriptionuseMBeanServertrueIf true then it avoids creating a new MBean server if a 
MBeanServer has already been created in the JVMjmxDomainNameorg.apache.activemqThe jmx domain that all objects 
names will use<
 td colspan="1" rowspan="1" 
class="confluenceTd">createMBeanServertrueIf we should create the MBeanServer is none is 
found.createConnectorfalsePlease refer tohttp://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html;
 rel="nofollow">Java Management guideto configure the 
server for remote management.Note: if se
 t to true:lock down the endpoint 
serialisation with an appropriate http://openjdk.java.net/jeps/290; rel="nofollow"> 
jdk.serialFilterconfigure rmiServerPort and 
connectorHost to lock down the RMI server interface 
bindingconnectorPort1099The port that the JMX connector will 
useconnectorHostlocalhostThe host that the JMX connector and RMI server (if 
rmiServerPort0) will usermiServerPort0The RMI server port, handy if port usage needs to be 
restricted behind a firewallconnectorPath/jmxrmiThe path that JMX connector will be registered 
underfindTigerMBeanServertrueEnables/disables the searching for the Java 5 platform 
MBeanServersuppressMBeanList of MBean na
 me patters to ignore
 
 
   




[CONF] Apache ActiveMQ > JMX

2018-01-03 Thread Gary Tully (Confluence)
Title: Message Title



 
 
 
 
 
 
 

Gary Tully edited a page 
 
 
  
 
 
 
 
 
 
 
  
 
 
 
 
 
 
Change comment: note on rmiServerPort 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
JMX 
 
 
  
 
 
 
 
 
 
 ... 
 
 
 
 
 Property Name  
 Default Value  
 Description  
 
 
 useMBeanServer  
 true  
 If true then it avoids creating a new MBean server if a MBeanServer has already been created in the JVM  
 
 
 jmxDomainName  
 org.apache.activemq  
 The jmx domain that all objects names will use  
 
 
 createMBeanServer  
 true  
 If we should create the MBeanServer is none is found.  
 
 
 createConnector  
 false  
  Please refer to Java Management guide to configure the server for remote management and .   Note: if set to true:  
 
 lock down the endpoint serialisation with an appropriate  jdk.serialFilter  
  configure rmiServerPort and connectorHost to lock down the RMI server interface binding   
  
 
 
 connectorPort  
 1099  
 The port that the JMX connector will use  
 
 
 connectorHost  
 localhost  
 The host that the JMX connector and RMI server (if rmiServerPort>0) will use  
 
 
 rmiServerPort  
 0  
 The RMI server port, handy if port usage needs to be restricted behind a firewall  
 
 
 connectorPath  
 /jmxrmi  
 The path that JMX connector will be registered under  
 
 
 findTigerMBeanServer  
 true  
 Enables/disables the searching for the Java 5 platform MBeanServer  
 
 
 suppressMBean  
  
List of MBean name patters to ignore 
 
 
 
  
 
 
  
 
 
 
 
 
 
 
 
 
 

View page
• 
 
 
 
 
 
 

Like 
 
 
  
 
 
  
 
 
  
 
 
  
 
 
 
 
 
 
 
 
 
 
Stop watching space
• 
 
 
 
 
 
 
Manage notifications 
 
 
 
 
 
 
 
 
 
 
  
 
 
This message was sent by Atlassian Confluence 5.8.17