>[EMAIL PROTECTED] writes:
>Does anyone know how to configure tomcat? I recently transferred all my
>files
>from one dev server to a newly installed machine.
>
>I'm having trouble w/ the tomcat.  Here's the error:
>
>Exception in thread "main" Something unusual has occured to cause the
>driver to
>fail. Please report this exception: java.sql.SQLException: No
>pg_hba.conf entry
>for host 192.168.0.210, user postgres, database
>finex
>        at postgresql.Driver.connect(Driver.java:125)
>        at java.sql.DriverManager.getConnection(DriverManager.java:453)
>        at java.sql.DriverManager.getConnection(DriverManager.java:133)
>        at DB.go(DB.java:16)
>        at DB.main(DB.java:9)
>
>The pg_hba.conf for both is the same but there is an error on my new
>server and
>no error on my old one.

[...]

Check pg_hba.conf in your PostgreSQL database server to make
sure 192.168.0.210 is allowed to access finex.
There should be a line that looks something like this...

host         all         192.168.0.210   255.255.255.255   trust
or
host         finex      192.168.0.210   255.255.255.255   trust

sherwin

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to