I have received an error message, whilst testing my JSP app. I'm using Tomcat 4 and Posgresql 7.2.1
Something unusual has occured to cause the driver to fail. Please report this exception: Exception: java.sql.SQLException: FATAL 1: Sorry, too many clients already
So I thought that I would stop and start Tomcat, but I get this error message:
Guessing TOMCAT_HOME from tomcat.sh to /usr/local/jakarta/build/tomcat/bin/..
Setting TOMCAT_HOME to /usr/local/jakarta/build/tomcat/bin/..
Using classpath: /usr/local/jakarta/build/tomcat/bin/../classes:/usr/local/jakarta/build/tomcat/bin/../lib/ant.jar:/usr/local/jakarta/build/tomcat/bin/../lib/jaxp.jar:/usr/local/jakarta/build/tomcat/bin/../lib/parser.jar:/usr/local/jakarta/build/tomcat/bin/../lib/servlet.jar:/usr/local/jakarta/build/tomcat/bin/../lib/test:/usr/local/j2sdk1.3.0/lib/tools.jar:/usr/local/j2sdk1.3.0/jre/lib/jdbc7.1-1.2.jar
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
I have not implemented connection pooling yet, and from this problem it looks like I'll have to do that shortly, I've had a look on the net and I haven't found anything helpful, I need to be able to shutdown tomcat.
If someone is able to give me a hand in determining and fixing the problem it would be most appreciated.