Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working properly using Rundeck 3.3.1 #1

Open
G3NSVRV opened this issue Jul 22, 2020 · 6 comments
Open

Not working properly using Rundeck 3.3.1 #1

G3NSVRV opened this issue Jul 22, 2020 · 6 comments

Comments

@G3NSVRV
Copy link

G3NSVRV commented Jul 22, 2020

service.log

config

dataSource.dbCreate = update
dataSource.url = jdbc:oracle:thin:@oracle.rundeck.local/XE
dataSource.driverClassName = oracle.jdbc.driver.OracleDriver
dataSource.username = rundeckuser
dataSource.password = rundeckpassword
dataSource.dialect = com.rundeck.hibernate.RundeckOracleDialect
dataSource.properties.validationQuery = SELECT 1 FROM DUAL

fs

[root@node01 rundeck-3.3.1-SNAPSHOT]# md5sum server/lib/*
319c8013976ca6744f128d6eb78942c0  server/lib/ojdbc8.jar
67071c3123a0def25502bc51f8897692  server/lib/rundeck-oracle-dialect-1.0.0.jar
@sjrd218
Copy link

sjrd218 commented Jul 24, 2020

What version of Oracle are you testing against?

@sjrd218
Copy link

sjrd218 commented Jul 24, 2020

@G3NSVRV can you try dataSource.dialect = org.rundeck.hibernate.RundeckOracleDialect instead of what you used. I think the documentation may be using the wrong class name.

@jtobard
Copy link

jtobard commented Jul 24, 2020

According to @dlvcrk test, it works with org.rundeck.hibernate.RundeckOracleDialect with com.rundeck.hibernate.RundeckOracleDialect fails.

@dldrk
Copy link

dldrk commented Jul 24, 2020

Yes, using Oracle-XE-11G, ojdbc7.jar and this config:

dataSource.dbCreate = update
dataSource.username=rundeck
dataSource.password=rundeck
dataSource.url = jdbc:oracle:thin:@localhost:1521:xe
dataSource.driverClassName = oracle.jdbc.driver.OracleDriver
dataSource.dialect = org.rundeck.hibernate.RundeckOracleDialect
dataSource.properties.validationQuery = SELECT 1 FROM DUAL

@fgutierrezz
Copy link

Could you double check for any "extra space character" at the end of every line in rundeck-config file, this sometimes cause issues.

Example
...
dataSource.url = jdbc:oracle:thin:@localhost:1521:xe
dataSource.dialect = org.rundeck.hibernate.RundeckOracleDialect
....

remove any extra space and restart rundeck

@G3NSVRV
Copy link
Author

G3NSVRV commented Jul 24, 2020

@fgutierrezz Using org.rundeck.hibernate works fine, is the com. that may not exist on the dialect as @sjrd218 mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants