eptember 13, 2005 8:24 AM
To: Struts Users Mailing List
Subject: Re: Struts to Postgresql db connection refused
On 9/13/05, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Raj,
>
> Have you double checked that you can reach it from the command line on the
> server BEFORE trying it
On 9/13/05, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Raj,
>
> Have you double checked that you can reach it from the command line on the
> server BEFORE trying it in Tomcat? I've encountered problems where a slight
> mistake in the MySQL configuration often causes this problem, not usually
> psql -Upostgres -d omsdb -h 192.168.1.22 -p 5432
>
> Thanks
> Raj
>
>
>
> From: Adrian Maier [mailto:[EMAIL PROTECTED]
> Sent: Tue 9/13/2005 5:24 AM
> To: Struts Users Mailing List
> Subject: Re: Struts to Postgresql db connection
I tried this command it works:
psql -Upostgres -d omsdb -h 192.168.1.22 -p 5432
Thanks
Raj
From: Adrian Maier [mailto:[EMAIL PROTECTED]
Sent: Tue 9/13/2005 5:24 AM
To: Struts Users Mailing List
Subject: Re: Struts to Postgresql db connection refused
On 9
It works fine with command line. I could connect to the db and query.
Thanks
Raj
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Tue 9/13/2005 5:00 AM
To: Struts Users Mailing List
Subject: RE: Struts to Postgresql db connection refused
Raj,
Have
On 9/13/05, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Raj,
>
> Have you double checked that you can reach it from the command line on the
> server BEFORE trying it in Tomcat? I've encountered problems where a slight
> mistake in the MySQL configuration often causes this problem, not usually
Raj,
Have you double checked that you can reach it from the command line on the
server BEFORE trying it in Tomcat? I've encountered problems where a slight
mistake in the MySQL configuration often causes this problem, not usually
the web server. From the information you provided, try this at a c
Hi Raj
While I'm not using Postgresql (MySQL instead) there were a couple of things I
noticed
that you might need to check:
1. You have specified the data source entry in your Struts-config.xml - on my
Tomcat
5.0 I need to enter this in the META-INF/context.xml (I have more on this if
you
You need to add the "-i" switch to postmaster (-o -i to pg_ctl I
think) to enable tcp/ip connections. Please see the PostgreSQL
documentation.
2005/9/8, R Rajendran <[EMAIL PROTECTED]>:
> Hi,
>
> When I connect Struts to Postgresql 8.0 database using DataSource object I
> get the following erro
9 matches
Mail list logo