Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9236039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:11:37+00:00 2026-06-18T07:11:37+00:00

EDIT: I am able to run the same configuration from the flyway commandline tool,

  • 0

EDIT: I am able to run the same configuration from the flyway commandline tool, but not from the ant task.

I have a flyway configuration which works on my oracle database. I am in the process of setting up flyway on my SQL-Server database. Flyway hangs when I try any ant task. Including info which should be used to test connection to the database.

Flyway seems to hang when I run it. When executing any ant tasks the verbose log stops with “[flyway:info] DDL Transactions Supported: true” as shown in the end of the log I have posted at the end of this post. Flyway sits there not doing any thing at this point. Which leads me to believe it is having an issue getting the schema. Because the next log line should be “[flyway:info] Schema: SchemaName” if I remember.

Here are the versions of what I am using

  • Flyway: 2.0.4
  • SQL-Server: SQL-Server 2008 Express R2
  • microsoft jdbc: sqljdbc-4.0

databse-init log:

-init:

[property] Loading ..\database\database-build.properties

parsing buildfile jar:file:../apache-ant-1.8.2/lib/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml with URI = jar:file:../apache-ant-1.8.2/lib/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml from a zip file

[property] Loading ..database\database-placeholders-testclient.properties

-validate:

-echo:

 [echo] Selected database [platform] for DB migration : mssql
 [echo] Selected database [user] for DB migration : sa
 [echo] Selected database [password] for DB migration : flyway
 [echo] Selected database [schemas] for DB migration : dbo
 [echo] Database [jdbc driver class name] for DB migration : com.microsoft.sqlserver.jdbc.SQLServerDriver
 [echo] Database [connection URL] for DB migration : jdbc:sqlserver://localhost;databaseName=TEST_DB;applicationName=Flyway

database-info:

parsing buildfile jar:file:../apache-ant-1.8.2/lib/flyway-ant-2.0.3.jar!/com/googlecode/flyway/ant/antlib.xml with URI = jar:file:../apache-ant-1.8.2/lib/flyway-ant-2.0.3.jar!/com/googlecode/flyway/ant/antlib.xml from a zip file

[flyway:info] Database: Microsoft SQL Server 10.50

[flyway:info] DDL Transactions Supported: true

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:11:38+00:00Added an answer on June 18, 2026 at 7:11 am

    I found the issue. My ant environment was using Java build 1.6.0_29 and while using flyway via command line it was using Java build 1.6.0_37 . When I changed my ant environment to 1.6.0_37 it worked. I am using Microsoft JDBC Driver 4.0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to be able to edit and delete resources myself, but not allow
I have a textarea that I'm able to edit with the jeditable plugin but
I am looking for a tool which will make able to edit parts of
I have a set of projects which all need to run the same series
(Edit: I was able to bundle the framework but it still would not take
I have written a Java program which I package and run from a JAR
I am able to run the code below in terminal which is in respondPalindromes.hs
I switched my application's entity manager factory from spring-managed to container-managed and have run
I've recently run into a snag that will probably keep me from being able
I have two scripts that often need to be run with the same parameter:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.