0 Replies Latest reply on Jun 20, 2011 9:56 PM by minimike

    Switching from HSQL to PostgreSQL 9

    minimike

      Hi there

       

      I want switch my GateIn/EPP 5.1 testinstallations on Jboss 5.1 from HSQL to a PostgreSQL 9 JNDI datasource. Is there an howto about it? I want complete switch both JNDI Datasource to a new one,

       

      here my GateIn.conf

       

      # Data

      gatein.data.dir=${jboss.server.data.dir}/gatein

       

      # JCR

      gatein.jcr.config.type=local

      gatein.jcr.datasource.name=java:gatein-jcr

      gatein.jcr.datasource.dialect=auto

       

      gatein.jcr.data.dir=${gatein.data.dir}/jcr

      gatein.jcr.storage.data.dir=${gatein.jcr.data.dir}/values

      gatein.jcr.cache.config=classpath:/conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml

      gatein.jcr.lock.cache.config=classpath:/conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml

      gatein.jcr.index.data.dir=${gatein.jcr.data.dir}/lucene

      gatein.jcr.index.changefilterclass=org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter

      gatein.jcr.index.cache.config=classpath:/conf/jcr/jbosscache/cluster/indexer-config.xml

      gatein.jcr.jgroups.config=classpath:/conf/jcr/jbosscache/cluster/udp-mux.xml

       

      # IDM

      gatein.idm.datasource.name=java:gatein-idm

       

      # EMail

      gatein.email.smtp.username=

      gatein.email.smtp.password=

      gatein.email.smtp.host=smtp.gmail.com

      gatein.email.smtp.port=465

      gatein.email.smtp.starttls.enable=true

      gatein.email.smtp.auth=true

      gatein.email.smtp.socketFactory.port=465

      gatein.email.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory

       

       

      also I've two file gatein-ds.xml and wcm-ds.xml with four datasources.

       

       

      kind regards

      Darko