cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zulhisham abu nawar <ijoi7...@gmail.com>
Subject tomcat and postgresql database integration
Date Mon, 06 Feb 2006 12:38:29 GMT
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


Mime
View raw message