quality@glassfish.java.net

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

From: Wim Verreycken <wim_at_pizzastop.be>
Date: Sun, 31 Aug 2008 16:56:11 +0200

Seems like the ejb is not registered in jdni before the web-app loads if I
package it like this.

Is this a bug or is this behaviour by design?

Wim
-----Original Message-----
From: Wim Verreycken [mailto:wim_at_pizzastop.be]
Sent: zondag 31 augustus 2008 16:42
To: quality_at_glassfish.dev.java.net
Subject: RE: EJB 3.1 in b22.... some issues

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_at_jndi:
@null_at_com.lunchlink.model.session.ToplinkSessionLocal_at_Session@null

Wim