[jboss-user] [EJB 3.0] New message: "Re: Calling EJB from servlet - EJB's interface class not found"

jaikiran pai do-not-reply at jboss.com
Thu Jan 21 04:17:16 EST 2010


User development,

A new message was posted in the thread "Calling EJB from servlet - EJB's interface class not found":

http://community.jboss.org/message/521289#521289

Author  : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran

Message:
--------------------------------------------------------------
> micjohnson997 wrote:
>  
>  When doing this, I get a ClassNotFoundException for the interface class, even though the interface class is inside a JAR in the WAR's WEB-INF/lib directory. Here's the start of the stack trace:
If you have the bean interfaces in the .war/WEB-INF/lib/somejar.jar, then i would have expected this to work - atleast not throw a ClassNotFoundException. Can you post the output of:
 
jar -tf somejar.jar

 
where somejar.jar is the one which is placed in .war/WEB-INF/lib and contains the bean interfaces.
 
As for the details around JBoss classloading, see these wiki pages:
 
http://community.jboss.org/wiki/ClassLoadingConfiguration
http://community.jboss.org/wiki/JBossClassLoadingUseCases

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/521289#521289




More information about the jboss-user mailing list