• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb jndi issue

 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am having problem in migrating ejbs(2.0) from weblogic(8.1) to websphere(6.1). I am using ejbDoclet . When i am deploying my EAR then websphere is asking for JNDI names for some beans. I have mentioned local-jndi-name="cs.MyBeanHome" in my bean class. Still i am not sure why its asking for JNDI name. Please suggest.

regards,
Ajse
 
John Wenn
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ajse ruku wrote:Hi,

I am having problem in migrating ejbs(2.0) from weblogic(8.1) to websphere(6.1). I am using ejbDoclet . When i am deploying my EAR then websphere is asking for JNDI names for some beans. I have mentioned local-jndi-name="cs.MyBeanHome" in my bean class. Still i am not sure why its asking for JNDI name. Please suggest.

regards,
Ajse


Have you tried specifying the JNDI name in the xml descriptor (ejb-jar.xml).
<jndi-name>...</jndi-name>

And check you JNDI tree in your server app look the if there's a JNDI name associated with the specific bean that you have mentioned.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!