Hi,
I'm new to cocoon and I'm trying to setup a web application with a
postgres database backend. Problem is that I can't get my database user
authenticated correctly.
Version numbers:
Cocoon: 2.1
Tomcat: 5.0
Postgres: 7.4.2
web.xml:
init-param
param-nameload-class/param-name
On 31.05.2004, at 08:39, Dieter Schicker wrote:
Hi,
I'm new to cocoon and I'm trying to setup a web application with a
postgres database backend. Problem is that I can't get my database user
authenticated correctly.
Version numbers:
Cocoon: 2.1
Tomcat: 5.0
Postgres: 7.4.2
web.xml:
init-param
DBUrl is wrong, that's for sure.
You may have other problems too.
1) correct your dburl like the one below (in your case, substitute
procat with your dbname)
2) make sure you call the correct connection pool in your xsp or sql
transformer
3) you need to run postgresql with the option to listen
Thanks for your answers.
Did you already try to use TCP/IP sockets instead of UNIX sockets?
How do I do that?
Didi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sorry, that was a stupid question. Everything is fine now.
Thanks
Didi
On Mon, 31 May 2004, Dieter Schicker wrote:
Thanks for your answers.
Did you already try to use TCP/IP sockets instead of UNIX sockets?
How do I do that?
Didi
Start Postgresql with -o -i
On 31 May 2004, at 18:09, Dieter Schicker wrote:
Thanks for your answers.
Did you already try to use TCP/IP sockets instead of UNIX sockets?
How do I do that?
Didi
-
To unsubscribe, e-mail: [EMAIL
Or as is commonly found on many UNIX systems, edit the postgresql.conf file:
#
# Connection Parameters
#
tcpip_socket = true
Also, if your install of postgres was installed with TLS/SSL support,
you can add the following:
ssl = true
Most distribution support for postgresql