[RESULT][VOTE] Apache ActiveMQ 5.4.1

2010-09-21 Thread Hadrian Zbarcea
The vote passes with:

[7] +1 - binding votes (hadrian, bsnyder, tabish, rajdavies, gtully, chirino, 
jgomes)
[2] +1 - non-binding votes (dejanb, shawn)
[0] -1

I will promote the artifacts to the central repo in the morning.

Many thanks to all who took the time to test this release and vote. Personal 
thanks to Bruce who helped out with the release. Special thanks to Shawn who 
took the time to run the TCK in Geronimo and report a 100% success.

Hadrian

On Sep 18, 2010, at 9:56 AM, Hadrian Zbarcea wrote:

> A maintenance release activemq-5.4.1 is out with approximately 49 issues 
> resolved.
> 
> Please find the staging repo here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-041/
> 
> The binary distribution is here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-all/5.4.1/
> 
> The source distribution is here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-parent/5.4.1/
> 
> The repository tag is here:
> https://svn.apache.org/repos/asf/activemq/tags/activemq-5.4.1/
> 
> The list of resolved issues is here:
> https://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=10520&styleName=Html&version=12332
> 
> Please review and vote to approve this release binary. Your vote counts!
> 
> [ ] +1 Release the binary as Apache ActiveMQ 5.4.1
> [ ] -1 Veto the release (provide specific comments)
> Vote is open for 72 hours.
> 
> Here's my +1
> 
> Hadrian



[jira] Created: (AMQ-2929) Compressed text message received by consumer uncompressed

2010-09-21 Thread Michael Chen (JIRA)
Compressed text message received by consumer uncompressed
-

 Key: AMQ-2929
 URL: https://issues.apache.org/activemq/browse/AMQ-2929
 Project: ActiveMQ
  Issue Type: Bug
  Components: JMS client
Affects Versions: 5.3.2
 Environment: ActiveMQ 5.3.2 / Camel 2.2.0
Reporter: Michael Chen


I have a queue setup to send and consume compressed text messages.  This is 
done via Spring setting ActiveMQConnectionFactory.useCompression to true.  If 
the consumer connects to this queue before the first message is arrives, 
everything works great.

If the messages are sent to this queue before the consumer connects, those 
early messages will cause ZipException "unknown compression method" when 
consumed by the belated consumer. Debugger shows that the 
ActiveMQTextMessage.content already contains the uncompressed text (with 4 
leading length bytes) when ActiveMQTextMessage.getText() is called.

If I set useCompression to false, early messages are consumed with no problems. 
 Please look into this.

I notice that after ActiveMQTextMessage.getText() decompress the message, it 
does not set compressed to false. Not sure if that is the cause.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: {VOTE] Release Apache.NMS.Stomp 1.4.0

2010-09-21 Thread Jim Gomes
+1

On Mon, Sep 20, 2010 at 5:51 AM, Timothy Bish  wrote:

> Hello
>
> This is a call for a vote on the release of Apache.NMS.Stomp v1.4.0.
> This release addresses several bug found in the v1.3.0 and adds a simple
> failover transport to the Stomp client.
>
> The binaries and source bundles for the Release Candidate can be found
> here:
> 
>
> The Wiki Page for this release is here:
> 
>
> The list of issues resolved is here:
> <
> https://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=11010&styleName=Html&version=12188
> >
>
> Please cast your votes (the vote will be open for 72 hrs):
>
> [ ] +1 Release the source as Apache NMS.Stomp 1.4.0
> [ ] -1 Veto the release (provide specific comments)
>
> Here's my +1
>
> Regards
>
> --
> Tim Bish
>
> Open Source Integration: http://fusesource.com
>
> Follow me on Twitter: http://twitter.com/tabish121
> My Blog: http://timbish.blogspot.com/
>
>


Re: [VOTE] Apache ActiveMQ 5.4.1

2010-09-21 Thread Jim Gomes
+1

On Sat, Sep 18, 2010 at 6:56 AM, Hadrian Zbarcea  wrote:

> A maintenance release activemq-5.4.1 is out with approximately 49 issues
> resolved.
>
> Please find the staging repo here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-041/
>
> The binary distribution is here:
>
> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-all/5.4.1/
>
> The source distribution is here:
>
> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-parent/5.4.1/
>
> The repository tag is here:
> https://svn.apache.org/repos/asf/activemq/tags/activemq-5.4.1/
>
> The list of resolved issues is here:
>
> https://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=10520&styleName=Html&version=12332
>
> Please review and vote to approve this release binary. Your vote counts!
>
> [ ] +1 Release the binary as Apache ActiveMQ 5.4.1
> [ ] -1 Veto the release (provide specific comments)
> Vote is open for 72 hours.
>
> Here's my +1
>
> Hadrian


Re: [VOTE] Apache ActiveMQ 5.4.1

