-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EJBCLIENT-223 - Protocol issues relating to legacy compatibilty #264
Conversation
writeFailedResponse(invId, e); | ||
} catch (Throwable t) { | ||
// Narayana uses Errors, Exceptions, and RuntimeExceptions | ||
if (t instanceof VirtualMachineError) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case we should still write a failed response. It should be a SystemException.
throw (VirtualMachineError)t; | ||
} | ||
|
||
writeFailedResponse(invId, t); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather see a SystemException wrapping here because otherwise weird exceptions will be thrown remotely that shouldn't appear there (like Errors).
pom.xml
Outdated
@@ -58,7 +58,7 @@ | |||
<version.org.wildfly.naming.client>1.0.0.Beta14</version.org.wildfly.naming.client> | |||
<version.org.wildfly.discovery>1.0.0.Beta10</version.org.wildfly.discovery> | |||
<version.org.wildfly.security.elytron>1.1.0.Beta37</version.org.wildfly.security.elytron> | |||
<version.org.wildfly.transaction-client>1.0.0.Beta21</version.org.wildfly.transaction-client> | |||
<version.org.wildfly.transaction-client>1.0.0.Beta22-SNAPSHOT</version.org.wildfly.transaction-client> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll get a release out soon for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release is done
| (encodedForm[nodeNameLength + 1] & 0xff) << 16 | ||
| (encodedForm[nodeNameLength + 2] & 0xff) << 8 | ||
| encodedForm[nodeNameLength + 3] & 0xff; | ||
this.id = (encodedForm[nodeNameLength + 2] & 0xff) << 24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops!
https://issues.jboss.org/browse/EJBCLIENT-223