[jboss-user] [EJB 3.0] - Re: EJB problem

Wolfgang Knauf do-not-reply at jboss.com
Fri Apr 27 09:18:30 EDT 2007


Hi !

I think you have to declare the ENC entries in jboss-web.xml, too. At least I did not manage it with ejb links.
web-xml should just 

Your jboss-web.xml should contain this:
	<ejb-ref>
  | 		<ejb-ref-name>ejb/MovielistFacadeBean</ejb-ref-name>
  | 		<ejb-ref-type>Session</ejb-ref-type>
  | 		<home>java.lang.Object</home>
  | 		<remote>...</remote>
  | 	</ejb-ref> 


	<ejb-ref>
  | 		<ejb-ref-name>ejb/MovielistFacadeBean</ejb-ref-name>
  | 		<jndi-name>EARName/MovielistFacadeBean/remote</jndi-name>
  | 	</ejb-ref>

Hope this helps

Wolfgang

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

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



More information about the jboss-user mailing list