14 Replies Latest reply on Apr 30, 2021 12:59 AM by Slava Pedak

    SDK PIM 10 HF2 Micrometer Error

    Alex _ Guru

      Hi,

       

      during the starting of SDK 10 HF 2, the log write the following error.

      I tried to disable the micrometer logs from log4j2 but the result is always the same.

       

      Can you help me?

       

      Thanks

      A

       

       

       

      14:38:50,851 ERROR [main] [STARTUP] Exception during initialization, startup terminated.

      14:38:50,852 ERROR [main] [STARTUP] Internal error in initializer init.micrometerRegistry

      java.lang.NoClassDefFoundError: io/micrometer/core/instrument/binder/logging/Log4j2Metrics

      at com.heiler.ppm.micrometer.server.MicrometerRegistryComponent$MicrometerRegistryLifecycle.initialize(MicrometerRegistryComponent.java:91)

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:371)

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:1)

      at java.util.concurrent.FutureTask.run(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.logging.Log4j2Metrics cannot be found by com.heiler.ppm.micrometer.server_1.0.0.r69942

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)

      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)

      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)

      at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      ... 7 more

      14:38:50,924 INFO  [main] [STARTUP] Start completed (Duration: 19393 ms)

      14:38:50,926 ERROR [main] [MainServerApplication] Error during startup of server

      org.eclipse.core.runtime.CoreException: Internal error in initializer init.micrometerRegistry

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:381)

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:1)

      at java.util.concurrent.FutureTask.run(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.NoClassDefFoundError: io/micrometer/core/instrument/binder/logging/Log4j2Metrics

      at com.heiler.ppm.micrometer.server.MicrometerRegistryComponent$MicrometerRegistryLifecycle.initialize(MicrometerRegistryComponent.java:91)

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:371)

      ... 5 more

      Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.logging.Log4j2Metrics cannot be found by com.heiler.ppm.micrometer.server_1.0.0.r69942

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)

      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)

      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)

      at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      ... 7 more

      !SESSION 2020-11-05 14:38:16.341 -----------------------------------------------

      eclipse.buildId=unknown

      java.version=1.8.0_221

      java.vendor=Oracle Corporation

      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

      Framework arguments:  -application com.heiler.ppm.platform.server.app -plugincustomization C:\Informatica\eclipse\workspace\sdk_10.0.2\configuration\server\plugin_customization.ini

      Command-line arguments:  -application com.heiler.ppm.platform.server.app -data C:\Informatica\eclipse\workspace\sdk_10.0.2/../runtime/workspaces/server -dev file:C:/Informatica/eclipse/workspace/sdk_10.0.2/.metadata/.plugins/org.eclipse.pde.core/ProductManager Server/dev.properties -os win32 -ws win32 -arch x86_64 -console -consoleLog -plugincustomization C:\Informatica\eclipse\workspace\sdk_10.0.2\configuration\server\plugin_customization.ini

       

       

      !ENTRY org.eclipse.osgi 4 0 2020-11-05 14:38:50.938

      !MESSAGE Application error

      !STACK 1

      org.eclipse.core.runtime.CoreException: Internal error in initializer init.micrometerRegistry

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:381)

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:1)

      at java.util.concurrent.FutureTask.run(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.NoClassDefFoundError: io/micrometer/core/instrument/binder/logging/Log4j2Metrics

      at com.heiler.ppm.micrometer.server.MicrometerRegistryComponent$MicrometerRegistryLifecycle.initialize(MicrometerRegistryComponent.java:91)

      at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:371)

      ... 5 more

      Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.logging.Log4j2Metrics cannot be found by com.heiler.ppm.micrometer.server_1.0.0.r69942

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)

      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)

      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)

      at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      ... 7 more

      An error has occurred. See the log file

      C:\Informatica\eclipse\workspace\runtime\workspaces\server\.metadata\.log.

        • 1. Re: SDK PIM 10 HF2 Micrometer Error
          Slava Pedak Guru

          Hi,

           

          I have the same issue. Can anybody from Informatica help with this?

           

          Thanks,

          Slava Pedak

          • 2. Re: SDK PIM 10 HF2 Micrometer Error
            Ralph81 Guru

            Hi Alex, hi Slava,

             

            we are currently checking what causes this issue and will be back soon.

             

            Best Regards

             

            Ralph

            • 3. Re: SDK PIM 10 HF2 Micrometer Error
              Slava Pedak Guru

              Hi Ralph,

               

              I was wrong a little, my exact error is:

               

              16:26:13,757 ERROR [main] [STARTUP] Internal error in initializer init.micrometerRegistry

              java.lang.NoClassDefFoundError: io/micrometer/core/instrument/binder/jvm/JvmHeapPressureMetrics

              at com.heiler.ppm.micrometer.core.internal.MicrometerServiceImpl.getDefaultBinders(MicrometerServiceImpl.java:239)

              at com.heiler.ppm.micrometer.core.internal.MicrometerServiceImpl.bindDefaultMetrics(MicrometerServiceImpl.java:189)

              at com.heiler.ppm.micrometer.core.internal.MicrometerServiceImpl.init(MicrometerServiceImpl.java:119)

              at com.heiler.ppm.micrometer.server.internal.MicrometerRegistryServiceImpl.<init>(MicrometerRegistryServiceImpl.java:90)

              at com.heiler.ppm.micrometer.server.MicrometerRegistryComponent$MicrometerRegistryLifecycle.initialize(MicrometerRegistryComponent.java:80)

              at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:371)

              at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:1)

              at java.util.concurrent.FutureTask.run(FutureTask.java:266)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

              at java.lang.Thread.run(Thread.java:748)

              Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.jvm.JvmHeapPressureMetrics cannot be found by com.heiler.ppm.micrometer.core_1.0.0.r69942

              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)

              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)

              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)

              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

              ... 11 more

              16:26:13,897 INFO  [main] [STARTUP] Start completed (Duration: 40133 ms)

              16:26:13,897 ERROR [main] [MainServerApplication] Error during startup of server

              org.eclipse.core.runtime.CoreException: Internal error in initializer init.micrometerRegistry

              at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:381)

              at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:1)

              at java.util.concurrent.FutureTask.run(FutureTask.java:266)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

              at java.lang.Thread.run(Thread.java:748)

              Caused by: java.lang.NoClassDefFoundError: io/micrometer/core/instrument/binder/jvm/JvmHeapPressureMetrics

              at com.heiler.ppm.micrometer.core.internal.MicrometerServiceImpl.getDefaultBinders(MicrometerServiceImpl.java:239)

              at com.heiler.ppm.micrometer.core.internal.MicrometerServiceImpl.bindDefaultMetrics(MicrometerServiceImpl.java:189)

              at com.heiler.ppm.micrometer.core.internal.MicrometerServiceImpl.init(MicrometerServiceImpl.java:119)

              at com.heiler.ppm.micrometer.server.internal.MicrometerRegistryServiceImpl.<init>(MicrometerRegistryServiceImpl.java:90)

              at com.heiler.ppm.micrometer.server.MicrometerRegistryComponent$MicrometerRegistryLifecycle.initialize(MicrometerRegistryComponent.java:80)

              at com.heiler.ppm.platform.server.internal.ServerContainer$ServerInitializerCallable.call(ServerContainer.java:371)

              ... 5 more

              Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.jvm.JvmHeapPressureMetrics cannot be found by com.heiler.ppm.micrometer.core_1.0.0.r69942

              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)

              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)

              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)

              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

              ... 11 more

               

              So it is similar to what Alex has, but class name is different. I tried to add micrometer jars to the server start configuration, but this did not help.

               

              Thanks,

              Slava Pedal

              • 4. Re: SDK PIM 10 HF2 Micrometer Error
                Ralph81 Guru

                Hi Slava,

                 

                can you please check your package? We have seen more then once that the zip is not uncompressed correctly.

                 

                 

                Best Regards

                 

                Ralph

                • 5. Re: SDK PIM 10 HF2 Micrometer Error
                  Slava Pedak Guru

                  Hi Ralph,

                   

                  As I can see jar is fine at my side:

                   

                   

                  Thanks,

                  Slava

                  • 6. Re: SDK PIM 10 HF2 Micrometer Error
                    Ralph81 Guru

                    Hi Slava,

                     

                    and also correct loaded in Eclipse?

                     

                    Best Regards

                     

                    Ralph

                    • 7. Re: SDK PIM 10 HF2 Micrometer Error
                      Slava Pedak Guru

                      yes, also fine in Eclipse

                       

                       

                      Thanks,

                      Slava

                      • 8. Re: SDK PIM 10 HF2 Micrometer Error
                        Ralph81 Guru

                        Hi Slava

                         

                        which Version of Eclipse is used and which Java Version?

                         

                        Best Regards

                        • 9. Re: SDK PIM 10 HF2 Micrometer Error
                          Slava Pedak Guru

                          Hi Ralph,

                           

                          Eclipse IDE for RCP and RAP Developers (includes Incubating components)

                          Version: 2020-06 (4.16.0)

                          Build id: 20200615-1200

                          OS: Windows 10, v.10.0, x86_64 / win32

                          Java version: 1.8.0_241

                           

                          Thanks,

                          Slava

                          • 10. Re: SDK PIM 10 HF2 Micrometer Error
                            Alex _ Guru

                            Hi Ralph,

                             

                            I had a short meeting with your collegue and we have checked several times sdk or eclipse configuration. After the second times, eclipse have risolve correctly the target but running the sever we have the following error

                             

                             

                            we have tried with jdk and open zulu 1.8 but the error is always the same.

                            • 11. Re: SDK PIM 10 HF2 Micrometer Error
                              Wladislaw Alles New Member

                              Hi Alex,

                               

                              I found now the problem...

                              Please check your "server.properties" for this parameter:

                              db.default.pool.registerMetrics = true

                               

                              This should be set to "true" and not "false".

                               

                              After this, the SDK should start without errors.

                               

                              Best regards,

                              Wladislaw

                              • 12. Re: SDK PIM 10 HF2 Micrometer Error
                                Alex _ Guru

                                Hi :) Probably I have tried to change this parameter for test the behavior! I confirm that now it’s working. Thanks Alessio

                                • 13. Re: SDK PIM 10 HF2 Micrometer Error
                                  Tanmoy Chakraborty New Member

                                  @Slava Pedak Is your problem resolved? I am also getting the same error with 10.0.0.03.

                                  • 14. Re: SDK PIM 10 HF2 Micrometer Error
                                    Slava Pedak Guru

                                    Hi Tanmoy,

                                     

                                    No, we did not find a way to resolve this. We took another version and it was work fine.

                                     

                                    Thanks,

                                    Slava Pedak