I discovered a bug when you have whitespace in jboss-web.xml in JBoss 5.0.0.Beta3. I have a simple JSF application, and when I use the following, my application works fine:
<ejb-local-ref> <ejb-ref-name>ejb/Calculator</ejb-ref-name> <local-jndi-name>calculator/StatelessCalculatorBean/local</local-jndi-name> </ejb-local-ref>
<ejb-local-ref> <ejb-ref-name>ejb/Calculator</ejb-ref-name> <local-jndi-name> calculator/StatelessCalculatorBean/local </local-jndi-name> </ejb-local-ref>
I created JIRA issue JBAS-5173 (http://jira.jboss.org/jira/browse/JBAS-5173)