Failed to initialize component [StandardServer[-1]]\n\tat org.apache.catalina.util.LifecycleBase

Hello , im installing Mosip V3 and almost in each internal mosip module i have this error :slight_smile:

manager"}
{“@timestamp”:“2025-12-22T16:40:14.880Z”,“@version”:“1”,“message”:“Application run failed”,“logger_name”:“org.springframework.boot.SpringApplication”,“thread_name”:“main”,“level”:“ERROR”,“level_value”:40000,“stack_trace”:“org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:155)\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:327)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\n\tat io.mosip.commons.packetmanager.PacketServiceApp.main(PacketServiceApp.java:21)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:87)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)\n\tat org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:593)\nCaused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat\n\tat org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126)\n\tat org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:86)\n\tat org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:409)\n\tat org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:174)\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:179)\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152)\n\t… 16 common frames omitted\nCaused by: org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[-1]]\n\tat org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)\n\tat org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)\n\tat org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)\n\tat org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107)\n\t… 21 common frames omitted\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.catalina.mbeans.MBeanFactory\n\tat org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:811)\n\tat org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)\n\t… 24 common frames omitted\n”,“appName”:“application,packet-manager”}

This error is generally resolved with :

set env deploy/$d
SERVER_TOMCAT_MBEANREGISTRY_ENABLED=false

But we need to know if this probleme has any impact? any idea ?

Please help and thanks in advance !

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

Hello @aouahli99

Please accept our apologies for the delayed response and thank you for reaching out—please allow us some time to respond with a solution.

Regards

Likhitha

on behalf of MOSIP Team