0 Replies Latest reply on Dec 3, 2003 3:46 PM by bevynq


    bevynq Newbie


      i have built an ear to try and learn how to use jboss.
      currently it executes sql and stored procedure calls to an ingres database.

      Everything works ok till i try to use form based security and then i get

      10:40:10,250 ERROR [AbstractPasswordCredentialLoginModule] The ConnectionManager mbean: jboss.jca:service=XaTxCM,name=IngresDS specified in a ConfiguredIdentity
      LoginModule could not be found. ConnectionFactory will be unusable!

      have i missed something?
      am i using the wrong name to reference it?
      also i would expect the login page to display and it doesn't.

      can anyone point out what i have done wrong/not done.


      in the server\default directory in ingres-ds.xml
      i added


      in server\conf\login-config.xml i added

      <application-policy name = "IngresDbRealm">

      <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
      flag = "required">
      <module-option name = "principal">myname</module-option>
      <module-option name = "userName">myname</module-option>
      <module-option name = "password">mypass</module-option>
      <module-option name = "managedConnectionFactoryName">jboss.jca:service=XaTxCM,name=IngresDS</module-option>


      i have added to the web.xml in the ear file

      <web-resource-name>Admin pages</web-resource-name>