[Resolu]main.properties connection ssh

Un conseil pour l'installation? Un problème technique pour installer OpenConcerto?
Répondre
nma
Messages : 20
Enregistré le : ven. mai 16, 2014 2:02 pm

ven. juil. 04, 2014 4:21 pm

Bonjour,

Apres l'instal de ma bdd postgresql sur mon serveur disdtant, j'essaye de me connecter en ssh.
J'ai trouvé cette info sur le forum et j'ai modifié mon main.properties comme suit :

server.wan.addr=xx.xx.xx.xx
server.wan.port=2222
server.wan.password=pass
server.wan.user=userssh
systemRoot=OpenConcerto
customer=Gestion_Default
server.ip=127.0.0.1\:5432

Mais j' obtient l'erreur suivante quand je lance OC

Code : Tout sélectionner

UncaughtException on thread Thread[main,5,main]
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[main,5,main]
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:112)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:116)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:194)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.lang.Thread.dispatchUncaughtException(Unknown Source)
Caused by: java.lang.NullPointerException
	at org.openconcerto.sql.model.SQLSystem.get(SQLSystem.java:291)
	at org.openconcerto.sql.PropsConfiguration.getSystem(PropsConfiguration.java:407)
	at org.openconcerto.erp.config.ComptaPropsConfiguration.<init>(ComptaPropsConfiguration.java:420)
	at org.openconcerto.erp.config.ComptaPropsConfiguration.create(ComptaPropsConfiguration.java:342)
	at org.openconcerto.erp.config.ComptaPropsConfiguration.create(ComptaPropsConfiguration.java:316)
	at org.openconcerto.erp.config.Gestion.main(Gestion.java:243)
Merci de votre aide
Nicolas
Modifié en dernier par nma le sam. juil. 05, 2014 10:53 am, modifié 1 fois.
nma
Messages : 20
Enregistré le : ven. mai 16, 2014 2:02 pm

sam. juil. 05, 2014 10:52 am

Ne trouvant pas de solution avec ce tunnel ssh, J'ai modifié les fichiers de conf de postgresql pour autoriser les connexions à distance.
Et c fait je suis connecté !!

Je n'ai donc plus qu'a tester et des qu'il sera dispo acheter le bouquin !!

Merci @ tous
Nicolas
Avatar du membre
guillaume
Messages : 2457
Enregistré le : ven. févr. 11, 2011 7:15 pm

mar. juil. 08, 2014 8:54 pm

Bonsoir,

il manquait le

Code : Tout sélectionner

server.driver=postgresql
Cordialement,
Directeur technique d'OpenConcerto qui dans son temps libre s'occupe du forum.
Pour une assistance pro, nous sommes joignables à ILM Informatique contre quelques jetons.
Pensez aussi à lire le manuel !
Répondre