2010-09-21 Thread Bruce Snyder
On Tue, Sep 21, 2010 at 7:58 AM, Shawn Jiang  wrote:
> +1
>
> Geronimo 22 branch TCK 100% passed with this staging release.

Woot!

Bruce
-- 
perl -e 'print 
unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61Ehttp://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder


[jira] Commented: (AMQ-2268) ActiveMQ fails to recover after deleting kr-store/state/index-store-state

2010-09-21 Thread Andy (JIRA)

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

Andy commented on AMQ-2268:
---

I am seeing this in the current trunk 'very' often, usually after a an unclean 
shutdown but also on a clean shutdown.

ERROR - Failed to start ActiveMQ JMS Message Broker. Reason: 
java.io.EOFException: Chunk stream does not exist at page: 0
java.io.EOFException: Chunk stream does not exist at page: 0
at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
at org.apache.kahadb.page.Transaction$2.(Transaction.java:431)
at 
org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
at org.apache.kahadb.page.Transaction.load(Transaction.java:404)
at org.apache.kahadb.page.Transaction.load(Transaction.java:361)
at 
org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobSchedulerStore.java:250)
at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
at 
org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSchedulerStore.java:239)
at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
at 
org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(SchedulerBroker.java:198)
at 
org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:185)
at 
org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerBroker.java:85)
at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
at 
org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
at 
org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1786)
at 
org.apache.activemq.broker.BrokerService.start(BrokerService.java:496)
at 
org.apache.activemq.ra.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:85)

Is it related I wonder? Deleting store files by hand (and now currently written 
into code as a temp workaround) is the only way to get ActiveMQ to fire up.

