[jboss-user] [EJB/JBoss] - Re: No ClassLoaders found

jijisv do-not-reply at jboss.com
Sat Jun 2 20:03:52 EDT 2007


Hi,

I'm also facing the same issue with JBoss 5.0.
I started getting this error wen i configured both remote and local interface in the diployment descrptor...

the error 

  | jboss.j2ee:jndiName=AdviserBean,service=EJB -> java.lang.ClassNotFoundException: No ClassLoaders found for: net.jjs.adviser.LocalAdviserHome
  | 

the descriptor:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
  | <ejb-jar>
  | 	<enterprise-beans>
  | 		<session>
  | 			<display-name>Adviser Bean</display-name>
  | 			<ejb-name>AdviserBean</ejb-name>
  | 			<home>net.jjs.ejb.adviser.AdviserHome</home>
  | 			<remote>net.jjs.ejb.adviser.Adviser</remote>
  | 			<local-home>net.jjs.adviser.LocalAdviserHome</local-home>
  | 			<local>net.jjs.adviser.LocalAdviser</local>
  | 			<ejb-class>net.jjs.ejb.adviser.AdviserBean</ejb-class>
  | 			<session-type>Stateless</session-type>
  | 			<transaction-type>Container</transaction-type>			
  | 		</session>
  | 	</enterprise-beans>
  | 	<assembly-descriptor>
  | 		<container-transaction>
  | 			<method>
  | 				<ejb-name>AdviserBean</ejb-name>
  | 				<method-name>getAdvice</method-name>
  | 			</method>
  | 			<trans-attribute>Required</trans-attribute>
  | 		</container-transaction>
  | 	</assembly-descriptor>
  | </ejb-jar>
  | 
  | 

any thoughts??

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050715#4050715

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050715



More information about the jboss-user mailing list