can you verify that you can connect to postgresql on that ip & 5432 without using jboss?
did you set the tcp/ip option when starting postgres? (its off by default)
are they on the same machine? (jboss & postgres)
you can use this
to connect to postgres
let me know...
I found that placing the 'postgresql.jar' and 'postgresql-service.xml' in the '/deploy' directory instead of the 'conf' directory worked. Give it a try.
Look at this part in the example you copied:
<!-- ===================================================================== -->
<!--uncomment out this line if you are using the PostgresDbRealm above
The attribute is not uncommented by default. You have to do it, because you are using PostgresDbRealm.
In the example you copied is also a configuration which should be put to login-config. It is in the large uncommented part at the top of the file. This configuration does not look like your policy in login-config. Try to remake it.
hope this helps