Are you obtaining (and invoking) the method from the bean class or from the
remote interface?
Be sure you are obtaining (and invoking) the method from the remote
interface, not the bean class.
Charles May, Software Engineer
AFCO Credit/Mellon Financial Corp
email: mailto:[EMAIL PROTECTED]
The views expressed in this message are my own, and do not necessarily
represent the views of my employer.
-----Original Message-----
From: Ashish Ravi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 4:51 AM
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
*****************************************************************
DISCLAIMER: The information contained in this e-mail may be confidential
and is intended solely for the use of the named addressee. Access, copying
or re-use of the e-mail or any information contained therein by any other
person is not authorized. If you are not the intended recipient please
notify us immediately by returning the e-mail to the originator.
===========================================================================
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".