org.swift.common.cli.CliClient$ClientException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Bob, thanks for a great product and your work. Quick question: I'm having trouble using the runfromsql action with MS SQL Server. I tried connecting using both the driver: {code} >jira --action runfromsql --sql "select 'getserverinfo' as action" --host "localhost" --driver "mssql" --database "DB" --dbUser "sa" --dbPassword "pwd" --verbose --debug {code} and URL methods: {code} >jira --action runfromsql --sql "select 'getserverinfo' as action" --url "jdbc:jtds:sqlserver://localhost;user=sa;password=pwd" --database "DB" --verbose --debug {code} I have put the JTDS jar (jtds-1.2.5.jar) into the lib/jdbc directory. I also tried specifying the port number. But I always get the following error: {code} Client error: Could not default the database connection URL from: net.sourceforge.jtds.Driver. Provide a connection URL. org.swift.common.cli.CliClient$ClientException: Could not default the database connection URL from: net.sourceforge.jtds.Driver. Provide a connection URL. at org.swift.common.cli.CliUtils.getDatabaseUrl(CliUtils.java:437) at org.swift.common.cli.CliUtils.getDatabaseConnection(CliUtils.java:367) at org.swift.common.cli.CliClient.runFromSql(CliClient.java:838) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:401) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:118) at org.swift.common.cli.CliClient.doWork(CliClient.java:225) at org.swift.jira.cli.JiraClient.main(JiraClient.java:140) {code} Can you please help? I'm running on Win 32 with Java 1.6 and JCLI 2.2.0
    via by Ben Dailey,
  • Bob, thanks for a great product and your work. Quick question: I'm having trouble using the runfromsql action with MS SQL Server. I tried connecting using both the driver: {code} >jira --action runfromsql --sql "select 'getserverinfo' as action" --host "localhost" --driver "mssql" --database "DB" --dbUser "sa" --dbPassword "pwd" --verbose --debug {code} and URL methods: {code} >jira --action runfromsql --sql "select 'getserverinfo' as action" --url "jdbc:jtds:sqlserver://localhost;user=sa;password=pwd" --database "DB" --verbose --debug {code} I have put the JTDS jar (jtds-1.2.5.jar) into the lib/jdbc directory. I also tried specifying the port number. But I always get the following error: {code} Client error: Could not default the database connection URL from: net.sourceforge.jtds.Driver. Provide a connection URL. org.swift.common.cli.CliClient$ClientException: Could not default the database connection URL from: net.sourceforge.jtds.Driver. Provide a connection URL. at org.swift.common.cli.CliUtils.getDatabaseUrl(CliUtils.java:437) at org.swift.common.cli.CliUtils.getDatabaseConnection(CliUtils.java:367) at org.swift.common.cli.CliClient.runFromSql(CliClient.java:838) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:401) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:118) at org.swift.common.cli.CliClient.doWork(CliClient.java:225) at org.swift.jira.cli.JiraClient.main(JiraClient.java:140) {code} Can you please help? I'm running on Win 32 with Java 1.6 and JCLI 2.2.0
    via by Ben Dailey,
    • org.swift.common.cli.CliClient$ClientException: Could not default the database connection URL from: net.sourceforge.jtds.Driver. Provide a connection URL. at org.swift.common.cli.CliUtils.getDatabaseUrl(CliUtils.java:437) at org.swift.common.cli.CliUtils.getDatabaseConnection(CliUtils.java:367) at org.swift.common.cli.CliClient.runFromSql(CliClient.java:838) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:401) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:118) at org.swift.common.cli.CliClient.doWork(CliClient.java:225) at org.swift.jira.cli.JiraClient.main(JiraClient.java:140)
    No Bugmate found.