• 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

Unable to resolve jndi name

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