1 Reply Latest reply on Sep 20, 2010 9:54 PM by Khoi Nguyen

    error with postgres

    David Marquez Newbie

      I'm trying to  connect gatein with postgres (8.2.7), but I get an error.

       

      the code is as  follows:

       

      file : configuration.properties

       

      #
      # Copyright (C) 2009 eXo Platform SAS.
      #
      # This is free software; you can redistribute it and/or modify it
      # under the terms of the GNU Lesser General Public License as
      # published by the Free Software Foundation; either version 2.1 of
      # the License, or (at your option) any later version.
      #
      # This software is distributed in the hope that it will be useful,
      # but WITHOUT ANY WARRANTY; without even the implied warranty of
      # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
      # Lesser General Public License for more details.
      #
      # You should have received a copy of the GNU Lesser General Public
      # License along with this software; if not, write to the Free
      # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
      # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
      #

       

      # Data
      gatein.data.dir=../gatein/data

       

      # DB
      gatein.db.data.dir=${gatein.data.dir}/db

       

      # JCR
      #gatein.jcr.config.type=local
      #gatein.jcr.datasource.name=jdbcjcr
      #gatein.jcr.datasource.dialect=auto
      #gatein.jcr.datasource.driver=org.hsqldb.jdbcDriver
      #gatein.jcr.datasource.url=jdbc:hsqldb:file:${gatein.db.data.dir}/data/jdbcjcr_${name}
      #gatein.jcr.datasource.username=sa
      #gatein.jcr.datasource.password=

       

      gatein.jcr.datasource.driver=org.postgresql.Driver
      gatein.jcr.datasource.url=jdbc:postgresql://localhost:5432/gateindb${container.name.suffix}
      gatein.jcr.datasource.username=postgres
      gatein.jcr.datasource.password=postgres