I just tried a similar setup (EJB + servlet + form authentication) with Jboss 4.0.2 and it worked for me.
The exception you are getting does not seem like a security exception.
I am wondering if the problem is not somewhere else.
Thanks for the reply.
I realized that the problem was due to a change in the class loading configuration.
I think I've the same problem. Can explain how you have solved this?
Me three! Any updates.
I had the same problem here, but I managed to solve it with this:
You just have to edit this file: jbossweb-tomcat55.sar/META-INF/jboss-service.xml and set these values:
<attribute name="Java2ClassLoadingCompliance">true</attribute> <attribute name="UseJBossWebLoader">true</attribute>
Try it on and let me know if it worked (it worked for me) ;)
Can you please provide the code for the application you have done.I am trying to achieve the same .(EJB+FormbasedAuthentication+Struts) .A lot of folks are looking for a sample application
Thanks a lot (Ahead).