AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NoClassDefFoundError exception when invoking narrow() method

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JavaBeans
View previous topic :: View next topic  
Author Message
Vasileios Lourdas
Guest





PostPosted: Tue Jul 01, 2003 10:48 am    Post subject: NoClassDefFoundError exception when invoking narrow() method Reply with quote



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


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JavaBeans All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.