Unable to network-bootstrap using enterprise 3.2 version, due to 73 outstanding database changes










1














I am using enterprise version 3.2 of network bootstrapper to build node configurations with devMode enabled. When i bootstrap with default database backend (h2), it works fine.



But when I am connecting to MSSQL DB backend, it fails to generate the node config with the following error.



"There are 73 outstanding database changes that need to be run. Please use the advanced migration tool. See: https://docs.corda.r3.com/database-management.html"



I do not have any apps placed in the directory during my bootstrapping process.
The database is a new one and there are no tables created yet. Yet, it is complaining about the database changes.



The link mentioned in the error, recommends us to do a database migration, specific to a cordapp. But in my case, i do not even have a cordapp.



How can I overcome this issue?



Here is the config file i used:



myLegalName="O=Branch,L=Bangalore,C=IN"
p2pAddress="192.168.100.104:11121"
devMode=true
rpcSettings
address="192.168.100.104:10011"
adminAddress="192.168.100.104:11252"

rpcUsers=[

password=test
permissions=[
ALL
]
user=user1

]
dataSourceProperties =
dataSourceClassName = "com.microsoft.sqlserver.jdbc.SQLServerDataSource"
dataSource.url = "jdbc:sqlserver://192.168.100.116:1433;databaseName=cordadb"
dataSource.user = "adminuser"
dataSource.password = "Password123"

database =
transactionIsolationLevel = READ_COMMITTED

jarDirs = ["/root/jdbcdriver/sqljdbc_6.2/enu/"]


Here is the command line that was invoked:



java -jar corda-tools-network-bootstrapper-3.2.jar --dir finance









