Vasileios Lourdas Guest
|
Posted: Tue Jul 01, 2003 10:48 am Post subject: NoClassDefFoundError exception when invoking narrow() method |
|
|
Hello,
This is a frequently asked question, but searching the web, forums, etc. I
haven't successfully found a solution.
I want to call a business method from an EJB that is deployed in WebLogic
7.0 from a Struts Action servlet. The servlet compiles with no errors. The
problem is when I invoke the action in the browser, I get a status-500 error
from WebLogic. A java.lang.NoClassDefFoundError exception is thrown when the
WebLogic calls the narrow() method in the Action servlet.
ConsultationHome testBeanHome =
(ConsultationHome)javax.rmi.PortableRemoteObject.narrow(obj,
ConsultationHome.class);
I know that this has something to do with class resolving, but since the EJB
is deployed ok in the server, why does this happen?
Any help will be greatly appreciated,
Vasilis
|
|