Hi,
The last years I have used MySQL for development and everything worked fine.
When installing my new MacBook Pro I decided to start from scratch and also make use of the standard PostgreSQL db's.
Now, after 2 weeks I have an issue.
Without any reason or changes to the configuration, after several starts/stops of developer, the db's won't connect anymore but the db server is started as expected.
Yesterday I decided to do a new install of Servoy Developer and dropped the database folder on it.
It worked for a couple of hours again and this morning: (*&^%^$%&$
Any ideas?
This is what the developer log tells me:
2013-05-02 08:01:23,037 ERROR [main] com.servoy.j2db.server.Za.Zo - sql exception in load tables [ ]
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136)
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:4)
at com.servoy.j2db.datasource.Ze.createConnection(Ze.java:5)
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:4)
at com.servoy.j2db.datasource.jmx.ManagedBasicPoolingDataSource.getConnection(ManagedBasicPoolingDataSource.java:9)
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:1643)
at com.servoy.j2db.server.Za.Zo.Zf(Zo.java:725)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:590)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:49)
at com.servoy.j2db.server.Za.Zo.getTable(Zo.java:1475)
at com.servoy.j2db.server.Za.Zo.getTable(Zo.java:256)
at com.servoy.j2db.persistence.Form.getTable(Form.java:347)
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:848)
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:774)
at etc. etc.