Are you sure you're using the exact same JBoss configurations on your dev server and your production server ? Is it the same JBoss version ? Where are your users and roles configured ?
There should not be any difference between JBoss behaviour on Windows and Linux, unless you've run into a JRE bug.
I'm using the same configuration as far as I can tell, and I think I've been through this pretty thoroughly. But as the case with configuration, I'm probably missing something I can't see. :-)
It is the same JBoss version. My users and roles are in a database table. The database in production is a different instance of the same schema as in test. The thing is that I've been able to connect my remote debugger (IDEA) to the production server and walk through my LoginModule and it returns as validated successfully. But somewhere following it ends up routing to my <form-error-page>.
Man, I'd hate to have to go to a Windows server....but it is working there.
What I found as a workaround is to use BASIC authentification. That works, and perhaps suggests that there could be a Linux JRE bug. I'm checking to see if I have the latest Linux JRE.
> I'm checking to
> see if I have the latest Linux JRE.
I recommend the 1.4.0 series, not the 1.4.1 -> that one has something fishy with streams and process handling (only in Linux, Solaris is OK), which for instance make it impossible to start a Java server such as JBoss through Ant.