-
1. Re: DatabaseServerLoginModule - InformixDS not bound excepti
sandyp Dec 17, 2002 5:53 AM (in response to gorlum)I'm getting the same problem although I'm using a MySQL Database but the error is the same ie MySqlDS not bound
I get a Login failure as follows:
10:57:30,606 DEBUG (EppixDatabaseServerLoginModule.java:getUsersPassword:79) - Getting password for user = sandyP
10:57:30,616 DEBUG (Logger.java:debug:126) - Login failure
javax.security.auth.login.LoginException: javax.naming.NameNotFoundException: MySqlDS not bound
at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:110)
at security.EppixDatabaseServerLoginModule.getUsersPassword(EppixDatabaseServerLoginModule.java:81) -
2. Re: DatabaseServerLoginModule - InformixDS not bound excepti
wouter Dec 17, 2002 10:15 AM (in response to gorlum)Hi Anna and Sandy,
I don't know how auth.conf is used in version 3.x.x Apparently jboss tries to use the datasource which means the file has been read. I wonder how your datasource can be bound for ejb and not for login. Perhaps it has something to do with the sequence of loading services ?
Anyway, I think you have a better chance using login-config.xml instead of auth.conf. It is also the default specified in jboss-service.xml and works fine for me.
Hope this helps. If it doesn't, perhaps post more details about what you're trying to do and how.
Wouter