Skip to content
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

Merged
merged 1 commit into from
May 4, 2017

Conversation

n1hility
Copy link
Member

@n1hility n1hility commented May 3, 2017

writeFailedResponse(invId, e);
} catch (Throwable t) {
// Narayana uses Errors, Exceptions, and RuntimeExceptions
if (t instanceof VirtualMachineError) {
Copy link
Member

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.

dmlloyd
dmlloyd previously requested changes May 3, 2017
throw (VirtualMachineError)t;
}

writeFailedResponse(invId, t);
Copy link
Member

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>
Copy link
Member

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.

Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops!

@dmlloyd dmlloyd merged commit d7c4fb5 into wildfly:master May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants