It seems that servlet to PostgreSQL connection does not work.Tomcat.log
file shows "Context log:path="/jdbc_servlet"File not Found
/usr/local/jakarta-tomcat/webapps/jdbc_servlet/WEB-INF/web.xml,using
only defaults.",where jdbc_servlet is my application directory.
In addtion,I got an error message of
"java.lang.ClassNotFoundException;org.postgresql.Driver" when I access
to "http://127.0.0.1:8080/jdbc_servlet/servlet/postgreservlet."
I wonder if Tomcat cannot find postgresql.jar.If so,what do I need to do
for Tomcat?
Or one possibility is a setting of pg_hba.conf for PostgreSQL.I set like
this.
local all trust
host all 127.0.0.1 255.255.255.255 trust
Does not this setting work? I hava a confusion.Please help me out.
The development environment is as folows.
Apache1.3.12,Tomcat3.1,PostgreSQL7.0.2,jdk1.2.2
Thanks in advance.
Hiroshi Kasamatsu
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
- Re: servlet-PostgreSQL connection does not work. NSB)笠松
- Re: servlet-PostgreSQL connection does not work. Robert B. Easter