share|improve this question




























    1














    I am using enterprise version 3.2 of network bootstrapper to build node configurations with devMode enabled. When i bootstrap with default database backend (h2), it works fine.



    But when I am connecting to MSSQL DB backend, it fails to generate the node config with the following error.



    "There are 73 outstanding database changes that need to be run. Please use the advanced migration tool. See: https://docs.corda.r3.com/database-management.html"



    I do not have any apps placed in the directory during my bootstrapping process.
    The database is a new one and there are no tables created yet. Yet, it is complaining about the database changes.



    The link mentioned in the error, recommends us to do a database migration, specific to a cordapp. But in my case, i do not even have a cordapp.



    How can I overcome this issue?



    Here is the config file i used:



    myLegalName="O=Branch,L=Bangalore,C=IN"
    p2pAddress="192.168.100.104:11121"
    devMode=true
    rpcSettings
    address="192.168.100.104:10011"
    adminAddress="192.168.100.104:11252"

    rpcUsers=[

    password=test
    permissions=[
    ALL
    ]
    user=user1

    ]
    dataSourceProperties =
    dataSourceClassName = "com.microsoft.sqlserver.jdbc.SQLServerDataSource"
    dataSource.url = "jdbc:sqlserver://192.168.100.116:1433;databaseName=cordadb"
    dataSource.user = "adminuser"
    dataSource.password = "Password123"

    database =
    transactionIsolationLevel = READ_COMMITTED

    jarDirs = ["/root/jdbcdriver/sqljdbc_6.2/enu/"]


    Here is the command line that was invoked:



    java -jar corda-tools-network-bootstrapper-3.2.jar --dir finance









    share|improve this question


























      1












      1








      1







      I am using enterprise version 3.2 of network bootstrapper to build node configurations with devMode enabled. When i bootstrap with default database backend (h2), it works fine.



      But when I am connecting to MSSQL DB backend, it fails to generate the node config with the following error.



      "There are 73 outstanding database changes that need to be run. Please use the advanced migration tool. See: https://docs.corda.r3.com/database-management.html"



      I do not have any apps placed in the directory during my bootstrapping process.
      The database is a new one and there are no tables created yet. Yet, it is complaining about the database changes.



      The link mentioned in the error, recommends us to do a database migration, specific to a cordapp. But in my case, i do not even have a cordapp.



      How can I overcome this issue?



      Here is the config file i used:



      myLegalName="O=Branch,L=Bangalore,C=IN"
      p2pAddress="192.168.100.104:11121"
      devMode=true
      rpcSettings
      address="192.168.100.104:10011"
      adminAddress="192.168.100.104:11252"

      rpcUsers=[

      password=test
      permissions=[
      ALL
      ]
      user=user1

      ]
      dataSourceProperties =
      dataSourceClassName = "com.microsoft.sqlserver.jdbc.SQLServerDataSource"
      dataSource.url = "jdbc:sqlserver://192.168.100.116:1433;databaseName=cordadb"
      dataSource.user = "adminuser"
      dataSource.password = "Password123"

      database =
      transactionIsolationLevel = READ_COMMITTED

      jarDirs = ["/root/jdbcdriver/sqljdbc_6.2/enu/"]


      Here is the command line that was invoked:



      java -jar corda-tools-network-bootstrapper-3.2.jar --dir finance









      share|improve this question















      I am using enterprise version 3.2 of network bootstrapper to build node configurations with devMode enabled. When i bootstrap with default database backend (h2), it works fine.



      But when I am connecting to MSSQL DB backend, it fails to generate the node config with the following error.



      "There are 73 outstanding database changes that need to be run. Please use the advanced migration tool. See: https://docs.corda.r3.com/database-management.html"



      I do not have any apps placed in the directory during my bootstrapping process.
      The database is a new one and there are no tables created yet. Yet, it is complaining about the database changes.



      The link mentioned in the error, recommends us to do a database migration, specific to a cordapp. But in my case, i do not even have a cordapp.



      How can I overcome this issue?



      Here is the config file i used:



      myLegalName="O=Branch,L=Bangalore,C=IN"
      p2pAddress="192.168.100.104:11121"
      devMode=true
      rpcSettings
      address="192.168.100.104:10011"
      adminAddress="192.168.100.104:11252"

      rpcUsers=[

      password=test
      permissions=[
      ALL
      ]
      user=user1

      ]
      dataSourceProperties =
      dataSourceClassName = "com.microsoft.sqlserver.jdbc.SQLServerDataSource"
      dataSource.url = "jdbc:sqlserver://192.168.100.116:1433;databaseName=cordadb"
      dataSource.user = "adminuser"
      dataSource.password = "Password123"

      database =
      transactionIsolationLevel = READ_COMMITTED

      jarDirs = ["/root/jdbcdriver/sqljdbc_6.2/enu/"]


      Here is the command line that was invoked:



      java -jar corda-tools-network-bootstrapper-3.2.jar --dir finance






      corda






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 at 11:24

























      asked Nov 12 at 11:14









      Arun Nalpet

      204




      204






















          1 Answer
          1






          active

          oldest

          votes


















          1














          The "73 outstanding database changes" referenced in the error message are the creation of the new database tables required by every Corda node.



          You can run these automatically by adding database.runMigration=true to your node's node.conf file.






          share|improve this answer




















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53260975%2funable-to-network-bootstrap-using-enterprise-3-2-version-due-to-73-outstanding%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            The "73 outstanding database changes" referenced in the error message are the creation of the new database tables required by every Corda node.



            You can run these automatically by adding database.runMigration=true to your node's node.conf file.






            share|improve this answer

























              1














              The "73 outstanding database changes" referenced in the error message are the creation of the new database tables required by every Corda node.



              You can run these automatically by adding database.runMigration=true to your node's node.conf file.






              share|improve this answer























                1












                1








                1






                The "73 outstanding database changes" referenced in the error message are the creation of the new database tables required by every Corda node.



                You can run these automatically by adding database.runMigration=true to your node's node.conf file.






                share|improve this answer












                The "73 outstanding database changes" referenced in the error message are the creation of the new database tables required by every Corda node.



                You can run these automatically by adding database.runMigration=true to your node's node.conf file.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 12 at 14:34









                Joel

                10k11227




                10k11227



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53260975%2funable-to-network-bootstrap-using-enterprise-3-2-version-due-to-73-outstanding%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    How to read a connectionString WITH PROVIDER in .NET Core?

                    In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

                    Museum of Modern and Contemporary Art of Trento and Rovereto