Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9918

Default configuration missed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: general
    • Labels:
      None

      Description

      Node start failed if try to execute bin\ignite.bat without arguments:

      C:\GitRoot\gg-qa\i2test\var\suite-client\ignite\bin>ignite.bat
      class org.apache.ignite.IgniteException: Spring XML configuration path is invalid: config\default-config.xml. Note that
      this path should be either absolute or a relative local file system path, relative to META-INF in classpath or valid URL
       to IGNITE_HOME.
              at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1014)
              at org.apache.ignite.Ignition.start(Ignition.java:351)
              at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301)
      Caused by: class org.apache.ignite.IgniteCheckedException: Spring XML configuration path is invalid: config\default-conf
      ig.xml. Note that this path should be either absolute or a relative local file system path, relative to META-INF in clas
      spath or valid URL to IGNITE_HOME.
              at org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3858)
              at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:858)
              at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:730)
              at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:699)
              at org.apache.ignite.Ignition.start(Ignition.java:348)
              ... 1 more
      Caused by: java.net.MalformedURLException: no protocol: config\default-config.xml
              at java.net.URL.<init>(URL.java:593)
              at java.net.URL.<init>(URL.java:490)
              at java.net.URL.<init>(URL.java:439)
              at org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3849)
              ... 5 more
      Failed to start grid: Spring XML configuration path is invalid: config\default-config.xml. Note that this path should be
       either absolute or a relative local file system path, relative to META-INF in classpath or valid URL to IGNITE_HOME.
      

      Obviously that there's no config/default-config.xml

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vveider Peter Ivanov
                Reporter:
                skozlov Sergey Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: