Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes EJB hangs on create Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB hangs on create" Watch "EJB hangs on create" New topic
Author

EJB hangs on create

Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
I've built an Entity EJB, very simple, just one table. When the client calls create on the home interface, the ejbCreate method puts out its logging messages, followed by the ejbPostCreate. It then hangs. The database is Oracle 8.1.5. Anyone have any idea on why?
Karl Laird
Ranch Hand

Joined: Jul 14, 2001
Posts: 67
Can you post your code / XML schema around this bean?
Are you using sequences to autogenerate the primary key or manually setting?


The Eagle sneers at the Peacock<p>Systems Administrator<br />OrderWare Solutions Ltd<br /><a href="http://www.orderware.net" target="_blank" rel="nofollow">http://www.orderware.net</a>
Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
The primary key is a String, supplied in the home create method.
Are you thinking the transaction type might have something to do with it?
I'd better leave off the code due to the nature of the subject, not classified, but not for release.
 
Consider Paul's rocket mass heater.
 
subject: EJB hangs on create
 
Similar Threads
Python Version Mismatch When Creating Repository in WinCVS
Problem with Context; Can't access ejb3 component
Is this a possible firewall issue?
Problems obtaining initial context
Browser Hangs