• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

conflicts with EJB and JNDI binding

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic