my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes conflicts with EJB and JNDI binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "conflicts with EJB and JNDI binding" Watch "conflicts with EJB and JNDI binding" New topic

conflicts with EJB and JNDI binding

Martin Frisone

Joined: Nov 05, 2007
Posts: 7
Hi everyone, I'm having a problem to run an application client due to JNDI errors during the binding of EJB modules.
I'm using NetBeans 5.5 and Sun Java Application Server 9 PE.

the server log shows these messages:

SEVERE| Exception in creating EJB container [javax.naming.NameAlreadyBoundException: Use rebind to override]

SEVERE| appId=CorpTour moduleName=Tour_jar ejbName=reservationBean

SEVERE| Jndi name conflict found in [CorpTour]. Jndi name [reservationRemote] for bean [reservationBean] is already in use.

SEVERE| Naming exception while creating EJB container: javax.naming.NameAlreadyBoundException: Use rebind to override

here the components are:
Enterprise application: CorpTour
EJB: Tour
Session Bean: reservationBean
Session Bean remote interface: reservationRemote

I created all the EJB calls using the IDE assitant so I don't know what's wrong.
Another thing is that the IDE created the application-client.xml file but not the ejb-jar file.

I would reeeeally appreciate any help on this problem. Thanks in advance
I agree. Here's the link:
subject: conflicts with EJB and JNDI binding
It's not a secret anymore!