Hi, I am trying out a simple stateless bean that creates a table and inserts a few rows into it. When I try to deploy the bean, it gives the following during server (JBOSS) start-up:
and obviously the client says "easy-query not bound". The problem is I don't have any other object existing with the same name. This persists even when I change the JNDI name. Can someone please explain it to me?
Discipline, Dedication and Determination define Destiny.
So you know that the problem must be in the DBQueryEJB jar file. So, carefully check your ejb-jar.xml for duplicate entries. Carefully check your deployment process to make sure your are not deploying the think twice. And run the jmx-console so you can actually see whats in JNDI once you've run your deployment process. Also watch the stack trace - make sure the NameAlreadyBoundException isn't a side effect of some earlier exception.
(Oh and clear out JBoss's temp directories before doing any of this) [ July 08, 2004: Message edited by: Paul Sturrock ]