Hi I wrote a small program with state less session bean. I am using J2EE. It is working fine. Now I converted that to state full session bean through deployment tool and redployed the bean nut am getting the following error server side this is firing setSessionContext() Fired... Client side I got this error javax.ejb.CreateException: ERROR creating stateful SessionBean: java.lang.ClassCastException: BookBean_EJBObjectImpl <<no stack trace available>> Please help me in finding the sol. Thanking you in advance Saradhi
Hi thank you. Ya I am using J2EE server. First I created a stateless session bean. It is working fine. Now I I converted the same program in to statefull session bean using Deploy tool and redeployed then I got this problem? Just I changed from stateless to statefull thats all I din't touch the code now I am getting error in create method of bean. am I missing any thing here? I am getting this error in beans create method.
Saradhi, For some reason I doubt that your last name is Java. javaranch has a naming standard that requires you to use your real first name - space - your real last name. Failure to use a real name will prevent you from being eligible for the book of the week. Please change your display name to match our requirements. Thanks.
Hi please help me in solving this error. I got stuckup here. I am trying in all possible ways but could not solve my problem. Please go thru the above code and error and let me know what might be the problem Thanking you in advance Saradhi
Hi Juric thank you My problem got solved. I included try catch blocks in my bean and redployed again. It is working fine what do u mean by new stub on the client side? How to create that. Thanking you in advance Saradhi
*** Share and let share ***
catch it before it slithers away! Oh wait, it's a tiny ad: