Jenkins build is still unstable: ActiveMQ-Java7 » ActiveMQ :: Unit Tests #359

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java7/org.apache.activemq$activemq-unit-tests/359/



Jenkins build is back to stable : ActiveMQ-Java7 » ActiveMQ :: LevelDB Store #359

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java7/org.apache.activemq$activemq-leveldb-store/359/



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

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java7/org.apache.activemq$activemq-ra/359/



Jenkins build is still unstable: ActiveMQ-Java7 #359

2014-06-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ActiveMQ-Java7/359/



Jenkins build became unstable: ActiveMQ-Java8 » ActiveMQ :: Spring #24

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-spring/24/



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

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-unit-tests/24/



Jenkins build is back to normal : ActiveMQ-Java8 » ActiveMQ :: AMQP #24

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-amqp/24/



Jenkins build is back to stable : ActiveMQ-Java8 » ActiveMQ :: Web #24

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-web/24/



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

2014-06-18 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/ActiveMQ-Java8/org.apache.activemq$activemq-ra/24/



Jenkins build is unstable: ActiveMQ-Java8 #24

2014-06-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ActiveMQ-Java8/24/



[CONF] Apache ActiveMQ Version 5 Initial Configuration

2014-06-18 Thread Timothy Bish (Confluence)














  


Timothy Bish edited the page:
 


Version 5 Initial Configuration   






Initial Configuration
Document Organization

 #Required JARs 
 #Optional JARS 
 #Persistence Support 
 #Next steps 
 #Additional Resources

 #Related Reading 
 #Specifications 
 #Related open source projects 
 

Firstly you need to add the jars to your classpath.
...
To make ActiveMQ easy to use, the default activemq-all.jar comes complete with all the libraries required. If you prefer to have explicit control over all the jars used by ActiveMQ here is the full list of individual jars required

activemq-broker.jar
 commonsactivemq-loggingclient.jar
 activemq-kahadb-store.jar 
 activemq-spring.jar 
 slf4j-api.jar 
 slf4j-log4j12.jar 
 log4j-1.2.17.jar 
J2EE APIs which could be the j2ee.jar from Sun or your J2EE container or you could use Geronimo's freely distributable geronimo-spec-j2ee.jar. If you are inside a servlet container and being dependent on the j2ee.jar causes you troubles, the parts of the J2EE jar we are dependent on are as follows...

geronimo-spec-jms.jar
geronimo-spec-jta.jar
geronimo-spec-j2ee-management.jar
 

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






svn commit: r912919 - in /websites/production/activemq/content: cache/main.pageCache version-5-initial-configuration.html

2014-06-18 Thread buildbot
Author: buildbot
Date: Wed Jun 18 15:20:43 2014
New Revision: 912919

Log:
Production update by buildbot for activemq

Modified:
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/version-5-initial-configuration.html

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

Modified: 
websites/production/activemq/content/version-5-initial-configuration.html
==
--- websites/production/activemq/content/version-5-initial-configuration.html 
(original)
+++ websites/production/activemq/content/version-5-initial-configuration.html 
Wed Jun 18 15:20:43 2014
@@ -72,7 +72,7 @@
   tbody
 tr
 td valign=top width=100%
-div class=wiki-content maincontenth1 
id=Version5InitialConfiguration-InitialConfigurationInitial 
Configuration/h1h2 
id=Version5InitialConfiguration-DocumentOrganizationDocument 
Organization/h2ullia shape=rect 
href=#Version5InitialConfiguration-RequiredJARs#Required JARs/a/lilia 
shape=rect href=#Version5InitialConfiguration-OptionalJARS#Optional 
JARS/a/lilia shape=rect 
href=#Version5InitialConfiguration-PersistenceSupport#Persistence 
Support/a/lilia shape=rect 
href=#Version5InitialConfiguration-Nextsteps#Next steps/a/lilia 
shape=rect 
href=#Version5InitialConfiguration-AdditionalResources#Additional 
Resources/aullia shape=rect 
href=#Version5InitialConfiguration-RelatedReading#Related 
Reading/a/lilia shape=rect 
href=#Version5InitialConfiguration-Specifications#Specifications/a/lilia
 shape=rect 
href=#Version5InitialConfiguration-Relatedopensourceprojects#Related open 
source proj
 ects/a/li/ul/li/ulpFirstly you need to add the jars to your 