> ActiveMQ fails to recover after deleting kr-store/state/index-store-state
> -
>
> Key: AMQ-2268
> URL: https://issues.apache.org/activemq/browse/AMQ-2268
> Project: ActiveMQ
>  Issue Type: Bug
>Affects Versions: 5.2.0
> Environment: Ubuntu 8.10 Server 64 Bit, Java 6
>Reporter: Jörn Kottmann
>
> The documentation says:
> "... It is possbile to force automatic recovery if using the Kaha reference 
> store (the default) by deleting the kr-store/state/index-store-state file."
> (http://activemq.apache.org/amq-message-store.html).
> After deleting the index-store-state file ActiveMQ fails to start again with 
> these errors:
> 2009-05-26 16:10:07,294 [main   ] INFO  DefaultCamelContext   
>  - JMX enabled. Using InstrumentationLifecycleStrategy.
> 2009-05-26 16:10:07,409 [main   ] INFO  BrokerService 
>  - Using Persistence Adapter: 
> AMQPersistenceAdapter(/usr/local/apache-activemq-5.2.0/data)
> 2009-05-26 16:10:07,415 [main   ] INFO  AMQPersistenceAdapter 
>  - AMQStore starting using directory: /usr/local/apache-activemq-5.2.0/data
> 2009-05-26 16:10:07,439 [main   ] INFO  KahaStore 
>  - Kaha Store using data directory 
> /usr/local/apache-activemq-5.2.0/data/kr-store/state
> 2009-05-26 16:10:07,453 [main   ] ERROR BrokerService 
>  - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException
> java.io.EOFException
>   at java.io.RandomAccessFile.readFully(RandomAccessFile.java:383)
>   at java.io.RandomAccessFile.readFully(RandomAccessFile.java:361)
>   at 
> org.apache.activemq.kaha.impl.index.StoreIndexReader.readItem(StoreIndexReader.java:46)
>   at 
> org.apache.activemq.kaha.impl.index.IndexManager.getIndex(IndexManager.java:70)
>   at 
> org.apache.activemq.kaha.impl.IndexRootContainer.getRoot(IndexRootContainer.java:126)
>   at 
> org.apache.activemq.kaha.impl.KahaStore.generateInterestInMapDataFiles(KahaStore.java:576)
>   at 
> org.apache.activemq.kaha.impl.KahaStore.initialize(KahaStore.java:498)
>   at 
> org.apache.activemq.kaha.impl.KahaStore.getMapContainerIds(KahaStore.java:256)
>   at 
> org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.start(KahaReferenceStoreAdapter.java:94)
>   at 
> org.apache.activemq.store.amq.AMQPersistenceAdapter.start(AMQPersistenceAdapter.java:231)
>   at 
> org.apache.activemq.broker.BrokerService.start(BrokerService.java:458)
>   at 
> org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerServic

[jira] Commented: (AMQCPP-316) Unable to receive any messages after re-starting message broker

2010-09-21 Thread Timothy Bish (JIRA)

[ 
https://issues.apache.org/activemq/browse/AMQCPP-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61972#action_61972
 ] 

Timothy Bish commented on AMQCPP-316:
-

Updated the trunk code with some fixes to the CMSTemplate source to prevent 
some memory leaks that I found while testing with the timeout option set on the 
Failover transport.  If you could try out trunk and see if it resolves the 
issues you were having that would be helpful to me.

> Unable to receive any messages after re-starting message broker
> ---
>
> Key: AMQCPP-316
> URL: https://issues.apache.org/activemq/browse/AMQCPP-316
> Project: ActiveMQ C++ Client
>  Issue Type: Bug
>  Components: CMS Impl
>Affects Versions: 3.2.0, 3.2.1, 3.2.2, 3.2.3
> Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 
> 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
>Reporter: Helen Huang
>Assignee: Timothy Bish
>Priority: Critical
> Fix For: 3.2.4, 3.3.0
>
> Attachments: ReconnectionTest-new.zip, ReconnectionTest.zip
>
>
> We developed two applications that use CmsTemplate to send and receive 
> messages. The sender application is called MessageSender, and the receiver 
> application is called MessageListener. We found that the MessageListener is 
> unable to receive any messages after we re-start the message broker.
> The followings are the steps to recreate the problem:
> (1) start the activemq message broker,
> (2) start MessageListener and MessageSender, and observe that messages are 
> being sent and received successfully.
> (3) stop the message broker without stopping MessageListener and 
> MessageSender. Wait for a while (for about a minute or two)
> (4) start the message broker again.
> We expect we can send and receive messages successfully after step (4), but 
> the MessageListener can never receive any messages any more. Also from the 
> activemq admin page, we find that the consumer of the topic is gone. We did 
> the test with url "?keepAlive=true&wireFormat.maxInactivityDuration=0", but 
> it did not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [VOTE] Apache ActiveMQ 5.4.1

2010-09-21 Thread Hiram Chirino
yay!

Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://fusesource.com/



On Tue, Sep 21, 2010 at 9:58 AM, Shawn Jiang  wrote:
> +1
>
> Geronimo 22 branch TCK 100% passed with this staging release.
>
> On Mon, Sep 20, 2010 at 10:27 PM, Shawn Jiang  wrote:
>
>> TCK with Geronimo based on this staging activemq is still running.   I will
>> update the result here when it's completed.
>>
>> On Sat, Sep 18, 2010 at 9:56 PM, Hadrian Zbarcea wrote:
>>
>>> A maintenance release activemq-5.4.1 is out with approximately 49 issues
>>> resolved.
>>>
>>> Please find the staging repo here:
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-041/
>>>
>>> The binary distribution is here:
>>>
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-all/5.4.1/
>>>
>>> The source distribution is here:
>>>
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-parent/5.4.1/
>>>
>>> The repository tag is here:
>>> https://svn.apache.org/repos/asf/activemq/tags/activemq-5.4.1/
>>>
>>> The list of resolved issues is here:
>>>
>>> https://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=10520&styleName=Html&version=12332
>>>
>>> Please review and vote to approve this release binary. Your vote counts!
>>>
>>> [ ] +1 Release the binary as Apache ActiveMQ 5.4.1
>>> [ ] -1 Veto the release (provide specific comments)
>>> Vote is open for 72 hours.
>>>
>>> Here's my +1
>>>
>>> Hadrian
>>
>>
>>
>>
>> --
>> Shawn
>>
>
>
>
> --
> Shawn
>


Re: [VOTE] Apache ActiveMQ 5.4.1

2010-09-21 Thread Shawn Jiang
+1

Geronimo 22 branch TCK 100% passed with this staging release.

On Mon, Sep 20, 2010 at 10:27 PM, Shawn Jiang  wrote:

> TCK with Geronimo based on this staging activemq is still running.   I will
> update the result here when it's completed.
>
> On Sat, Sep 18, 2010 at 9:56 PM, Hadrian Zbarcea wrote:
>
>> A maintenance release activemq-5.4.1 is out with approximately 49 issues
>> resolved.
>>
>> Please find the staging repo here:
>> https://repository.apache.org/content/repositories/orgapacheactivemq-041/
>>
>> The binary distribution is here:
>>
>> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-all/5.4.1/
>>
>> The source distribution is here:
>>
>> https://repository.apache.org/content/repositories/orgapacheactivemq-041/org/apache/activemq/activemq-parent/5.4.1/
>>
>> The repository tag is here:
>> https://svn.apache.org/repos/asf/activemq/tags/activemq-5.4.1/
>>
>> The list of resolved issues is here:
>>
>> https://issues.apache.org/activemq/secure/ReleaseNote.jspa?projectId=10520&styleName=Html&version=12332
>>
>> Please review and vote to approve this release binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache ActiveMQ 5.4.1
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for 72 hours.
>>
>> Here's my +1
>>
>> Hadrian
>
>
>
>
> --
> Shawn
>



-- 
Shawn