This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI Name not getting updated in the JNDI tree.Kindly help me out.  RSS feed

 
Sat Nar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i have created a stateless session bean.But i have made it to exted EJBLocalHome and EJBLocalObject(Local client).Iam able to deploy the jar in weblogic and the status is success.But when i right click the server and see the JNDI tree,the jndi name for this bean is not there.And when i access the bean from my java client.i get a Name not found exception.Iam not able to figure out the problem.Kindly help me out.

Regards,
Sat
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37249
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sat,
Are you using local: as the protocol for your bean when browsing the JNDI tree?
 
Sat Nar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne ,
iam connecting to the weblogic using the t3://localhost:7001
When i give context.lookup(<JNDI_NAME> ,its failing.When i see the weblogic console,the ejb jar is deployed properly,but somehow the JNDI name is not getting registered.Iam not able to figgure out the problem.

Regards,
Sat
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!