Try removing
PostgressDBRealm
and add
to you postgress-ds.xml file
If you use security domain, the configuration in
${jboss.server.home.dir}/conf/login-config.xml file is used for authentication.
Vivek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926
I have the same problem by trying to connect to a MySQL Database.
If I change the server address in my mysql-ds.xml JBoss fail to connect to the
old_ip_address ussing currnent user. Buy if I change the username JBoss
recognizes it and fail connecting to old_ip_address ussing new_user.
Raro raro