[ http://jira.jboss.com/jira/browse/JBAS-1600?page=history ] Scott M Stark closed JBAS-1600: -------------------------------
Resolution: Done The StatelessSessionInstanceInterceptor invokeHome now obtains an instance from the pool and frees it on completion. > Stateless sesion ejbCreate CreateException are not propagated correctly > ----------------------------------------------------------------------- > > Key: JBAS-1600 > URL: http://jira.jboss.com/jira/browse/JBAS-1600 > Project: JBoss Application Server > Type: Bug > Components: EJBs > Versions: JBossAS-4.0.1 SP1, JBossAS-4.0.2RC1 > Reporter: Scott M Stark > Assignee: Scott M Stark > Fix For: JBossAS-4.0.2 Final > > > I see that we do not handle the propagation of CreateExceptions thrown from > stateless session ejbCreate callbacks 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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 JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development