dataSource.driverClassName = org.postgresql.Driver
dataSource.url = jdbc:postgresql://your-db-host:5432/rundeck
dataSource.username=rundeckuser
dataSource.password=password--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To post to this group, send email to rundeck...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/7c599589-b426-4869-b2e2-a2dee5e10944%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/BN6PR11MB3923EC3A6F88ACDB51D71901FE110%40BN6PR11MB3923.namprd11.prod.outlook.com.
dataSource.url = jdbc:postgresql://address-of-your-database:5432/rundeckdataSource.url = jdbc:postgresql://localhost/rundecklocal all all trust
host all all 0.0.0.0/0 trust # or your trust networklisten_addresses = '*'
port=5432 # or custom tcp port if you want
From: rundeck-discuss@googlegroups.com <rundeck-discuss@googlegroups.com> on behalf of Vivek Rodge <vivek...@gmail.com>
Sent: Saturday, June 8, 2019 7:30:20 AM
Subject: Re: [rundeck] Re: Not able to start rundeck with postgres. Exception - Facing unable to create initial connections of Pool
Hi,
My rundeck version is 3.0.22 . Java installed is 1.8 . I tried giving localhost:5432 as well. But the exception is same. I have rpm rundeck installation. When I use command sudo service rundeckd start. In service.log I see below exception. Even I have followed the guide to change datasource to postgres and changed rubdeck-config.propertiea to have postgres driver and db url, exception shows that it is taking h2 db driver instead of postgres. On further investigation, it is found that when I do start service rundeckd, it loads boostrap application having rundeck.war present at \var\lib\rundeck\bootstrap. When I changed Datasource.groovy and application.groovy to point datasource to have postgres driver which was pointing to h2 db driver, the exception gone and able to see rundeck server is started without any errors. I don't want to change rundeck.war to change db from h2 to postgres. How to achieve this without changing rundeck.war. I already modfied rundeck-config.properties. But it is not picking postgres driver from rundeck-config.properties. Am I missing any configuration to change so that postgres db driver gets loaded instead of h2 driver during rundeck server startup.
Thanks in advance
On Thu, Jun 6, 2019, 9:59 PM Reiner Acuña <rac...@rundeck.com> wrote:
--Hi Vivek,
Check your DB configuration in rundeck-config.properties file and make sure that is well configured:
dataSource.driverClassName = org.postgresql.Driver
dataSource.url = jdbc:postgresql://your-db-host:5432/rundeck
dataSource.username=rundeckuser
dataSource.password=password
More informaton here:
Hope it helps!
On Tuesday, June 4, 2019 at 11:11:39 AM UTC-4, Vivek Rodge wrote:
2019-06-04 15:18:58.702 ERROR --- [ main] o.a.tomcat.jdbc.pool.ConnectionPool : Unable to create initial connections of pool.
java.sql.SQLException: Driver:org.h2.Driver@14faa38c returned null for URL:jdbc:postgresql://localhost/postgres?autoReconnect=trueat org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:338)at org.apa
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to rundeck-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/7c599589-b426-4869-b2e2-a2dee5e10944%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to rundeck-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/CANre5wHWDQqed6OywoEAsgVdaJhyNFWwpXEyEcgvUN%3D%2Bx3mGLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to rundeck-discuss@googlegroups.com.