Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2247

Invalid signature file digest for Manifest main attributes - When switching from 2.0.0-M24 to 2.0.0-AM25

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0.AM25
    • Fix Version/s: 2.0.0.AM26
    • Component/s: None
    • Labels:
      None
    • Environment:
      Dev platform on Windows 10 / Java 10

      Description

      Just saw the new version of ApacheDS this morning, but I got this error when switching to new version into my POM: 

       

      pom.xml

      <!-- Users management -->
      <apacheds-version>2.0.0.AM25</apacheds-version>
      

       

      Problem when using the debugger is on a SLF4J class ... Don't know why .. 

      Exception in thread "restartedMain" java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
      Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
      at java.base/sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:336)
      at java.base/sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:269)
      at java.base/java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
      at java.base/java.util.jar.JarVerifier.update(JarVerifier.java:230)
      at java.base/java.util.jar.JarFile.initializeVerifier(JarFile.java:752)
      at java.base/java.util.jar.JarFile.getInputStream(JarFile.java:833)
      at java.base/jdk.internal.loader.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:859)
      at java.base/jdk.internal.loader.Resource.cachedInputStream(Resource.java:77)
      at java.base/jdk.internal.loader.Resource.getByteBuffer(Resource.java:161)
      at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:792)
      at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
      at java.base/java.lang.ClassLoader.defineClass1(Native Method)
      at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009)
      at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
      at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801)
      at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
      at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:273)
      at org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:99)
      at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationStartingEvent(LoggingApplicationListener.java:191)
      at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:170)
      at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
      at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
      at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
      at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
      at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:68)
      at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48)
      at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
      at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
      at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
      at spc.api.rest.configuration.SpcApiInitializer.main(SpcApiInitializer.java:18)
      ... 5 more
      
      

      Thanks for your help !

       

        Attachments

        1. DIRSERVER-2247.patch
          0.6 kB
          Colm O hEigeartaigh

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jkeruzec Julien Keruzec
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: