yup i'll have to try that now.
Thanx
----- Original Message -----
From: "Gene Chuang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 12:06 PM
Subject: Re: Dynamic Invocation of a bean method
> I'm baffled! Post this on bea newsgroup and see if you get a bite.
>
> Gene
>
> -----Original Message-----
> From: Ashish Ravi
> To: [EMAIL PROTECTED]
> Sent: 6/26/01 11:07 PM
> Subject: Re: Dynamic Invocation of a bean method
>
> The error is as follows :
> weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ replica
> handler
> not set ]
> at weblogic.utils.Debug.assert(Debug.java:73)
> at
> weblogic.service.BasicServiceStub._wl_loadBalance(BasicServiceStub.java:
> 103)
> at
> weblogic.service.BasicServiceStub._wl_autoLoadBalance(BasicServiceStub.j
> ava:
> 129)
> at
> com.webrizon.autorecruit.backentitybeans.b.bBeanHomeImpl_ServiceStub.cre
> ate(
> bBeanHomeImpl_ServiceStub.java, Compiled Code)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> com.webrizon.autorecruit.util.CreateBean.create(CreateBean.java,
> Compiled Code)
> at TestClient.main(TestClient.java, Compiled Code)
> InvocationTargetException .... weblogic.utils.AssertionError: *****
> ASSERTION FAILED *****[ replica handler not set ]
>
> create is the static method in the CreateBean class which invokes the
> create
> method in the specified bean.
> ----- 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".
>
>
===========================================================================
> 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".