Meaningless Drivel is fun!
The moose likes EJB and other Java EE Technologies and the fly likes EnumeratorException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EnumeratorException" Watch "EnumeratorException" New topic


Praveen Katti

Joined: Jun 03, 2004
Posts: 12
Hi All,
I have written on extra BMP in my application, which is exactly same as of other BMP of same function. But when we are trying to execute the same we are getting the following exception.

Exception in getVehicleInfo method : javax.ejb.FinderException: original exception:

I am attaching a piece of code for your reference which is throwing the exception.

We are able to getting this println message System.out.println(" Before return the keys..");. Just after that its throwing the exception. According the flow of code the nexe method which should get called is ejbLoad(), but its not happening.
Help is appreciated.
Thanks in adavance,

Thanks,<br />Praveen K
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 390
I do not think that your error has anything to do with ejbLoad; rather I think the error has to do with your return parameter which is enumeration. I really do not think you can return a enumeration. Try returning something like a Collection, List, Vector and see if it helps.

Praveen Katti

Joined: Jun 03, 2004
Posts: 12
Thanks for the reply. As I told in my earlier mail, my other BMPs of same function also returns Eenumuration only, I am facing problem only with this BMP. I am using WebSphere 3.5 and using VAJ.

Thanks in advance,
Praveen Katti

Joined: Jun 03, 2004
Posts: 12
Hi All,
That problem got solved,there was problem in my PBMMAKey class.

Thanks again.
I agree. Here's the link:
subject: EnumeratorException
It's not a secret anymore!