quality@glassfish.java.net

Re: EJB 3.1 in b22.... some issues

From: Sherry Shen <Sherry.Shen_at_Sun.COM>
Date: Sun, 31 Aug 2008 09:51:53 -0700
Hi Wim,

EJB is a war file is an EJB3.1 feature, which
supported in GFv3,  but not in GFv2.

As  you find out, use ear file in GFv2.

Thanks!

Shrry

Wim Verreycken wrote, On 8/31/2008 7:41 AM:
Hi,

I deployed and -ejb jar inside a war file. When I deploy it on gfv2ur2 and
b20 I always get the same error (from netbeans or autodeploy)

When I deploy the ejb and war as an ear on gfV2ur2 there's no problem.
Is this a bug?

SEVERE: Exception while invoking class com.sun.enterprise.web.WebDeployer
prepare method
java.lang.RuntimeException: Cannot resolve reference Unresolved Ejb-Ref
com.lunchlink.services.web.tl.StoreWebTL/ejbRef@jndi:
@null@com.lunchlink.model.session.ToplinkSessionLocal@Session@null

Wim



  

--------------------------------------------------------------------- To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: quality-help@glassfish.dev.java.net