[JBoss JIRA] (AS7-6770) Recovery manager service may not always use the correct orphan filters
by jaikiran pai (JIRA)
[ https://issues.jboss.org/browse/AS7-6770?page=com.atlassian.jira.plugin.s... ]
jaikiran pai reopened AS7-6770:
-------------------------------
Reopening to link the PR on github
> Recovery manager service may not always use the correct orphan filters
> ----------------------------------------------------------------------
>
> Key: AS7-6770
> URL: https://issues.jboss.org/browse/AS7-6770
> Project: Application Server 7
> Issue Type: Bug
> Components: Transactions
> Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
> Reporter: jaikiran pai
> Assignee: jaikiran pai
> Fix For: 8.0.0.Alpha1
>
>
> I've been looking into certain transaction recovery use cases (with EJB remote beans involved) and while investigating the issues, I noticed that the orphan filters being set in the JTAEnvironmentBean might not be available to the Recovery manager service. That's because the MSC service which sets up the transaction recovery manager service runs before the JTAEnvironmentBean is setup with the orphan filters, which actually happens in a separate MSC service (Arjuna tx manager service) which starts *after* the recovery manager MSC service.
> (Sorry, don't have the code in front of me, else would have added the exact class names - will do so later).
--
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
13 years, 3 months
[JBoss JIRA] (JGRP-1623) RELAY2: RPC calls fail on remote site members
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1623?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-1623:
---------------------------
Fix Version/s: 3.3
> RELAY2: RPC calls fail on remote site members
> ---------------------------------------------
>
> Key: JGRP-1623
> URL: https://issues.jboss.org/browse/JGRP-1623
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.2.8
> Reporter: Karim AMMOUS
> Assignee: Bela Ban
> Fix For: 3.3
>
> Attachments: Relay2RpcDispatcherTest.java
>
>
> Let's
> Site LON : a (site master), b
> Site NYC : x (site master), y
> when b.callRemoteMethods(null, foo method, opts), no method invocation was handled on x and y.
> Message that enclose MethodCall reached the remote site members (x and y), but it was interpreted as notification instead of request. Below stack trace of the exception triggered at NYC receivers.
> Please find enclosed a unitary test.
> {noformat}
> 4034 [ERROR] RELAY2: failed delivering message
> java.lang.RuntimeException: java.lang.ClassCastException: org.jgroups.blocks.MethodCall cannot be cast to java.lang.Integer
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:670) ~[classes/:?]
> at org.jgroups.JChannel.up(JChannel.java:719) ~[classes/:?]
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1008) ~[classes/:?]
> at org.jgroups.protocols.relay.RELAY2.deliver(RELAY2.java:608) [classes/:?]
> at org.jgroups.protocols.relay.RELAY2.up(RELAY2.java:452) [classes/:?]
> at org.jgroups.stack.Protocol.up(Protocol.java:406) [classes/:?]
> at org.jgroups.stack.Protocol.up(Protocol.java:406) [classes/:?]
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:419) [classes/:?]
> at org.jgroups.protocols.pbcast.NAKACK2.removeAndPassUp(NAKACK2.java:892) [classes/:?]
> at org.jgroups.protocols.pbcast.NAKACK2.handleMessages(NAKACK2.java:847) [classes/:?]
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:668) [classes/:?]
> at org.jgroups.stack.Protocol.up(Protocol.java:406) [classes/:?]
> at org.jgroups.protocols.TP.passBatchUp(TP.java:1383) [classes/:?]
> at org.jgroups.protocols.TP$BatchHandler.run(TP.java:1519) [classes/:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [?:1.6.0_43]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [?:1.6.0_43]
> at java.lang.Thread.run(Thread.java:662) [?:1.6.0_43]
> Caused by: java.lang.ClassCastException: org.jgroups.blocks.MethodCall cannot be cast to java.lang.Integer
> at com.etrali.karim.jgroups.relay.Relay2RpcDispatcherTest$MyReceiver.receive(Relay2RpcDispatcherTest.java:298) ~[bin/:?]
> at org.jgroups.blocks.MessageDispatcher.handleUpEvent(MessageDispatcher.java:552) ~[classes/:?]
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:667) ~[classes/:?]
> ... 16 more
> {noformat}
--
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
13 years, 3 months