It all works : I have the app verified and deployed successfully in Sun AS
However when I call up the
jsp from the browser I get :
CabinHome not found
Stacktrace:
javax.naming.NameNotFoundException: CabinHome not found
This is the start of my client_41.jsp code :
.. other stuff ..
try {
// Obtain home interface for Cabin
EJB Context jndiContext = getInitialContext(); // this goes
Object ref = jndiContext.lookup("CabinHome");
.. other stuff ..
Where can I possibly look to find out why CabinHome is not found?
Doesn't deployment make the JNDI machine aware of when the beans are?
[ July 18, 2007: Message edited by: Dave Elwood ]