I need to call the Product Bean from a Servlet. I didn't configured something special, because from the command line it works fine.
So, it put the compiled file in the class directory and call it from my browser. The server response me with following message:
500 Internal Server Error
javax.naming.NameNotFoundException: MyProduct
not found
at com.evermind.server.rmi.RMIContext.lookup(JAX)
at com.evermind.server.hi.f_(JAX)
at com.evermind.server.hi.lookup(JAX)
at javax.naming.InitialContext.lookup(Unknown Source)
at ProductServlet.init(ProductServlet.java:19)
at javax.servlet.GenericServlet.init(GenericServlet.java)
at com.evermind.server.http.HttpApplication.wo(JAX)
at com.evermind.server.http.HttpApplication.v6(JAX)
at com.evermind.server.http.HttpApplication.uh(JAX)
at com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)
It seems, that the JNDI can't find my bean!
--
------------------------------------------------------------------------
-- http://zap.to/kuno - Homepage - http://www.eif.ch --
-- 026/ 494.19.56 - Telefon - 026/ 429.66.11 --
-- [EMAIL PROTECTED] - eMail - [EMAIL PROTECTED] --
------------------------------------------------------------------------
