Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to resolve jndi name

 
Priya Venkatesan
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set the jndi-name as "ejb20-basic-containerManaged-CabinHome" in my weblogic-ejb-jar.xml file. I built all the required container classes using ant. While running the client, Iam getting the follo. error:
The client was unable to lookup the EJBHome. Please make sure that you have dep
loyed the ejb with the JNDI name ejb20-containerManaged-CabinHome on the WebLogi
c server at t3://localhost:7001
Unable to look up the beans home: Unable to resolve 'ejb20-containerManaged-Cabi
nHome' Resolved: '' Unresolved:'ejb20-containerManaged-CabinHome'
Can someone tell me what needs to be done
 
Valery Anciaux
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reset your jndi name without the 'basic' word...
Basic, isn't it ?
Val�ry
 
Priya Venkatesan
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I think I mentioned it wrong. I have put "ejb20-containerManaged-CabinHome" in my weblogic-ejb-jar.xml.
Not sure why this is coming up. Any other suggestions.
Thanks
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Priya,
Try some simple names. Also you can view the JNDI tree by selecting the context menu when you right click on the server link in weblogic administration console. You should see your JNDI name there. Also there could be a problem in your xml or bean files. Try to use the console to undeploy and redeploy the bean. You may see some exceptions.
 
Priya Venkatesan
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ThankYou Sai. I fixed the error. Seems like my beans were not deployed properly. Thanks again for pointing me in the right direction.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic