0 Replies Latest reply on Jul 2, 2009 11:16 AM by vaibhav singh

    form authentication not working properly on Jboss 5 GA

    vaibhav singh Newbie

      hi all,
      i am using jBoss 5 to deploy a web app which was originally deployed and successfully running on ORACLE app server.
      i have updated following files in jboss
      1.*-ds.xml
      2.login-config.xml
      3.jboss-web.xml

      form based authentication has been used on struts 1.x platform with j_security_check and tiles integrated.
      now the problem is :
      1.If first time i login with right UserName/Password than login is successful(obviously).
      2.If first time i login with wrong UserName/Password than login is UNsuccessful(obviously).
      3.when first time login is UNsuccessful, than consecutive logins are failed even with right loginID/Pwd.
      4. when first time login was failed , URL changed to http://localhost:8080/myApp/login.do?failed=true.
      5.when first time login was failed, and than i do second time login with right UID/PWD than URL remains the same and no login is done.
      6.when first time login was failed, and than i do second time login with right UID/PWD while URL is changed (manually by me) to http://localhost:8080/myApp/login.do ..than login is successful.

      database is hitting it is obvious because first time login is always successful if right UID/PWD were used.

      this problem does not appear on ORACLE app Server..

      please suggest any solution.
      Thanks & Regards