Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7261

Geode V1 admin rest does not start with Spring 5.x jars on the classpath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.0, 1.9.1, 1.10.0, 1.11.0
    • 1.9.2, 1.11.0
    • gfsh, rest (admin)
    • None

    Description

      The geode-web war includes several spring jars, but does not include spring-core. With Jetty debug logging enabled we can see the following error:

          [vm0] 07:30:50.469 [RMI TCP Connection(1)-127.0.0.1] DEBUG org.eclipse.jetty.servlet.ServletHandler - EXCEPTION
          [vm0] java.lang.NoClassDefFoundError: org/springframework/core/ErrorCoded
          [vm0]       at java.lang.ClassLoader.defineClass1(Native Method)
          [vm0]       at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
          [vm0]       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
          [vm0]       at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
          [vm0]       at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
          [vm0]       at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
          [vm0]       at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
      

      In addition, the war file also include commons-logging which causes the war logging to be redirected to stderr.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jens.deppe Jens Deppe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m