Master properties file content is
Master.driverClassName=org.postgresql.Driver
Master.url=jdbc:postgresql://localhost:5432/syncope
Master.schema=
Master.username=syncope
Master.password=syncope
Master.databasePlatform=org.apache.openjpa.jdbc.sql.PostgresDictionary
Master.orm=META-INF/spring-orm.xml

Master.pool.maxActive=10
Master.pool.minIdle=2

Master.audit.sql=audit.sql
Its actually as it is generated...I don't need to change it as the properties 
are good. 
I am using Tomcat as a container

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.syncope \
    -DarchetypeArtifactId=syncope-archetype \
    -DarchetypeRepository=http://repo1.maven.org/maven2 \
    -DarchetypeVersion=2.0.4

> On 26 Jul 2017, at 9:45 AM, Andrea Patricelli <[email protected]> 
> wrote:
> 
> It seems that your installation is using test Master.properties file.
> What is the content of your core/src/main/resources/domains/Master.properties?
> 
> What kind of JEE container are you using? About this please refer to [1]?
> 
> Best regards,
> Andrea
> 
> [1] https://syncope.apache.org/docs/reference-guide.html#javaee-container 
> <https://syncope.apache.org/docs/reference-guide.html#javaee-container>
> 
> Il 26/07/2017 09:28, Dino Mifsud ha scritto:
>> Hi Yes, I followed those steps and generated with maven archetype however it 
>> still seems to be going towards H2 database. Infant it complains that it 
>> cannot find the H2 jar file.
>> 
>> 
>>> On 25 Jul 2017, at 7:12 PM, Dino Mifsud <[email protected]> 
>>> <mailto:[email protected]> wrote:
>>> 
>>> I would like to use a postgres DB instead of the H2 database. I did the 
>>> changes in Master.properties file as shown but still it seems it is using 
>>> the H2 database. What could be the problem please?
>>> 
>>> 
>>> Thanks
> -- 
> Dott. Andrea Patricelli
> Tel. +39 3204524292
> 
> Developer @ Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net <http://www.tirasa.net/>
> 
> Apache Syncope PMC Member

Reply via email to