-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.DR12, 7.1.0.DR13, 7.1.0.ER2
-
None
Applications developed and deployed in EAP 7.0 and earlier that utilized the EJBClientContext.registerInterceptor() call for outbound calls to other servers will not function due to a method signature change. It's possible to resolve this compatibility issue by emulating the previous signature. It is believed that this issue can be resolved post GA if necessary as a CP fix, if there is not available bandwidth to include a solution.
– Original Description —
Upon attempting to attach a client side interceptor to client's EJB client context on EAP 7.1.0.DR12 with a client application from 7.0 quickstart, the following exception is produced:
10:40:52,589 ERROR [org.jboss.as.appclient] (Thread-43) WFLYAC0002: InvocationTargetException running app client main: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_91] at org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:109) at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_91] Caused by: java.lang.NoSuchMethodError: org.jboss.ejb.client.EJBClientContext.registerInterceptor(ILorg/jboss/ejb/client/EJBClientInterceptor;)Lorg/jboss/ejb/client/EJBClientInterceptor$Registration; at org.jboss.as.quickstarts.appclient.acc.client.Main.main(Main.java:60) [simpleClient.jar:] ... 6 more
This breaks backwards compatibility with quickstart applications from previous releases in EAP7 major version.
- is blocked by
-
EJBCLIENT-253 Emulate org.jboss.ejb.client.EJBClientContext.registerInterceptor(ILorg/jboss/ejb/client/EJBClientInterceptor;)
- Resolved
- is cloned by
-
JBEAP-12666 [GSS](7.1.z) Server side EJBClientContext.registerInterceptor() compatibility issue
- Closed