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

Wrong FailureScopeController used in peer recovery #14781

Closed
jonhawkes opened this issue Nov 2, 2020 · 0 comments · Fixed by #14782
Closed

Wrong FailureScopeController used in peer recovery #14781

jonhawkes opened this issue Nov 2, 2020 · 0 comments · Fixed by #14782
Assignees
Labels
release bug This bug is present in a released version of Open Liberty release:200012

Comments

@jonhawkes
Copy link
Member

jonhawkes commented Nov 2, 2020

Recovery agent creates wrong type of FailureScopeController during peer recovery. This can cause the following CCE when importing a transaction via WSAT.

java.lang.ClassCastException: com.ibm.tx.jta.impl.TransactionImpl incompatible with com.ibm.tx.remote.DistributableTransaction
at com.ibm.ws.transaction.services.RemoteTransactionControllerService.getTransactionForID(RemoteTransactionControllerService.java:265)
at com.ibm.ws.transaction.services.RemoteTransactionControllerService.importTransaction(RemoteTransactionControllerService.java:105)
at com.ibm.ws.wsat.tm.impl.TranManagerImpl.importTransaction(TranManagerImpl.java:213)
at com.ibm.ws.wsat.service.impl.HandlerImpl.serverRequest(HandlerImpl.java:203)
at com.ibm.ws.wsat.service.impl.HandlerService.handleServerRequest(HandlerService.java:112)
at com.ibm.ws.wsat.interceptor.CoorContextInInterceptor.handleMessage(CoorContextInInterceptor.java:145)
at com.ibm.ws.wsat.interceptor.CoorContextInInterceptor.handleMessage(CoorContextInInterceptor.java:51)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:273)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:214)
at com.ibm.ws.jaxws.endpoint.AbstractJaxWsWebEndpoint$1.run(AbstractJaxWsWebEndpoint.java:202)
at com.ibm.ws.jaxws.endpoint.AbstractJaxWsWebEndpoint$1.run(AbstractJaxWsWebEndpoint.java:199)
at java.security.AccessController.doPrivileged(AccessController.java:734)
at com.ibm.ws.jaxws.endpoint.AbstractJaxWsWebEndpoint.invoke(AbstractJaxWsWebEndpoint.java:199)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.handleRequest(LibertyJaxWsServlet.java:134)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.doPost(LibertyJaxWsServlet.java:93)
...

@jonhawkes jonhawkes added the release bug This bug is present in a released version of Open Liberty label Nov 2, 2020
@jonhawkes jonhawkes self-assigned this Nov 2, 2020
@jonhawkes jonhawkes changed the title Wrong FailurescopeController used in peer recovery Wrong FailureScopeController used in peer recovery Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:200012
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants