0 Replies Latest reply on Dec 10, 2004 5:57 AM by Sudhir Reddy

    Why is Invocation.invocationContext  null for cross-containe

    Sudhir Reddy Newbie

      Why is Invocation.invocationContext null for cross-container invocations ?

      I have written my Interceptor which extends AbstractInterceptor to get the InvocationContext from the Invocation.

      The problem:

      A Bean when calls an Entity bean on the same machine has the invocation context( org.jboss.invocation.Invocation.invocationContext ) in Invocation Object (org.jboss.invocation.Invocation)

      But when ...
      I have a Bean on Machine A which calls an entity Bean on Machine B, this is null , can anyone explain ? Is there something I am doing wrong ?

      Also if someone can answer the following, I would really help me in my work.

      Using this Invocation object(org.jboss.invocation.Invocation), how can I get the details of the application component