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

axismundi do-not-reply at jboss.com
Thu Oct 11 03:58:39 EDT 2007


I am still having trouble to resolve the SLSB on the web-client (running on the same VM inside the same EAR on AS 4.2.1):

jboss-web.xml
<jboss-web>
	<ejb-local-ref>
		<ejb-ref-name>ejb/ImportManagerBean</ejb-ref-name>
		<local-jndi-name>ImportManager</local-jndi-name>
	</ejb-local-ref>		
</jboss-web>

web.xml
<ejb-local-ref>
		<ejb-ref-name>ejb/ImportManagerBean</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>mypackage.ImportManager</local-home>
		mypackage.ImportManager
		<ejb-link>ImportManager</ejb-link>
</ejb-local-ref>

--> the Bean/local IF should now be available in JNDI-ctx "ImportManager"
context.lookup("ImportManager");
but it IS NOT !

The ear is deployed successfully (not complaining about the config).
I understand that this trouble is due to a "conflict" between JEE5 (EJB3) and JEE1.4 (Servlet 2.4). But there should be some solution to this.

Any hint to solve this is appreciated.

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

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



More information about the jboss-user mailing list