Oracle jdbc error

HI ,

i am calling following statement from shell script is failing

/snap/liquibase/current/liquibase
–changelogfile=$DIR/$SCRIPT
–url="jdbc:oracle:thin:@servername:*/servicename"
–username=$USERNAME --password=
update

I got following error
Unexpected error running Liquibase: java.lang.RuntimeException: Cannot find database driver: oracle.jdbc.OracleDriver

If I execute it from command line is working .

Please help me .
Regards ,
Ramesh

Hi @kalyandrug

Could you try adding below parameters/attributes to the same line? (Make sure you use the appropriate values for these attributes)

--driver=oracle.jdbc.driver.OracleDriver 
--classpath=ojdbc6.jar

Please do let us know the results.

Thanks!
Rakhi Agrawal