I'm looking into a stateless session instance creation issue when strict 
locking is enabled, and I see that we really do not handle the propagation of 
CreateExceptions thrown from ejbCreate correctly due to the delay of the 
instance creation until a remote method invocation. The problem this causes is 
that a CreateException is an application exception that when thrown during a 
business method invocation results in an UndeclaredThrowableException due to an 
undeclared checked exception being thrown from the reflected method invocation.

We really do need to be obtaining an instance in the 
StatelessSessionInstanceInterceptor invokeHome method to ensure that we are not 
creating unusable bean proxies due to delaying the ejbCreate call until the 
business method invocation.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870893#3870893

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870893


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to