• 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
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

SB has problem looking up the EB via JNDI.

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a simple setup � a simple stateless session bean (SLSB) calling a CMP entity bean (EB) local interfaces. Problem looks like my SB has problem looking up the EB local home object via JNDI. I am using JBoss 4.0.3SP1.



ear deployed fine.
Console printout during deployment of ear:


Console printout when error happened :



The exception stack trace point to this line of my code (the one with lookup()) in my SLSB. I lookup the EB from my SLSB:


My ejb-jar.xml :


My jboss.xml for ejb jar :


What could be wrong ? Would really appreciate if someone could help me.
Thanks.

[ January 05, 2006: Message edited by: Timothy Toe ]
[ January 05, 2006: Message edited by: Timothy Toe ]
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your ejb-link must match the ejb-name of the bean being link to.
 
Timothy Toe
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Roger,

Thanks for pointing that out !

Timothy Toe
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic