Unexpected error in setting the solution

Questions, answers, tips and ideas on Servoy Client

Unexpected error in setting the solution

Postby buero1348738863 » Thu Sep 27, 2012 12:05 pm

Hello,
I created a solution using my existing Foxpro-database (VFP 8 ). So far in the developer everything works fine.
Now I wanted to export the solution to a stand alone version using the runtme builder.

At the end of the export I receive the message:
Unexpected error in setting the solution

When I start the executable in the export-folder I get the message:
Die Verbindung zum Datenbankserver konnte nicht hergestellt werden

The database-folder in the output-folder does not contain my VFP-tables, the drivers-folder does not contain the VFP-driver.
the servoy_log.txt file says the following:
2012-09-27 11:41:12,522 ERROR [main] com.servoy.j2db.server.Za.Zo - Final get connection failure for server immoeasy2015 in 6 times
2012-09-27 11:41:12,527 ERROR [main] com.servoy.j2db.util.Debug - Die Verbindung zum Datenbankserver konnte nicht hergestellt werden
org.postgresql.util.PSQLException: Verbindung verweigert. Überprüfen Sie die Korrektheit von Hostnamen und der Portnummer und dass der Datenbankserver TCP/IP-Verbindungen annimmt.
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:3)
at com.servoy.j2db.datasource.Ze.createConnection(Ze.java:3)
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:22)
at com.servoy.j2db.datasource.jmx.ManagedBasicPoolingDataSource.getConnection(ManagedBasicPoolingDataSource.java:36)
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:789)
at com.servoy.j2db.server.Za.Zo.Zf(Zo.java:1214)
at com.servoy.j2db.server.Za.Zo.testConnection(Zo.java:462)
at com.servoy.j2db.runtime.J2DBRuntimeClient.Za(J2DBRuntimeClient.java:22)
at com.servoy.j2db.runtime.J2DBRuntimeClient.startupApplication(J2DBRuntimeClient.java:72)
at com.servoy.j2db.runtime.J2DBRuntimeClient.main(J2DBRuntimeClient.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Za.main(Za.java:12)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.postgresql.core.PGStream.<init>(PGStream.java:62)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
... 25 more

What is the solution for this problem? Thanks for help.
Michael
buero1348738863
 
Posts: 3
Joined: Thu Sep 27, 2012 11:41 am

Re: Unexpected error in setting the solution

Postby mboegem » Thu Sep 27, 2012 2:06 pm

it's complaining about a PostgreSQL connection.
Is this database running?
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Unexpected error in setting the solution

Postby buero1348738863 » Thu Sep 27, 2012 3:05 pm

No, it is not running, all databases except the one I need (VFP) are disabled.

Meanwhile I created a new small test-solution with only one form and one table from the VFP database.
The errors remain the same ...

Michael
buero1348738863
 
Posts: 3
Joined: Thu Sep 27, 2012 11:41 am


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 8 guests