cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier <oliv...@orcades.net>
Subject Re: tomcat and postgresql database integration
Date Tue, 07 Feb 2006 19:52:02 GMT
Is postmaster listening on socket (jdbc need it)? - cf postgresql.conf
On Mon, 2006-02-06 at 19:38 +0700, zulhisham abu nawar wrote:
> hi...
> now i'm trying to integrate cocoon 2.1.8 with postgressql 7.4.11 with
> tomcat 5.0.28...My application can run without any errors but it not
> select any data from database...Below is my application details..
> 
> file:cocoon.xconf
> <datasources>
> 
>     <!--+
>         | -ej
>         | postgres
>         +-->
>     <jdbc name="mytestdb" logger="core.datasources.mytestdb">
>       <pool-controller min="5" max="10"/>
>       <dburl>jdbc:postgresql://127.0.0.1:5432/mytestdb</dburl>
>       <user>postgres</user>
>       <password/>
>     </jdbc>
> 
> file:web.xml
>  -->
>     <init-param>
>       <param-name>load-class</param-name>
>       <param-value>        <!-- For parent ComponentManager sample:
>         org.apache.cocoon.samples.parentcm.Configurator -->
>         <!-- For IBM WebSphere:
>         com.ibm.servlet.classloader.Handler -->
> 
>         <!-- For Database Driver: -->
>         org.hsqldb.jdbcDriver
> 
>        org.postgresql.Driver
> 
>       </param-value>
>     </init-param>
> 
> 
> file:pg_hba.conf
> # TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD
> 
> local   all         all                                             trust
> # IPv4-style local connections:
> host    all         all         127.0.0.1         255.255.255.255   trust
> # IPv6-style local connections:
> host    all         all         ::1              
> ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff        trust
> 
> 
> any idea??
> 
> --
> ::)- mister ijoi
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message