Dynamic invocation of EJBObject should be no different from programmatic
invocation.  Does this work if you invoke the method directly?  And check to
make sure exactly which method you are dynamically calling, for it sounds
like you are calling a super method of the stub in which you should not be
calling!

Gene Chuang
Kiko.com


-----Original Message-----
From: Ashish Ravi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 1:51 AM
To: [EMAIL PROTECTED]
Subject: Dynamic Invocation of a bean method


Hi,
    I'm trying to invoke methods on an entity bean dynamically, by 1st
getting the method name through the getDeclaredMethod() of the Class class
and then invoking the method invoke in the java.lang.reflect.Method which
invokes the specified method. This is done through a normal java class.
Everything happens according to plan and this class finds the method and
tries to invoke it. But, it causes a
java.lang.reflect.InvocationTargetException which finally generates an
AssertionError, to be specific weblogic.utils.AssertionError. the errror is
:

weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ replica handler
not set ]

The weblogic i'm using is a single processor licence with clustering set to
false. Any ideas as to what the problem might be?


Ashish

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to