users@glassfish.java.net

RE: RE: ejb 3.0 problems

From: Dru Devore <ddevore_at_duckhouse.us>
Date: Wed, 26 Mar 2008 12:53:56 -0700
Yes, the class name is in the web.xml for the project deployed to glassfish. Also, I tried to put it as an attribute of the ejb annotation in the managed class. Neither worked.

---
Dru Devore


-------- Original Message --------
Subject: Re: RE: ejb 3.0 problems
From: glassfish@javadesktop.org
Date: Wed, March 26, 2008 3:39 pm
To: users@glassfish.dev.java.net

In order for the lookup("java:comp/env/OrderProcessingBean") call to work there must be an ejb-local-ref dependency with <ejb-ref-name> "OrderProcessingBean" declared within web.xml. Alternatively, the dependency can be declared via an @EJB(name="OrderProcessingBean") annotation on some managed class in the .war. Are either of these present?

--ken
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=266035

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