classpath./ph2 id=Version5InitialConfiguration-RequiredJARsRequired 
JARs/h2pTo make ActiveMQ easy to use, the default 
strongactivemq-all.jar/strong comes complete with all the libraries 
required. If you prefer to have explicit control over all the jars used by 
ActiveMQ here is the full list of individual jars 
required/pulliactivemq-broker.jar/lilicommons-logging.jar/liliJ2EE
 APIs which could be the j2ee.jar from Sun or your J2EE container or you could 
use Geronimo's freely distributable geronimo-spec-j2ee.jar. If you are inside a 
servlet container and being dependent on the j2ee.jar causes you troubles, the 
parts of the J2EE jar we are dependent on are as 
follows...ulligeronimo-spec-jms.jar/liligeronimo-spec-jta.jar/liligeronimo-spec-j2ee-management.jar/li/ul/li/ulpIf
 you want to grab a J2EE specification jar we recommend the Apache a 
shape=rect class=externa
 l-link 
href=http://cvs.apache.org/repository/geronimo-spec/jars/;repository/a/ph2
 id=Version5InitialConfiguration-OptionalJARSOptional 
JARS/h2ullispring.jar - if you wish to use the XML configuration file for 
configuring the Message Broker/li/ululliif you wish to use message 
persistence then you need to add a persistent jar to your classpath (see 
below). If you just want a lightweight message bus with no durability you can 
leave this step out but we highly recommend persistence for production 
deployments./li/ulh2 
id=Version5InitialConfiguration-PersistenceSupportPersistence 
Support/h2pThe default persistence is the a shape=rect 
href=amq-message-store.htmlAMQ Message Store/a. We do still support 
persistence via a shape=rect href=persistence.htmlJDBC and a high 
performance journal/a. For full explict control over configuration check out 
the a shape=rect href=xml-configuration.htmlXml 
Configuration/a./ppIf you're just doi
 ng some testing or in-VM SEDA based messaging you may wish to disable 
persistence. You can use the a shape=rect href=xml-configuration.htmlXml 
Configuration/a for this./ppYou can do this by setting the usePersistence 
property to false either in the a shape=rect 
href=xml-configuration.htmlXml Configuration/a or on the a shape=rect 
href=configuring-transports.htmlbroker URL/a./ph2 
id=Version5InitialConfiguration-NextstepsNext steps/h2pOne of the first 
things you might want to do is a shape=rect href=run-broker.htmlstart a 
broker/a. Once you have a broker running you could try using the a 
shape=rect href=jndi-support.htmlJNDI Support/a which shows how to run 
an example JMS program. Or there are some other a shape=rect 
href=examples.htmlexample programs/a/ppIf you don't want to use JNDI 
you can just instantiate an a shape=rect class=external-link 
href=http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/Ac
 tiveMQConnectionFactory.html rel=nofollowActiveMQConnectionFactory/a, 
configure its properties directly and then you're ready to use the standard JMS 
API to create Connections, Sessions, MessageProducer and MessageConsumer 
instances./ph2 
id=Version5InitialConfiguration-AdditionalResourcesAdditional 
Resources/h2h3 

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

2014-06-18 Thread tabish
Repository: activemq
Updated Branches:
  refs/heads/trunk d69498407 - 8824ac9fc


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

Only apply timeout to the Message sends, other commands are handled
separately as needed.  

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

Branch: refs/heads/trunk
Commit: 8824ac9fcb245c0191471ac9190fbf9ef652589c
Parents: d694984
Author: Timothy Bish tabish...@gmail.com
Authored: Wed Jun 18 12:58:50 2014 -0400
Committer: Timothy Bish tabish...@gmail.com
Committed: Wed Jun 18 12:58:50 2014 -0400

--
 .../transport/failover/FailoverTransport.java   |  2 +-
 .../transport/failover/FailoverTimeoutTest.java | 47 +++-
 2 files changed, 46 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq/blob/8824ac9f/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
--
diff --git 
a/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
 
b/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
index 2829d41..6df82ed 100755
--- 
a/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
+++ 
b/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
@@ -602,7 +602,7 @@ public class FailoverTransport implements 
CompositeTransport {
 LOG.trace(Waiting for transport to 
reconnect..:  + command);
 }
 long end = System.currentTimeMillis();
