> Does anyone have any experience using JSP/Servlets on RedHat Linux 6.0
> against a Postgres DB?  I'm running into problems with our servlets
> communicating with our other classes.  When I call some insert code from
> the command line, it works fine.  When it gets called through the
> servlet, it appears an SQLException gets thrown as soon as it tries to
> establish a connection to the database.
> The exception message is:  postgresql.Driver
> The error code is: 0

Mark,

Make sure you start the postmaster with the -i flag to allow communication
over IP otherwise JDBC doesn't work.  Also, make sure that the pg_hba.conf
is setup to allow access from the machine you're calling from (if it's not
the same one as the database).  Let me know "off list" if you have any other
questions.

Mike

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to