"chawla, Amit" wrote:
> In one of
> the ejbFinder methods I'm returning enumeration of PrimaryKey Objects. When
> I invoke this method, it goes into infinite loop and keeps on generating
> log(first few lines are given below).

[snip]

> java.lang.ClassCastException
>         at
> com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemo
> teObject.java:297)

This means...well, it means what it says.  It means in your code you
simply must have a line like this:

  SomeObject myRef = (WrongClass)PortableRemoteObject.narrow(...);

...that is, you're casting something somewhere to the wrong class.

That's all I can do without seeing your code.

Cheers,
Laird

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