Statement of Problem
How to use to EJB 3.0 Stateless Session Bean from within a JBoss Service.
1. I have created a LoginModule which I am packaging as a SAR DynamicConfig MBean. The LoginModule internally calls Stateless Session bean to authenticate userid and password.
2. The EJB is configured to use this Login Module. The LoginModule is called when the web-tier tries to access a restricted resource. However within this login Module, I am unable to obtain reference to Stateless Session Bean.
Errors I am getting in JBoss
When I do not package the Remote interface of the Session bean, I get the
I had the same problem, Anybody get an idea.
And how to include a SAR in EAR? Thanks