You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Hiro <yu...@mariana.u-aizu.ac.jp> on 2004/03/30 00:03:04 UTC

JSP does not connect postgresql with jdbc

HI!

	I am using JSP through JDBC with postgreSQL. But I can not connect
postgreSQL with JDBC. So I got a error message. The
message is "org.postgresql.util.PSQLException: The user property is
missing. It is mandatory. "

Please give me a advice or help.


postgresql.jar and postgresql-examples.jar are generated by ANT.




The evironment is:
OS : Redhat8
Kernel : 2.4.18-14
Tomcat : tomcat-5.0.18
PostgreSQL : postgresql-7.4
ANT : apache-ant-1.6.1
CLASSPATH=.:/usr/local/pgsql/share/java/postgresql.jar:/usr/local/pgsql/share/java/postgresql-examples.jar


Regards,
hiro


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: JSP does not connect postgresql with jdbc

Posted by Schalk <sc...@volume4.co.za>.
Do you pass the username and password to access the database?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:schalk@volume4.co.za
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -----Original Message-----
:: From: Hiro [mailto:yui@mariana.u-aizu.ac.jp]
:: Sent: Tuesday, March 30, 2004 12:03 AM
:: To: tomcat-dev@jakarta.apache.org
:: Subject: JSP does not connect postgresql with jdbc
:: 
:: HI!
:: 
:: 	I am using JSP through JDBC with postgreSQL. But I can not connect
:: postgreSQL with JDBC. So I got a error message. The
:: message is "org.postgresql.util.PSQLException: The user property is
:: missing. It is mandatory. "
:: 
:: Please give me a advice or help.
:: 
:: 
:: postgresql.jar and postgresql-examples.jar are generated by ANT.
:: 
:: 
:: 
:: 
:: The evironment is:
:: OS : Redhat8
:: Kernel : 2.4.18-14
:: Tomcat : tomcat-5.0.18
:: PostgreSQL : postgresql-7.4
:: ANT : apache-ant-1.6.1
::
CLASSPATH=.:/usr/local/pgsql/share/java/postgresql.jar:/usr/local/pgsql/shar
e/java
:: /postgresql-examples.jar
:: 
:: 
:: Regards,
:: hiro
:: 
:: 
:: ---------------------------------------------------------------------
:: To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
:: For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org