Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Issue to connect with SYSDBA using internal_logon properties

$
0
0
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 :
  1. 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 :

  1. 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

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>