Hi,
I do not know for sure right now if ejbStore gets called in the same
thread as the setXxx method (I *think* it is). If it does, then the EJBException you expect will be the cause of an InvocationTargetException while you do the reflection routine. Otherwise, if you are forcing the execution of ejbStore during postinvoke() it is very hard to tell what might be happening. Anyway,
you should check the server log for the exception. If it was thrown by ejbStore, it will surely be there. Then read through to find out whether it came from an invocation in your code or not. Posting the exception would be good too, try to do it whenever you can when dealing with bugs.
Best regards