Hello,
I'm trying to connect to an Oracle database with complex configuration : Connection with wallet and SYSDBA role.
I'm using the following script :
I'm trying to connect to an Oracle database with complex configuration : Connection with wallet and SYSDBA role.
I'm using the following script :
- MASTERXML=dbchangelog.xml
LOGINADM=OPS\$ORAADM
DRIVER="oracle.jdbc.OracleDriver"
JDBCURL="jdbc:oracle:thin:@DDBA01D1"
JARFILE="${ORACLE_HOME}/jdbc/lib/ojdbc6.jar:${ORACLE_HOME}/oc4j/jlib/oraclepki.jar:${ORACLE_HOME}/oc4j/jlib/osdt_cert.jar"
LQBHOME="/home/mboutkhi/tmp/liquibase/liquibase"
java -Doracle.net.tns_admin=/etc -Doracle.net.wallet_location=/soft/oracle/adm/wallet \
-jar $LQBHOME/jar/liquibase-3.2.2.jar \
--driver=${DRIVER} \
--classpath=${JARFILE} \
--url=${JDBCURL} \
--changeLogFile=${MASTERXML} \
--defaultSchemaName=${LOGINADM} \
--logLevel=debug \
--driverPropertiesFile=/soft/oracle/adm/wallet/sqlnet.ora \
--defaultsFile=syspropfile.txt \
update
Into sysprofile.txt file I have the following attribute :
internal_logon: sysdba
The error is :
- Unexpected
error running Liquibase: Unknown parameter:
'internal_logon'
SEVERE 5/18/15 5:44 PM: liquibase: Unknown parameter: 'internal_logon'
liquibase.exception.CommandLineParsingException: Unknown parameter: 'internal_logon'
at liquibase.integration.commandline.Main.parsePropertiesFile(Main.java:431)
at liquibase.integration.commandline.Main.run(Main.java:149)
at liquibase.integration.commandline.Main.main(Main.java:89)
Does anyone know how to specify this property in the command line ?
Thanks
Regards,
Mohamed