5 Replies Latest reply on Nov 1, 2013 9:22 PM by su*442626*ra

    SQL Developer CLI doesn't honor named connections in SQL dev


      While trying to run SQLDEV CLI, I am getting error while invoking through command line. Here is what I did -


      1) created a testCase in SQl Developer

      2) Verified it runs correctly

      3) Open Command prompt, and went to SQLdeveloper/sqldeveloper/bin dir.

      4) invoked -> sdcli64.exe unittest -run -test -name "AWARD_BONUS_TEST" -repo UT_REPO -db HUB28.( connection name , repo name are same in SQL Developer)



      got following error -


      SEVERE oracle.jdeveloper.db.ConnectionException: Could not connect to database HUB28. the error encountered was: Invalid connection information specified.

      Verify the URL format for the specified driver.


      SEVERE null - java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)

      Unable to run test.


      Environment -

      Sql Developer 4.0 EA2

      Windows 7, 64 Bit.

      Java (build 1.7.0_40-b43) 64 Bit