-if (timeout  0  (end - start  timeout)) {
+if (command.isMessage()  timeout  0  (end - 
start  timeout)) {
 timedout = true;
 if (LOG.isInfoEnabled()) {
 LOG.info(Failover timed out after  + 
(end - start) + ms);

http://git-wip-us.apache.org/repos/asf/activemq/blob/8824ac9f/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java
--
diff --git 
a/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java
 
b/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java
index e52b2c7..9ef6e28 100644
--- 
a/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java
+++ 
b/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java
@@ -16,23 +16,36 @@
  */
 package org.apache.activemq.transport.failover;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 import java.net.URI;
+
 import javax.jms.Connection;
 import javax.jms.JMSException;
 import javax.jms.MessageProducer;
 import javax.jms.Session;
 import javax.jms.TextMessage;
-import junit.framework.TestCase;
+
 import org.apache.activemq.ActiveMQConnection;
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.activemq.broker.BrokerService;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class FailoverTimeoutTest {
 
-public class FailoverTimeoutTest extends TestCase {
+private static final Logger LOG = 
LoggerFactory.getLogger(FailoverTimeoutTest.class);
 
 private static final String QUEUE_NAME = test.failovertimeout;
 BrokerService bs;
 URI tcpUri;
 
+@Before
 public void setUp() throws Exception {
 bs = new BrokerService();
 bs.setUseJmx(false);
@@ -41,12 +54,41 @@ public class FailoverTimeoutTest extends TestCase {
 tcpUri = bs.getTransportConnectors().get(0).getConnectUri();
 }
 
+@After
 public void tearDown() throws Exception {
 if (bs != null) {
 bs.stop();
 }
 }
 
+@Test
+public void testTimoutDoesNotFailConnectionAttempts() throws Exception {
+bs.stop();
+long timeout = 1000;
+
+long startTime = System.currentTimeMillis();
+
+ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory(
+failover:( + tcpUri + ) +
+?timeout= + timeout + useExponentialBackOff=false +
+maxReconnectAttempts=5 + initialReconnectDelay=1000);
+Connection connection = cf.createConnection();
+try {
+  

git commit: https://issues.apache.org/jira/browse/AMQCPP-545

2014-06-18 Thread tabish
Repository: activemq-cpp
Updated Branches:
  refs/heads/trunk 91f5566f0 - 352475374


https://issues.apache.org/jira/browse/AMQCPP-545

Only timeout on Message send operations.  

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

Branch: refs/heads/trunk
Commit: 352475374fd96ac560f56ec6a47aba817f3cba1d
Parents: 91f5566
Author: Timothy Bish tabish...@gmail.com
Authored: Wed Jun 18 14:13:59 2014 -0400
Committer: Timothy Bish tabish...@gmail.com
Committed: Wed Jun 18 14:13:59 2014 -0400

--
 .../src/main/activemq/transport/failover/FailoverTransport.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/35247537/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
--
diff --git 
a/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp 
b/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
index 7cad404..1c35e9e 100644
--- a/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
+++ b/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
@@ -437,7 +437,7 @@ void FailoverTransport::oneway(const PointerCommand 
command) {
 
 while (transport == NULL  !this-impl-closed  
this-impl-connectionFailure == NULL) {
 long long end = System::currentTimeMillis();
-if (this-impl-timeout  0  (end - start  
this-impl-timeout)) {
+if (command-isMessage()  this-impl-timeout  0  
(end - start  this-impl-timeout)) {
 timedout = true;
 break;
 }



git commit: https://issues.apache.org/jira/browse/AMQCPP-545

2014-06-18 Thread tabish
Repository: activemq-cpp
Updated Branches:
  refs/heads/3.8.x 928292dcc - cea38b846


https://issues.apache.org/jira/browse/AMQCPP-545

Only timeout on Message send operations.


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

Branch: refs/heads/3.8.x
Commit: cea38b8469591773d174fb80689439d1b39f70be
Parents: 928292d
Author: Timothy Bish tabish...@gmail.com
Authored: Wed Jun 18 14:13:59 2014 -0400
Committer: Timothy Bish tabish...@gmail.com
Committed: Wed Jun 18 14:15:00 2014 -0400

--
 .../src/main/activemq/transport/failover/FailoverTransport.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/cea38b84/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
--
diff --git 
a/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp 
b/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
index 7cad404..1c35e9e 100644
--- a/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
+++ b/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
@@ -437,7 +437,7 @@ void FailoverTransport::oneway(const PointerCommand 
command) {
 
 while (transport == NULL  !this-impl-closed  
this-impl-connectionFailure == NULL) {
 long long end = System::currentTimeMillis();
-if (this-impl-timeout  0  (end - start  
this-impl-timeout)) {
+if (command-isMessage()  this-impl-timeout  0  
(end - start  this-impl-timeout)) {
 timedout = true;
 break;
 }



buildbot failure in ASF Buildbot on activemq-site-production

2014-06-18 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/1393

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

2014-06-18 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/1394

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