Hi Justin,
> javax.ejb.EJBException
> org.jboss.ejb.plugins.BMPPersistenceManager.storeEntity
> (BMPPersistenceManager.java:352)
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor
> $InstanceSynchronization.beforeCompletion
> (EntitySynchroniztionInterceptor.java:370)
The code at BMPPersistenceManager.java:352 calls your beans
ejbStore() method, catches a RuntimeException thrown from it
and repackages it inside an EJBException, so the real cause
can't be seen without retrieving it from the EJBException with
getCausedByException(). But in your stacktrace there is no good
place for you to catch the EJBException and retrieve the real
cause (all methods are container internal). Maybe it would help
to put your complete ejbStore() methods code into a try/catch
block where you catch Exception, print a stack trace and rethrow
the Exception, so you can see what's really going wrong?
If you wonder at ejbStore() beeing called after a getter method
please read comments in http://www.jboss.org/documentation/HTML/ch06s08.html
under the label <commit-option>.
regards
Georg
___ ___
| + | |__ Georg Rehfeld Woltmanstr. 12 20097 Hamburg
|_|_\ |___ [EMAIL PROTECTED] +49 (40) 23 53 27 10
PS: I believe, the container should have handling for extracting
the real cause from an EJBException somewhere.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user