hello
Im having a problem trying to run a simple application that i developed.
I have 2 components, a war file(WebApp1) and an
ejb jar file (Ejb1). In the war file i have a
servlet that calls a EJB bean in the jar file. The war file has a reference to the JNDI of the bean. The deploy gives me this error:
Error: Class [ login ] not found in WEB-INF/classes or WEB-INF/lib.
For [ /WebApp1 ]
Error: class [ login ] cannot be found within this jar [ WebApp1 ].
So the servlet code gets a reference to the bean like this:
loginHome home = (loginHome) PortableRemoteObject.narrow(objRef, loginHome.class);
So obvisously the deploytool cant find the loginHome.class. But surely i shouldnt have to add this class to the web war? shouldnt it be able to find it from the ejb component???
Can someone polease shed a little light on this for me??
Dave