I entered the password in straight into the properties file. I'm also doing a cloud installaiton and got all the exact same problems, although for me my ' "FATAL: password authentication failed for user "postgres" ' is still showing up.
This is the error output from the log file:
2014-01-10 20:43:08,750 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: [ ]
com.servoy.j2db.persistence.RepositoryException: Error checking repository
at com.servoy.j2db.server.Za.Za.Zb(Za.java:1664)
at com.servoy.j2db.server.Za.Za.<init>(Za.java:155)
at com.servoy.j2db.server.Za.Za.<init>(Za.java:1280)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1380)
at com.servoy.j2db.server.main.ApplicationServer.main(ApplicationServer.java:59)
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at com.servoy.j2db.datasource.Zp.createConnection(Zp.java:3)
at com.servoy.j2db.datasource.Ze.createConnection(Ze.java:1)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1158)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at com.servoy.j2db.datasource.Za.getConnection(Za.java:40)
at com.servoy.j2db.datasource.jmx.ManagedBasicPoolingDataSource.getConnection(ManagedBasicPoolingDataSource.java:39)
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:866)
at com.servoy.j2db.server.Za.Zo.Zf(Zo.java:886)
at com.servoy.j2db.server.Za.Za.Zb(Za.java:1056)
... 4 more
2014-01-10 20:43:08,759 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database! [ ]
This is the properties file:
# Servoy properties file
# NOTE: At least one connection must be called 'repository_server' !!
# Number of servers defined in this file
ServerManager.numberOfServers=1
# Definition 1
server.0.serverName=repository_server
server.0.URL=jdbc:postgresql://localhost:5432/servoy_repository
server.0.driver=org.postgresql.Driver
server.0.userName=postgres
server.0.password=****** (I'm sure the password is right)
server.0.catalog=<none>#start database enginenativeStartupLauncher=%%user.dir%%\\postgres_db\\bin\\pg_ctl|start|-D|database|-l|postgres_db\\postgres_log.txt
waitForNativeStartup=falsenativeShutdownLauncher=%%user.dir%%\\postgres_db\\bin\\pg_ctl|stop|-D|database|-l|postgres_db\\postgres_log.txt#for use by pdf_forms plugin
pdf_forms_plugin_servername=pdf_forms#network configSocketFactory.useTwoWaySocket=trueSocketFactory.useSSL=truejava.rmi.server.hostname=localhost