4 Replies Latest reply on Jul 11, 2013 5:34 AM by Rafal Zaczynski

    Remote EJB JNDI call to AS 6 from AS 7

    pugal srini Newbie

      During the migration process from JBOSS AS 6 to 7 we have to use the EJB components still present in AS 6.

       

      What is the minimum set of jbossall-client jars that can be bundled with AS 7 deployed jar module so that it can make remote jndi call to EJB in AS 6 wihtout causing conflict with mismatched API, for example Exceptions like the following:

       

      Caused by: java.lang.IllegalArgumentException: JBAS011071: Invalid signature for method invoke annotated with javax.interceptor.AroundInvoke on class org.jboss.ejb3.tx2.impl.BMTInterceptor, signature must be 'Object methodName(InvocationContext ctx)'

              at org.jboss.as.ee.component.deployers.AroundInvokeAnnotationParsingProcessor.validateArgumentType(AroundInvokeAnnotationParsingProcessor.java:94)

              at org.jboss.as.ee.component.deployers.AroundInvokeAnnotationParsingProcessor.processAroundInvoke(AroundInvokeAnnotationParsingProcessor.java:81)

              at org.jboss.as.ee.component.deployers.AroundInvokeAnnotationParsingProcessor.deploy(AroundInvokeAnnotationParsingProcessor.java:66)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]