Hi friend ;P
The first problem that I can see is a clear "Connection refused".
Befor investigate if the cause is Tomcat or something else, correct this
error! Be sure that the postmaster is running with the -i
p.s. usually my run.sh is like:
"./postmaster -i -D /home/me/postgresql/data > logfile 2>&1 &"
Ciao, Auri
On Thu, 14 Mar 2002, Jose Javier Gutierrez wrote:
> Hi friends,
> I have problems with postgres.jar and tomcat. I have de follow exception :
>
> - Excepcion de persistencia:
> com.kristinaIbs.persistence.ExceptionPersistence: ManagerPersistencePool
> (getConnection).Connection refused. Check that the hostname and port is
> correct, and that the postmaster is running with the -i flag, which enables
> TCP/IP networking.
> at
> com.kristinaIbs.persistence.ManagerPersistencePool.getConnection(ManagerPers
> istencePool.java:112)
> at
> com.kristinaIbs.user.UserManager.getUserByLogin(UserManager.java:314)
>
> I have the follows parameters :
> driver = org.postgresql.Driver
> url = jdbc:postgresql://192.168.0.7:5432/easysite
> user = postgres
> password =
>
> Do you can Help please!!!!!