I figured it out! in services-config.xml the JRun login command was active (default). I had to modify it into Tomcat login command.
Also the context.xml is placed in WEB-INF not META-INF --- In [email protected], "spirit_ryder2k" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am currently merging my application from the integrated JRun to > JBoss 4.0.5.GA and my application fails to authenticate. On JRun it > works fine. > > I followed the installation instructions on custom auth: > > flex-tomcat-common.jar -> X:\svn\dev\jboss\server\default\lib > flex-tomcat-server.jar -> X:\svn\dev\jboss\server\default\lib > > context.xml -> > X:\svn\dev\jboss\server\default\deploy\sollichat.war\WEB-INF > context.xml -> > X:\svn\dev\jboss\server\default\deploy\sollichat.war\META-INF > > I copied context.xml to both directories to be sure. > > My app doesn't auth and responds with "Login required before > authorization can proceed.". A simple JSP page which echo's my user > name works just fine. > > Anyone has an idea why my authorisation doesnt work? >

