• Post Reply Bookmark Topic Watch Topic
  • New Topic

conflicts with EJB and JNDI binding  RSS feed

Martin Frisone
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!