Hi All,
For a stateful session bean(container-managed),if i call the create() method using the home object i get the error -
Error:500 javax.ejb.CreateException: ERROR creating stateful SessionBean: java.lang.NullPointerException:
where the connections to the database are made in the ejbCreate() method in the bean.
-
Error in creating a stateful session bean (2 messages)
- Posted by: vino priya
- Posted on: October 21 2000 09:19 EDT
Threaded Messages (2)
- Error in creating a stateful session bean by k hemanth on October 26 2000 08:11 EDT
- Error in creating a stateful session bean by Baskar Gopal on November 01 2000 08:36 EST
-
Error in creating a stateful session bean[ Go to top ]
- Posted by: k hemanth
- Posted on: October 26 2000 08:11 EDT
- in response to vino priya
There doesnot exists any problems when a stateful session bean obtains database connections in the ejbCreate().
Make sure that u close the connections in ejbPassivate() and ejbRemove().
Check out for connectivities.
Send me the source code for further reviews.
Mail-Id : [email protected] -
Error in creating a stateful session bean[ Go to top ]
- Posted by: Baskar Gopal
- Posted on: November 01 2000 08:36 EST
- in response to k hemanth
Hi,
There is no type named as Container Managed for the Session beans.Container Managed concepts are specfic to only
Entity Beans.
Can U explain us about your exact problems in creating the Stateful Session bean? so that I could help U as I can.
Thanks
Baski