Jenkins build is still unstable: ActiveMQ-Java7 #723

2015-06-10 Thread Apache Jenkins Server
See https://builds.apache.org/job/ActiveMQ-Java7/changes



Jenkins build became unstable: ActiveMQ-Java7 » ActiveMQ :: Web Demo #723

2015-06-10 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java7/org.apache.activemq$activemq-web-demo/723/



Jenkins build is still unstable: ActiveMQ-Java7 » ActiveMQ :: RA #723

2015-06-10 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java7/org.apache.activemq$activemq-ra/723/



[jira] [Created] (APLO-380) Delivery-tag=b0

2015-06-10 Thread Logan Abel (JIRA)
Logan Abel created APLO-380:
---

 Summary: Delivery-tag=b0
 Key: APLO-380
 URL: https://issues.apache.org/jira/browse/APLO-380
 Project: ActiveMQ Apollo
  Issue Type: Bug
  Components: apollo-amqp
Affects Versions: 1.7.1
 Environment: RedHat 64, qpid-proton 0.9.1
Reporter: Logan Abel
Priority: Blocker
 Fix For: 1.7.1


Apache Apollo is setting all message delivery-tags to: b0, leading to large 
messages not being received correctly by clients (maxing out at 16KB, or the 
maximum frame size).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Jenkins build is unstable: ActiveMQ-Java7-All-UnitTests #140

2015-06-10 Thread Apache Jenkins Server
See https://builds.apache.org/job/ActiveMQ-Java7-All-UnitTests/140/changes



buildbot failure in ASF Buildbot on activemq-site-production

2015-06-10 Thread buildbot
The Buildbot has detected a new failure on builder activemq-site-production 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/activemq-site-production/builds/9858

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on activemq-site-production

2015-06-10 Thread buildbot
The Buildbot has detected a restored build on builder activemq-site-production 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/activemq-site-production/builds/9859

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





Jenkins build is back to stable : ActiveMQ-Java8 » ActiveMQ :: Unit Tests #382

2015-06-10 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-unit-tests/382/



activemq git commit: https://issues.apache.org/jira/browse/AMQ-5834

2015-06-10 Thread tabish
Repository: activemq
Updated Branches:
  refs/heads/master 310090904 - 789eb9abf


https://issues.apache.org/jira/browse/AMQ-5834

Ensure that a publish receives an ACK even when the user is not
authorized to write to the target destination 

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

Branch: refs/heads/master
Commit: 789eb9abf9f6c01e58a6e65dc72006e778272660
Parents: 3100909
Author: Timothy Bish tabish...@gmail.com
Authored: Wed Jun 10 14:59:02 2015 -0400
Committer: Timothy Bish tabish...@gmail.com
Committed: Wed Jun 10 14:59:02 2015 -0400

--
 .../transport/mqtt/MQTTProtocolConverter.java   | 67 +---
 .../activemq/transport/mqtt/MQTTAuthTest.java   | 39 
 2 files changed, 70 insertions(+), 36 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq/blob/789eb9ab/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java
--
diff --git 
a/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java
 
b/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java
index 39e9b84..5bd1a32 100644
--- 
a/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java
+++ 
b/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java
@@ -700,43 +700,38 @@ public class MQTTProtocolConverter {
 
 ResponseHandler createResponseHandler(final PUBLISH command) {
 if (command != null) {
-switch (command.qos()) {
-case AT_LEAST_ONCE:
-return new ResponseHandler() {
-@Override
-public void onResponse(MQTTProtocolConverter 
converter, Response response) throws IOException {
-if (response.isException()) {
-LOG.warn(Failed to send MQTT Publish: , 
command, ((ExceptionResponse) response).getException());
-} else {
-PUBACK ack = new PUBACK();
-ack.messageId(command.messageId());
-LOG.trace(MQTT Snd PUBACK message:{} 
client:{} connection:{},
-  command.messageId(), clientId, 
connectionInfo.getConnectionId());
-
converter.getMQTTTransport().sendToMQTT(ack.encode());
-}
-}
-};
-case EXACTLY_ONCE:
-return new ResponseHandler() {
-@Override
-public void onResponse(MQTTProtocolConverter 
converter, Response response) throws IOException {
-if (response.isException()) {
-LOG.warn(Failed to send MQTT Publish: , 
command, ((ExceptionResponse) response).getException());
-} else {
-PUBREC ack = new PUBREC();
-ack.messageId(command.messageId());
-synchronized (publisherRecs) {
-publisherRecs.put(command.messageId(), 
ack);
-}
-LOG.trace(MQTT Snd PUBACK message:{} 
client:{} connection:{},
-  command.messageId(), clientId, 
connectionInfo.getConnectionId());
-
converter.getMQTTTransport().sendToMQTT(ack.encode());
+return new ResponseHandler() {
+@Override
+public void onResponse(MQTTProtocolConverter converter, 
Response response) throws IOException {
+if (response.isException()) {
+Throwable error = ((ExceptionResponse) 
response).getException();
+LOG.warn(Failed to send MQTT Publish: , command, 
error.getMessage());
+LOG.trace(Error trace: {}, error);
+}
+
+switch (command.qos()) {
+case AT_LEAST_ONCE:
+PUBACK ack = new PUBACK();
+ack.messageId(command.messageId());
+LOG.trace(MQTT Snd PUBACK message:{} client:{} 
connection:{},
+  command.messageId(), clientId, 
connectionInfo.getConnectionId());
+

buildbot failure in ASF Buildbot on activemq-site-production

2015-06-10 Thread buildbot
The Buildbot has detected a new failure on builder activemq-site-production 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/activemq-site-production/builds/9856

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





Jenkins build is still unstable: ActiveMQ-Java8 #382

2015-06-10 Thread Apache Jenkins Server
See https://builds.apache.org/job/ActiveMQ-Java8/changes



Jenkins build is back to stable : ActiveMQ-Java8 » ActiveMQ :: Spring #382

2015-06-10 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-spring/382/



Jenkins build is still unstable: ActiveMQ-Java8 » ActiveMQ :: RA #382

2015-06-10 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-ra/382/



buildbot success in ASF Buildbot on activemq-site-production

2015-06-10 Thread buildbot
The Buildbot has detected a restored build on builder activemq-site-production 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/activemq-site-production/builds/9857

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





activemq git commit: Test needs more wait time on redelivery check since the initial redelivery delay is 4 seconds and the sleep was only 3s + 500ms receive.

2015-06-10 Thread tabish
Repository: activemq
Updated Branches:
  refs/heads/master 789eb9abf - ce16735bb


Test needs more wait time on redelivery check since the initial
redelivery delay is 4 seconds and the sleep was only 3s + 500ms receive.

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

Branch: refs/heads/master
Commit: ce16735bb07e9df5e280c9cd9f82b331ee284f24
Parents: 789eb9a
Author: Timothy Bish tabish...@gmail.com
Authored: Wed Jun 10 18:21:31 2015 -0400
Committer: Timothy Bish tabish...@gmail.com
Committed: Wed Jun 10 18:21:31 2015 -0400

--
 .../activemq/broker/BrokerRedeliveryTest.java | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq/blob/ce16735b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.java
--
diff --git 
a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.java
 
b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.java
index 4320ade..916a655 100644
--- 
a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.java
+++ 
b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.java
@@ -17,13 +17,14 @@
 package org.apache.activemq.broker;
 
 import java.util.concurrent.TimeUnit;
+
 import javax.jms.Message;
 import javax.jms.MessageConsumer;
 import javax.jms.MessageProducer;
 import javax.jms.Session;
+
 import org.apache.activemq.ActiveMQConnection;
 import org.apache.activemq.ActiveMQConnectionFactory;
-import org.apache.activemq.ActiveMQPrefetchPolicy;
 import org.apache.activemq.RedeliveryPolicy;
 import org.apache.activemq.broker.region.policy.RedeliveryPolicyMap;
 import org.apache.activemq.broker.region.policy.SharedDeadLetterStrategy;
@@ -71,13 +72,13 @@ public class BrokerRedeliveryTest extends 
org.apache.activemq.TestSupport {
 LOG.info(got:  + message);
 consumerSession.rollback();
 
-for (int i=0;imaxBrokerRedeliveriesToValidate;i++) {
+for (int i = 0; i  maxBrokerRedeliveriesToValidate; i++) {
 Message shouldBeNull = consumer.receive(500);
 assertNull(did not get message after redelivery count exceeded:  
+ shouldBeNull, shouldBeNull);
 
-TimeUnit.SECONDS.sleep(3);
+TimeUnit.SECONDS.sleep(4);
 
-Message brokerRedeliveryMessage = consumer.receive(500);
+Message brokerRedeliveryMessage = consumer.receive(1500);
 LOG.info(got:  + brokerRedeliveryMessage);
 assertNotNull(got message via broker redelivery after delay, 
brokerRedeliveryMessage);
 assertEquals(message matches, message.getStringProperty(data), 
brokerRedeliveryMessage.getStringProperty(data));
@@ -144,9 +145,9 @@ public class BrokerRedeliveryTest extends 
org.apache.activemq.TestSupport {
 
 private void startBroker(boolean deleteMessages) throws Exception {
 broker = new BrokerService();
+broker.setPersistent(false);
 broker.setSchedulerSupport(true);
 
-
 RedeliveryPlugin redeliveryPlugin = new RedeliveryPlugin();
 
 RedeliveryPolicy brokerRedeliveryPolicy = new RedeliveryPolicy();
@@ -166,13 +167,14 @@ public class BrokerRedeliveryTest extends 
org.apache.activemq.TestSupport {
 broker.start();
 }
 
-
 private void stopBroker() throws Exception {
-if (broker != null)
+if (broker != null) {
 broker.stop();
-broker = null;
+broker = null;
+}
 }
 
+@Override
 protected ActiveMQConnectionFactory createConnectionFactory() throws 
Exception {
 return new ActiveMQConnectionFactory(vm://localhost);
 }



[2/2] activemq-artemis git commit: This closes #23 Fix for truncated files during crashes

2015-06-10 Thread clebertsuconic
This closes #23 Fix for truncated files during crashes


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

Branch: refs/heads/master
Commit: 0e8eff7ef8a2b350b58fb275ce87a9d38181eff8
Parents: 6738e81 72354ee
Author: Clebert Suconic clebertsuco...@apache.org
Authored: Wed Jun 10 21:50:14 2015 -0400
Committer: Clebert Suconic clebertsuco...@apache.org
Committed: Wed Jun 10 21:50:14 2015 -0400

--
 .../artemis/core/journal/impl/JournalImpl.java  | 21 +---
 .../artemis/journal/ActiveMQJournalLogger.java  |  4 
 .../core/journal/impl/JournalImplTestUnit.java  | 21 
 3 files changed, 39 insertions(+), 7 deletions(-)
--