You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2014/01/06 14:27:55 UTC

[jira] [Comment Edited] (AMQ-4950) " java.lang.ClassCastException: org.apache.activemq.command.ExceptionResponse cannot be cast to org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect"

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

Torsten Mielke edited comment on AMQ-4950 at 1/6/14 1:27 PM:
-------------------------------------------------------------

Fixed in commit [f69cbd8ec6ec7cfa78a83892d32c7bb3bbd3a7d1|https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=f69cbd8ec6ec7cfa78a83892d32c7bb3bbd3a7d1].


was (Author: tmielke):
Fixed in commit f69cbd8ec6ec7cfa78a83892d32c7bb3bbd3a7d1.

> " java.lang.ClassCastException: org.apache.activemq.command.ExceptionResponse cannot be cast to org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect"
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4950
>                 URL: https://issues.apache.org/jira/browse/AMQ-4950
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.9.0
>            Reporter: Torsten Mielke
>            Assignee: Torsten Mielke
>              Labels: XA, prepare, transaction
>             Fix For: 5.10.0
>
>
> If an XA prepare() raises an exception back to the client it results in the warning 
> {noformat}
> WARN  FailoverTransport - Transport (tcp://127.0.0.1:61249) failed, reason:  java.io.IOException: 
> Unexpected error occured: java.lang.ClassCastException: 
> org.apache.activemq.command.ExceptionResponse cannot be cast to 
> org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect
> {noformat}
> which triggers a failover reconnect and a replay of the transaction which then causes
> {noformat}
> 2013-12-20 13:38:12,581 [main] - WARN  TransactionContext - prepare of: 
> XID:[86,globalId=00000001,branchId=00000001] failed with: javax.jms.JMSException: Cannot call prepare now.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)