quality@glassfish.java.net

Re: EJB 3.1 and CMT

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 04 Sep 2008 08:25:38 -0700

"amazing & great!,", thanks Adam :-)

Sherry (SQE testing EJB) told me she works with Mahesh and developer
team closely to try different ways to test EJB.
Their effort shows !

Thanks,
Judy

Adam Bien wrote:

> ...seem to work correctly - I deployed an EJB 3.1 with
> @TransactionAttribute(Mandatory) - the error was correctly recognized:
>
> 2008-09-04T11:43:12.040+0200 SEVERE:
> StandardWrapperValve[HelloInterceptor]: PWC1406: Servlet.service() for
> servlet HelloInterceptor threw exception
> javax.ejb.EJBTransactionRequiredException
> at
> com.sun.ejb.containers.BaseContainer.mapBusinessInterfaceException(BaseContainer.java:1642)
>
> at
> com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1553)
> at
> com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1473)
> at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:195)
>
> at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:82)
>
> at $Proxy90.sayHello(Unknown Source)
> at
> com.abien.samples.interceptor.__EJB31_Generated__HelloBean__Intf____Bean__.sayHello(Unknown
> Source)
>
>
> amazing & great!,
>
> regards,
>
> adam
>