Build failed in Jenkins: ActiveMQ-Java7 » ActiveMQ :: KahaDB Store #229

2013-06-21 Thread Apache Jenkins Server
See 


--
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/eclipse/jetty/maven-jetty-plugin/7.6.7.v20120910/maven-jetty-plugin-7.6.7.v20120910.pom
[WARNING] The POM for org.eclipse.jetty:maven-jetty-plugin:jar:7.6.7.v20120910 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.eclipse.jetty:maven-jetty-plugin:7.6.7.v20120910: Plugin 
org.eclipse.jetty:maven-jetty-plugin:7.6.7.v20120910 or one of its dependencies 
could not be resolved: Failed to read artifact descriptor for 
org.eclipse.jetty:maven-jetty-plugin:jar:7.6.7.v20120910

[INFO] 
[INFO] Building ActiveMQ :: KahaDB Store 5.9-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ activemq-kahadb-store 
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ 
activemq-kahadb-store ---
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-kahadb-store ---
[INFO] [INFO] Compiling: 


[INFO] --- activemq-protobuf:1.1:compile (default) @ activemq-kahadb-store ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
activemq-kahadb-store ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
activemq-kahadb-store ---
[INFO] [INFO] Compiling 76 source files to 


[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
activemq-kahadb-store ---
[INFO] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
activemq-kahadb-store ---
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [INFO] Compiling 11 source files to 


[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
activemq-kahadb-store ---
[INFO] [INFO] Surefire report directory: 


---
 T E S T S
---

---
 T E S T S
---

[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ 
activemq-kahadb-store ---
Running org.apache.activemq.store.kahadb.disk.index.BTreeIndexTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.171 sec
Running org.apache.activemq.store.kahadb.disk.index.HashIndexTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.777 sec
Running org.apache.activemq.store.kahadb.disk.index.ListIndexTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.147 sec
Running org.apache.activemq.store.kahadb.disk.journal.JournalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.694 sec
Running org.apache.activemq.store.kahadb.disk.page.PageFileTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.185 sec
Running org.apache.activemq.store.kahadb.disk.util.SequenceSetTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec
Running org.apache.activemq.store.kahadb.plist.PListImplTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 17.997 sec

Results :

Tests run: 58, Failures: 0, Errors: 0, Skipped: 1



CronParser bug on getNextScheduledTime to handle the once per minute case "* * * * *"

2013-06-21 Thread Rafael Alfaro
Hello,

I created the following report:
https://issues.apache.org/jira/browse/AMQ-4591

It seems that the getNextScheduledTime method is not returning at the top
of the next minute when the CronEntry is "* * * * *"

The precision must have to be in minutes, the following patch fix the issue:

Index: activemq-client/src/main/java/
org/apache/activemq/broker/scheduler/CronParser.java
===
---
activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java
(revision 1494862)
+++
activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java
(working copy)
@@ -44,7 +44,7 @@
 // starting the next event at the top of the minute.
 if (cronEntry.equals("* * * * *")) {
 result = currentTime + 60 * 1000;
-result = result / 1000 * 1000;
+result = result / 6 * 6;
 return result;
 }


Build failed in Jenkins: ActiveMQ-Trunk-Deploy #806

2013-06-21 Thread Apache Jenkins Server
See 

Changes:

[dejanb] https://issues.apache.org/jira/browse/AMQ-4593 - upgrade snappy java

--
[...truncated 5849 lines...]
[INFO] ActiveMQ :: STOMP Protocol  SKIPPED
[INFO] ActiveMQ :: MQTT Protocol . SKIPPED
[INFO] ActiveMQ :: JDBC Store  SKIPPED
[INFO] ActiveMQ :: LevelDB Store . SKIPPED
[INFO] ActiveMQ :: RA  SKIPPED
[INFO] ActiveMQ :: Pool .. SKIPPED
[INFO] ActiveMQ :: Spring  SKIPPED
[INFO] ActiveMQ :: AMQP .. SKIPPED
[INFO] ActiveMQ :: Console ... SKIPPED
[INFO] ActiveMQ :: Unit Tests  SKIPPED
[INFO] ActiveMQ :: Camel . SKIPPED
[INFO] ActiveMQ :: HTTP Protocol Support . SKIPPED
[INFO] ActiveMQ :: All JAR bundle  SKIPPED
[INFO] ActiveMQ :: File Server ... SKIPPED
[INFO] ActiveMQ :: Log4j Appender  SKIPPED
[INFO] ActiveMQ :: Apache Karaf .. SKIPPED
[INFO] ActiveMQ :: RAR ... SKIPPED
[INFO] ActiveMQ :: Run Jar ... SKIPPED
[INFO] ActiveMQ :: Tooling ... SUCCESS [7.077s]
[INFO] ActiveMQ :: Memory Usage Test Plugin .. SKIPPED
[INFO] ActiveMQ :: Performance Test Plugin ... SKIPPED
[INFO] ActiveMQ :: StartUp Plugin  SKIPPED
[INFO] ActiveMQ :: Web ... SKIPPED
[INFO] ActiveMQ :: OSGi bundle ... SKIPPED
[INFO] ActiveMQ :: Blueprint . FAILURE [5.130s]
[INFO] ActiveMQ :: Web Demo .. SKIPPED
[INFO] ActiveMQ :: Web Console ... SKIPPED
[INFO] ActiveMQ :: Karaf Integration Tests ... SKIPPED
[INFO] ActiveMQ :: Integration Test :: Spring 3.1  SKIPPED
[INFO] ActiveMQ :: Assembly .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 1:08.907s
[INFO] Finished at: Sat Jun 22 03:10:14 UTC 2013
[INFO] Final Memory: 41M/981M
[INFO] 
[JENKINS] Archiving 
 to 
/home/hudson/hudson/jobs/ActiveMQ-Trunk-Deploy/modules/org.apache.activemq$activemq-parent/builds/2013-06-22_03-08-47/archive/org.apache.activemq/activemq-parent/5.9-SNAPSHOT/activemq-parent-5.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/ActiveMQ-Trunk-Deploy/modules/org.apache.activemq$activemq-client/builds/2013-06-22_03-08-47/archive/org.apache.activemq/activemq-client/5.9-SNAPSHOT/activemq-client-5.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/ActiveMQ-Trunk-Deploy/modules/org.apache.activemq$apache-activemq/builds/2013-06-22_03-08-51/archive/org.apache.activemq/apache-activemq/5.9-SNAPSHOT/apache-activemq-5.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/ActiveMQ-Trunk-Deploy/modules/org.apache.activemq$activemq-camel/builds/2013-06-22_03-08-49/archive/org.apache.activemq/activemq-camel/5.9-SNAPSHOT/activemq-camel-5.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/ActiveMQ-Trunk-Deploy/modules/org.apache.activemq.tooling$activemq-tooling/builds/2013-06-22_03-08-50/archive/org.apache.activemq.tooling/activemq-tooling/5.9-SNAPSHOT/activemq-tooling-5.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/ActiveMQ-Trunk-Deploy/modules/org.apache.activemq$activemq-pool/builds/2013-06-22_03-08-49/archive/org.apache.activemq/activemq-pool/5.9-SNAPSHOT/activemq-pool-5.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/ActiveMQ-Trunk-Deploy/modules/org.apache.activemq$activemq-karaf-itest/builds/2013-06-22_03-08-51/archive/org.apache.activemq/activemq-karaf-itest/5.9-SNAPSHOT/activemq-karaf-itest-5.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to

Build failed in Jenkins: ActiveMQ-Trunk-Deploy » ActiveMQ :: Blueprint #806

2013-06-21 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Skipping ActiveMQ :: Memory Usage Test Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping ActiveMQ :: Performance Test Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping ActiveMQ :: StartUp Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping ActiveMQ :: Web
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping ActiveMQ :: OSGi bundle
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Building ActiveMQ :: Blueprint 5.9-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ activemq-blueprint ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ activemq-blueprint 
---
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-blueprint ---
Jun 22, 2013 3:10:11 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] [INFO] Building jar: 


[INFO] --- maven-source-plugin:2.2.1:jar (default-cli) @ activemq-blueprint ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ activemq-blueprint 
---
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-blueprint ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
activemq-blueprint ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
activemq-blueprint ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
activemq-blueprint ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
activemq-blueprint ---
[INFO] [INFO] No sources to compile

[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
activemq-blueprint ---
[INFO] [INFO] Surefire report directory: 


---
 T E S T S
---

[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ activemq-blueprint 
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ 
activemq-blueprint ---
[WARNING] Bundle org.apache.activemq:activemq-blueprint:bundle:5.9-SNAPSHOT : 
Instructions in Export-Package that are never used: org\.apache\.activemq.*.*
Classpath: 
Jar:.,Jar:org.apache.aries.blueprint,Jar:xbean-blueprint,Jar:commons-jexl,Jar:pax-logging-api

[WARNING] Bundle org.apache.activemq:activemq-blueprint:bundle:5.9-SNAPSHOT : 
Superf

Build failed in Jenkins: ActiveMQ-Trunk-Deploy » ActiveMQ :: Openwire Generator #806

2013-06-21 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building ActiveMQ :: Openwire Generator 5.9-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-openwire-generator ---
Jun 22, 2013 3:09:39 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (default-cli) @ 
activemq-openwire-generator ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
activemq-openwire-generator ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
activemq-openwire-generator ---
[INFO] Compiling 18 source files to 

[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
activemq-openwire-generator ---
[INFO] [INFO] No sources to compile

[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ 
activemq-openwire-generator ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ activemq-openwire-generator 
---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ 
activemq-openwire-generator ---
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-openwire-generator ---
Jun 22, 2013 3:09:44 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ 
activemq-openwire-generator ---
[WARNING] Artifact 
org.apache.activemq:activemq-openwire-generator:java-source:sources:5.9-SNAPSHOT
 already attached to project, ignoring duplicate
[INFO] 
[INFO] --- maven-javadoc-plugin:2.8.1:jar (attach-javadocs) @ 
activemq-openwire-generator ---
[INFO] 
Loading source files for package org.apache.activemq.openwire.tool...
Constructing Javadoc information...
Standard Doclet version 1.6.0_45
Building tree for all the packages and classes...
Generating 

Generating 

Generating 

Generating 

Generating 


Jenkins build is back to stable : ActiveMQ » ActiveMQ :: LevelDB Store #1319

2013-06-21 Thread Apache Jenkins Server
See 




[jira] [Commented] (AMQ-2920) new ActiveMQ 5.4.0 sysv start script redirects process stdout and stderr to /dev/null

2013-06-21 Thread Ryan Stewart (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690446#comment-13690446
 ] 

Ryan Stewart commented on AMQ-2920:
---

This issue isn't actually resolved. My 5.8.0 broker was failing to start 
because of a NullPointerException (my fault in the configuration), and the 
error didn't appear until I changed the ">/dev/null" to 
">/opt/activemq/data/activemq.out".

> new ActiveMQ 5.4.0 sysv start script redirects process stdout and stderr to 
> /dev/null
> -
>
> Key: AMQ-2920
> URL: https://issues.apache.org/jira/browse/AMQ-2920
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.4.0
>Reporter: Mats Henrikson
>Assignee: Gary Tully
> Fix For: 5.6.0
>
>
> It appears that the new sysV start/init script redirects all the process 
> output to /dev/null when starting the broker.
> This leads to pain and confusion, since you will not see any error output 
> when you have e.g. a non-compliant activemq.xml config file - the script just 
> completes successfully but your broker has not started. To see the output you 
> actually have to hack the init script to remove the /dev/null, or get the 
> script to output the command line so that you can run it by hand to get the 
> error output.
> The process output should probably be redirected to some log file in the data 
> directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (AMQ-4533) Messages stuck in queue with redelivered=true

2013-06-21 Thread Gary Tully (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690424#comment-13690424
 ] 

Gary Tully commented on AMQ-4533:
-

However, if there are very few messages and lots of consumers, using a prefetch 
> 0 will not have much impact. Prefetch is really only beneficial when 
consumers are very fast and when there are lots of messages in the queue or 
many producers. When consumers take a long or variable amount of time, it is 
best to leave the messages in the queue (prefecth=1) for other consumers to 
access.

ok, we may need to make the slowness determination some sort of strategy.
Have a thought on how best to determine the 'slowness" of a consumer, maye time 
since last ack. 
It needs to a fast calculation. The decision to dispatch based on prefetch was 
already firing an advisory for a slow consumer so that was reused for the 
current abort policy. 

I would be interested to know if you can get the test to fail with a 
prefetch=1, also note that just the consumer is aborted, not the connection, 
abortConnection=false (Default)

> Messages stuck in queue with redelivered=true
> -
>
> Key: AMQ-4533
> URL: https://issues.apache.org/jira/browse/AMQ-4533
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: JMS client
>Affects Versions: 5.7.0
> Environment: Fuse Message Broker 5.7.0
>Reporter: Jason Shepherd
> Attachments: AMQ4533Test.java, AMQ4533TestPatch.txt, 
> AMQ4533TestPatch.txt, AMQ4533TestPatch.txt, kahaPendingMessages.zip
>
>
> We're  getting message stuck in queues with the 
> redelivery flag set to true.
> We used the following test model: put every 1 second 50 messages 
> sequentially, and after that, the rest of 1000 msgs quickly to INPUT_QUEUE 
> and 
> while starting 25 listeners cosuming from INPUT_QUEUE, which takes about 30 
> seconds to move the message to RECEIPT_QUEUE, 10 other listeners on 
> RECEIPT_QUEUE consume and counts them.
> We tried making one of the consumer slow by setting the 
> processing time to 10 seconds (sleep) and putting a heavy load in 
> 500 threads every 1 ms to some other queues the same time.
> Our test case is attached, you might need to install some dependencies 
> to the local maven repository manually:
>  mvn install:install-file -DgroupId=org.apache.activemq 
> -DartifactId=activemq-core -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-core-5.7.0.fuse-71-047.jar
>  mvn install:install-file -DgroupId=org.apache.kahadb 
> -DartifactId=kahadb -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=kahadb-5.7.0.fuse-71-047.jar
>  mvn install:install-file 
> -DgroupId=org.apache.geronimo.management.specs 
> -DartifactId=geronimo-j2ee-management_1.1_spec -Dversion=1.0.1 
> -Dpackaging=jar -Dfile=geronimo-j2ee-management_1.1_spec-1.0.1.jar
>  mvn install:install-file -DgroupId=org.apache.activemq.pool 
> -DartifactId=activemq-pool -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-pool-5.7.0.fuse-71-047.jar
> To run the test, simply use the Maven test target:
> mvn clean test
> If the problem occurs the you'll get a message like this in the test 
> results, (target/surefire-reports):
> java.lang.AssertionError: Still messages in InputQueue expected:<0> 
> but was:<365>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (AMQ-4533) Messages stuck in queue with redelivered=true

2013-06-21 Thread Wieslaw Dudek (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690397#comment-13690397
 ] 

Wieslaw Dudek commented on AMQ-4533:


Thank you Gary for your input but apart from the fact this might be 
unacceptable to decrease the performance by reducing prefetchSize from 1000 to 
10 I am not sure if it is going to work. It is still failing on my local 
machine and anyway it might happen that we need wait a long time to have full 
prefetch queue /1000 messages assigned to “stuck” consumer/ to be released. We 
could tune the prefetch for every queue but anyway we might really need some 
good working timeout for aborting such consumers /to release all prefetched 
messages to it/. For now the timeout is related to slow consumers only and 
depends on difficult mechanism of slowness detecting which does not work if 
there are not enough messages coming to a queue for some time. So most likely 
it is still necessary to have a new checking mechanism whether a consumer is 
still consuming messages or not. 

> Messages stuck in queue with redelivered=true
> -
>
> Key: AMQ-4533
> URL: https://issues.apache.org/jira/browse/AMQ-4533
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: JMS client
>Affects Versions: 5.7.0
> Environment: Fuse Message Broker 5.7.0
>Reporter: Jason Shepherd
> Attachments: AMQ4533Test.java, AMQ4533TestPatch.txt, 
> AMQ4533TestPatch.txt, AMQ4533TestPatch.txt, kahaPendingMessages.zip
>
>
> We're  getting message stuck in queues with the 
> redelivery flag set to true.
> We used the following test model: put every 1 second 50 messages 
> sequentially, and after that, the rest of 1000 msgs quickly to INPUT_QUEUE 
> and 
> while starting 25 listeners cosuming from INPUT_QUEUE, which takes about 30 
> seconds to move the message to RECEIPT_QUEUE, 10 other listeners on 
> RECEIPT_QUEUE consume and counts them.
> We tried making one of the consumer slow by setting the 
> processing time to 10 seconds (sleep) and putting a heavy load in 
> 500 threads every 1 ms to some other queues the same time.
> Our test case is attached, you might need to install some dependencies 
> to the local maven repository manually:
>  mvn install:install-file -DgroupId=org.apache.activemq 
> -DartifactId=activemq-core -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-core-5.7.0.fuse-71-047.jar
>  mvn install:install-file -DgroupId=org.apache.kahadb 
> -DartifactId=kahadb -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=kahadb-5.7.0.fuse-71-047.jar
>  mvn install:install-file 
> -DgroupId=org.apache.geronimo.management.specs 
> -DartifactId=geronimo-j2ee-management_1.1_spec -Dversion=1.0.1 
> -Dpackaging=jar -Dfile=geronimo-j2ee-management_1.1_spec-1.0.1.jar
>  mvn install:install-file -DgroupId=org.apache.activemq.pool 
> -DartifactId=activemq-pool -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-pool-5.7.0.fuse-71-047.jar
> To run the test, simply use the Maven test target:
> mvn clean test
> If the problem occurs the you'll get a message like this in the test 
> results, (target/surefire-reports):
> java.lang.AssertionError: Still messages in InputQueue expected:<0> 
> but was:<365>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (AMQ-4595) QueueBrowser hangs when browsing large queues

2013-06-21 Thread Nicholas Rahn (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicholas Rahn updated AMQ-4595:
---

Attachment: amq-test-20130621T155120.log

> QueueBrowser hangs when browsing large queues
> -
>
> Key: AMQ-4595
> URL: https://issues.apache.org/jira/browse/AMQ-4595
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.8.0
> Environment: All
>Reporter: Nicholas Rahn
>Priority: Critical
>  Labels: QueueBrowser
> Attachments: AMQ580BrowsingBug.java, amq-test-20130621T155120.log
>
>
> When trying to browse a queue with a QueueBrowser, the browsing will hang and 
> never complete. This appears to happen only with "a lot" of message in the 
> queue. 1000 messages works correctly, but 1 hangs.
> I have attached a unit test that exhibits the problem. Change the 
> "messageToSend" variable in the test method to see the difference between 
> small queue size and large queue size. 
> I've attached the unit test code as well as the output from one of the runs 
> with 1 messages. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (AMQ-4595) QueueBrowser hangs when browsing large queues

2013-06-21 Thread Nicholas Rahn (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690291#comment-13690291
 ] 

Nicholas Rahn edited comment on AMQ-4595 at 6/21/13 1:59 PM:
-

Unit test code and output from a run with 1 messages.

  was (Author: ravv):
Unit test code and output from a run with 1000 messages.
  
> QueueBrowser hangs when browsing large queues
> -
>
> Key: AMQ-4595
> URL: https://issues.apache.org/jira/browse/AMQ-4595
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.8.0
> Environment: All
>Reporter: Nicholas Rahn
>Priority: Critical
>  Labels: QueueBrowser
> Attachments: AMQ580BrowsingBug.java, amq-test-20130621T155120.log
>
>
> When trying to browse a queue with a QueueBrowser, the browsing will hang and 
> never complete. This appears to happen only with "a lot" of message in the 
> queue. 1000 messages works correctly, but 1 hangs.
> I have attached a unit test that exhibits the problem. Change the 
> "messageToSend" variable in the test method to see the difference between 
> small queue size and large queue size. 
> I've attached the unit test code as well as the output from one of the runs 
> with 1 messages. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (AMQ-4595) QueueBrowser hangs when browsing large queues

2013-06-21 Thread Nicholas Rahn (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicholas Rahn updated AMQ-4595:
---

Attachment: (was: amq-test-20130621T155120.log)

> QueueBrowser hangs when browsing large queues
> -
>
> Key: AMQ-4595
> URL: https://issues.apache.org/jira/browse/AMQ-4595
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.8.0
> Environment: All
>Reporter: Nicholas Rahn
>Priority: Critical
>  Labels: QueueBrowser
> Attachments: AMQ580BrowsingBug.java
>
>
> When trying to browse a queue with a QueueBrowser, the browsing will hang and 
> never complete. This appears to happen only with "a lot" of message in the 
> queue. 1000 messages works correctly, but 1 hangs.
> I have attached a unit test that exhibits the problem. Change the 
> "messageToSend" variable in the test method to see the difference between 
> small queue size and large queue size. 
> I've attached the unit test code as well as the output from one of the runs 
> with 1 messages. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (AMQ-4595) QueueBrowser hangs when browsing large queues

2013-06-21 Thread Nicholas Rahn (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicholas Rahn updated AMQ-4595:
---

Attachment: amq-test-20130621T155120.log
AMQ580BrowsingBug.java

Unit test code and output from a run with 1000 messages.

> QueueBrowser hangs when browsing large queues
> -
>
> Key: AMQ-4595
> URL: https://issues.apache.org/jira/browse/AMQ-4595
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.8.0
> Environment: All
>Reporter: Nicholas Rahn
>Priority: Critical
>  Labels: QueueBrowser
> Attachments: AMQ580BrowsingBug.java, amq-test-20130621T155120.log
>
>
> When trying to browse a queue with a QueueBrowser, the browsing will hang and 
> never complete. This appears to happen only with "a lot" of message in the 
> queue. 1000 messages works correctly, but 1 hangs.
> I have attached a unit test that exhibits the problem. Change the 
> "messageToSend" variable in the test method to see the difference between 
> small queue size and large queue size. 
> I've attached the unit test code as well as the output from one of the runs 
> with 1 messages. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (AMQ-4595) QueueBrowser hangs when browsing large queues

2013-06-21 Thread Nicholas Rahn (JIRA)
Nicholas Rahn created AMQ-4595:
--

 Summary: QueueBrowser hangs when browsing large queues
 Key: AMQ-4595
 URL: https://issues.apache.org/jira/browse/AMQ-4595
 Project: ActiveMQ
  Issue Type: Bug
  Components: Broker
Affects Versions: 5.8.0
 Environment: All
Reporter: Nicholas Rahn
Priority: Critical


When trying to browse a queue with a QueueBrowser, the browsing will hang and 
never complete. This appears to happen only with "a lot" of message in the 
queue. 1000 messages works correctly, but 1 hangs.

I have attached a unit test that exhibits the problem. Change the 
"messageToSend" variable in the test method to see the difference between small 
queue size and large queue size. 

I've attached the unit test code as well as the output from one of the runs 
with 1 messages. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (AMQ-4533) Messages stuck in queue with redelivered=true

2013-06-21 Thread Gary Tully (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690286#comment-13690286
 ] 

Gary Tully commented on AMQ-4533:
-

note also that in the test, autack is used, so the message that "sleeps for 
eternity" is acked before the sleep but there is no receipt.

> Messages stuck in queue with redelivered=true
> -
>
> Key: AMQ-4533
> URL: https://issues.apache.org/jira/browse/AMQ-4533
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: JMS client
>Affects Versions: 5.7.0
> Environment: Fuse Message Broker 5.7.0
>Reporter: Jason Shepherd
> Attachments: AMQ4533Test.java, AMQ4533TestPatch.txt, 
> AMQ4533TestPatch.txt, AMQ4533TestPatch.txt, kahaPendingMessages.zip
>
>
> We're  getting message stuck in queues with the 
> redelivery flag set to true.
> We used the following test model: put every 1 second 50 messages 
> sequentially, and after that, the rest of 1000 msgs quickly to INPUT_QUEUE 
> and 
> while starting 25 listeners cosuming from INPUT_QUEUE, which takes about 30 
> seconds to move the message to RECEIPT_QUEUE, 10 other listeners on 
> RECEIPT_QUEUE consume and counts them.
> We tried making one of the consumer slow by setting the 
> processing time to 10 seconds (sleep) and putting a heavy load in 
> 500 threads every 1 ms to some other queues the same time.
> Our test case is attached, you might need to install some dependencies 
> to the local maven repository manually:
>  mvn install:install-file -DgroupId=org.apache.activemq 
> -DartifactId=activemq-core -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-core-5.7.0.fuse-71-047.jar
>  mvn install:install-file -DgroupId=org.apache.kahadb 
> -DartifactId=kahadb -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=kahadb-5.7.0.fuse-71-047.jar
>  mvn install:install-file 
> -DgroupId=org.apache.geronimo.management.specs 
> -DartifactId=geronimo-j2ee-management_1.1_spec -Dversion=1.0.1 
> -Dpackaging=jar -Dfile=geronimo-j2ee-management_1.1_spec-1.0.1.jar
>  mvn install:install-file -DgroupId=org.apache.activemq.pool 
> -DartifactId=activemq-pool -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-pool-5.7.0.fuse-71-047.jar
> To run the test, simply use the Maven test target:
> mvn clean test
> If the problem occurs the you'll get a message like this in the test 
> results, (target/surefire-reports):
> java.lang.AssertionError: Still messages in InputQueue expected:<0> 
> but was:<365>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (AMQ-4533) Messages stuck in queue with redelivered=true

2013-06-21 Thread Gary Tully (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully updated AMQ-4533:


Attachment: AMQ4533Test.java

adding the abort slow consumer policy to the input queue and setting prefetch 
to 10.

The prefetch is relevant b/c there are multiple consumers so messages get 
loadbalanced across them.
To be deemed slow, a consumer must have a dispatch size > than the prefetch for 
more than 30s and with prefetch 1000 (Default) this was not happening b/c all 
other consumers were very fast.

> Messages stuck in queue with redelivered=true
> -
>
> Key: AMQ-4533
> URL: https://issues.apache.org/jira/browse/AMQ-4533
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: JMS client
>Affects Versions: 5.7.0
> Environment: Fuse Message Broker 5.7.0
>Reporter: Jason Shepherd
> Attachments: AMQ4533Test.java, AMQ4533TestPatch.txt, 
> AMQ4533TestPatch.txt, AMQ4533TestPatch.txt, kahaPendingMessages.zip
>
>
> We're  getting message stuck in queues with the 
> redelivery flag set to true.
> We used the following test model: put every 1 second 50 messages 
> sequentially, and after that, the rest of 1000 msgs quickly to INPUT_QUEUE 
> and 
> while starting 25 listeners cosuming from INPUT_QUEUE, which takes about 30 
> seconds to move the message to RECEIPT_QUEUE, 10 other listeners on 
> RECEIPT_QUEUE consume and counts them.
> We tried making one of the consumer slow by setting the 
> processing time to 10 seconds (sleep) and putting a heavy load in 
> 500 threads every 1 ms to some other queues the same time.
> Our test case is attached, you might need to install some dependencies 
> to the local maven repository manually:
>  mvn install:install-file -DgroupId=org.apache.activemq 
> -DartifactId=activemq-core -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-core-5.7.0.fuse-71-047.jar
>  mvn install:install-file -DgroupId=org.apache.kahadb 
> -DartifactId=kahadb -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=kahadb-5.7.0.fuse-71-047.jar
>  mvn install:install-file 
> -DgroupId=org.apache.geronimo.management.specs 
> -DartifactId=geronimo-j2ee-management_1.1_spec -Dversion=1.0.1 
> -Dpackaging=jar -Dfile=geronimo-j2ee-management_1.1_spec-1.0.1.jar
>  mvn install:install-file -DgroupId=org.apache.activemq.pool 
> -DartifactId=activemq-pool -Dversion=5.7.0-fuse-71-047 -Dpackaging=jar 
> -Dfile=activemq-pool-5.7.0.fuse-71-047.jar
> To run the test, simply use the Maven test target:
> mvn clean test
> If the problem occurs the you'll get a message like this in the test 
> results, (target/surefire-reports):
> java.lang.AssertionError: Still messages in InputQueue expected:<0> 
> but was:<365>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (AMQ-4594) Replace web console with hawtio

2013-06-21 Thread Dejan Bosanac (JIRA)
Dejan Bosanac created AMQ-4594:
--

 Summary: Replace web console with hawtio
 Key: AMQ-4594
 URL: https://issues.apache.org/jira/browse/AMQ-4594
 Project: ActiveMQ
  Issue Type: New Feature
Affects Versions: 5.8.0
Reporter: Dejan Bosanac
Assignee: Dejan Bosanac
 Fix For: 5.9.0


Our administration web console has come to age and we should replace with 
hawtio (http://hawt.io) project. Of course, we should make sure that ActiveMQ 
plugin is feature compatible with current console.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (AMQ-4593) Upgrade Snappy Java

2013-06-21 Thread Dejan Bosanac (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dejan Bosanac resolved AMQ-4593.


Resolution: Fixed

fixed with svn revision 1495392

> Upgrade Snappy Java
> ---
>
> Key: AMQ-4593
> URL: https://issues.apache.org/jira/browse/AMQ-4593
> Project: ActiveMQ
>  Issue Type: Improvement
>Affects Versions: 5.8.0
>Reporter: Dejan Bosanac
>Assignee: Dejan Bosanac
> Fix For: 5.9.0
>
>
> Version 1.0.4 we use in osgi env doesn't work properly on Java 7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (AMQ-4593) Upgrade Snappy Java

2013-06-21 Thread Dejan Bosanac (JIRA)
Dejan Bosanac created AMQ-4593:
--

 Summary: Upgrade Snappy Java
 Key: AMQ-4593
 URL: https://issues.apache.org/jira/browse/AMQ-4593
 Project: ActiveMQ
  Issue Type: Improvement
Affects Versions: 5.8.0
Reporter: Dejan Bosanac
Assignee: Dejan Bosanac
 Fix For: 5.9.0


Version 1.0.4 we use in osgi env doesn't work properly on Java 7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Jenkins build became unstable: ActiveMQ » ActiveMQ :: LevelDB Store #1318

2013-06-21 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : ActiveMQ » ActiveMQ :: Web #1318

2013-06-21 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : ActiveMQ » ActiveMQ :: Pool #1318

2013-06-21 Thread Apache Jenkins Server
See 




Jenkins build became unstable: ActiveMQ » ActiveMQ :: Web Demo #1318

2013-06-21 Thread Apache Jenkins Server
See