This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have questions about EJB3 on Jboss5.
I have following statless session bean which include reference to itself through EJB3 injection. This bean deploys and works fine in Jboss4.2.2 but when I upgraded to Jboss 5 I get following deployment error indicating that a reference of same type of bean in this bean is flawed, I think. The other beans which don't include reference to same type of bean deploy and work fine.
Appreciate your inputs.
The code is simplified as follows.
public class ExampleServiceBean extends ServiceBase implements ExampleServiceLocalInterface, ExampleServiceRemoteInterface
@Resource SessionContext ctx;
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "jboss.j2ee:ear=Mob.ear,jar=Mob.ear,name=ExampleServiceBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=myexample.ear,jar=myexample.ear,name=ExampleServiceBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:ExampleServiceBean/local-com.ExampleServiceLocalInterface' **")