I am basically trying to call the create method in the EJBHome. And it works
if i call the method directly, so the bean method does work :) I've tried
using the same method-caller to call invoke the method on a normal java
class and that works perfectly. But the error while invoking the bean method
is something about "request handler not set", which probable is the case
when i'm using a clustered server, aint it?
----- Original Message -----
From: "Gene Chuang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 12:39 AM
Subject: Re: Dynamic Invocation of a bean method


> 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".
>
>

===========================================================================
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