ekpindi / openconcerto

Automatically exported from code.google.com/p/openconcerto
0 stars 0 forks source link

problème connexion au démarrage d Open concerto 1.3b4 monoposte #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Ne s ouvre pa au démarrage et de plus n apparait pas dans la liste des 
programmes installés ou le menu Démarrer... bizarre!!

What version of the product are you using? On what operating system?

suis sous Win 7..la version monoposte serait elle une version multiposte.??

Please provide any additional information below.

Erreur de connexion à la base de données

Impossible d'obtenir une connexion sur 
jdbc:postgresql://127.0.0.1:5432/OpenConcerto: Cannot create 
PoolableConnectionFactory
org.openconcerto.utils.ExceptionHandler: Erreur de connexion à la base de 
données
    at org.openconcerto.utils.ExceptionHandler.die(ExceptionHandler.java:119)
    at org.openconcerto.erp.config.Gestion.main(Gestion.java:286)
Caused by: java.lang.IllegalStateException: Impossible d'obtenir une connexion 
sur jdbc:postgresql://127.0.0.1:5432/OpenConcerto: Cannot create 
PoolableConnectionFactory
    at org.openconcerto.sql.model.SQLDataSource.getRawConnection(SQLDataSource.java:1168)
    at org.openconcerto.sql.model.SQLDataSource.borrowConnection(SQLDataSource.java:1103)
    at org.openconcerto.sql.model.SQLDataSource.getNewConnection(SQLDataSource.java:1085)
    at org.openconcerto.sql.model.SQLDataSource$QueryInfo.<init>(SQLDataSource.java:597)
    at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:505)
    at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:452)
    at org.openconcerto.sql.model.SQLDataSource.getSchema(SQLDataSource.java:1631)
    at org.openconcerto.sql.model.SQLDataSource.getSchema(SQLDataSource.java:1613)
    at org.openconcerto.sql.model.DBSystemRoot.setRootPathFromDS(DBSystemRoot.java:577)
    at org.openconcerto.sql.model.DBSystemRoot.setDS(DBSystemRoot.java:573)
    at org.openconcerto.sql.model.SQLBase.<init>(SQLBase.java:135)
    at org.openconcerto.sql.model.PGSQLBase.<init>(PGSQLBase.java:24)
    at org.openconcerto.sql.model.SQLSyntaxPG.createBase(SQLSyntaxPG.java:344)
    at org.openconcerto.sql.model.SQLServer.createBase(SQLServer.java:397)
    at org.openconcerto.sql.model.SQLServer.getBase(SQLServer.java:386)
    at org.openconcerto.sql.model.SQLServer.getBase(SQLServer.java:377)
    at org.openconcerto.sql.model.SQLServer.createSystemRoot(SQLServer.java:443)
    at org.openconcerto.sql.model.SQLServer.getSystemRoot(SQLServer.java:421)
    at org.openconcerto.sql.model.SQLServer.getSystemRoot(SQLServer.java:402)
    at org.openconcerto.sql.PropsConfiguration.createSystemRoot(PropsConfiguration.java:516)
    at org.openconcerto.erp.config.ComptaPropsConfiguration.createSystemRoot(ComptaPropsConfiguration.java:564)
    at org.openconcerto.sql.PropsConfiguration.getSystemRoot(PropsConfiguration.java:856)
    at org.openconcerto.erp.config.Gestion.main(Gestion.java:281)
Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory
    at org.openconcerto.sql.model.SQLDataSource.createPoolableConnectionFactory(SQLDataSource.java:1368)
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at org.openconcerto.sql.model.SQLDataSource.getRawConnection(SQLDataSource.java:1151)
    ... 22 more
Caused by: org.postgresql.util.PSQLException: Connexion refusée. Vérifiez que 
le nom de machine et le port sont corrects et que postmaster accepte les 
connexions TCP/IP.
    at org.postgresql.Driver$ConnectThread.getResult(Driver.java:348)
    at org.postgresql.Driver.connect(Driver.java:271)
    at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at org.openconcerto.sql.model.SQLDataSource$1.makeObject(SQLDataSource.java:1349)
    at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at org.openconcerto.sql.model.SQLDataSource.createPoolableConnectionFactory(SQLDataSource.java:1364)
    ... 25 more
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 org.postgresql.core.PGStream.<init>(PGStream.java:60)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:101)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)
    at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)
    at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)
    at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:393)
    at org.postgresql.Driver.access$100(Driver.java:46)
    at org.postgresql.Driver$ConnectThread.run(Driver.java:308)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by samisd2...@gmail.com on 26 Nov 2013 at 6:19

GoogleCodeExporter commented 8 years ago
Vous avez paramétré le logiciel pour se connecter à un serveur PostgreSQL.

Original comment by guillaum...@gmail.com on 31 Mar 2014 at 4:15