Application Deployment Issue

Hi,

We have several Payara servers that we use for our local and cloud applications. Yesterday, we encountered a problem on one of our servers. When deploying our application’s War file, we get a recurring error and the deployment fails. The error message is: Exception Occurred :Error occurred during deployment: Exception while loading the app : EJB Container initialization error. Please see server.log for more details. Please help us .

OS : Ubuntu 20.04
Payara Version: 5.193
Java : openjdk version “11.0.21”

Full error logs:

[2023-12-07T16:11:36.143+0000] [Payara 5.194] [SEVERE] [javax.enterprise.system.core] [tid: _ThreadID=208 _ThreadName=admin-thread-pool::admin-listener(5)] [timeMillis: 1701965496143] [levelValue: 1000] [[

Exception while loading the app]]

[2023-12-07T16:11:36.147+0000] [Payara 5.194] [INFO] [org.eclipse.persistence.session./file:/opt/payara/glassfish/domains/production/applications/ms_reclamation/WEB-INF/classes/_msReclamationPU.connection] [tid: _ThreadID=241 _ThreadName=Executor-Service-18] [timeMillis: 1701965496147] [levelValue: 800] [[

/file:/opt/payara/glassfish/domains/production/applications/ms_reclamation/WEB-INF/classes/_msReclamationPU logout successful]]

[2023-12-07T16:11:36.148+0000] [Payara 5.194] [SEVERE] [javax.enterprise.system.core] [tid: _ThreadID=208 _ThreadName=admin-thread-pool::admin-listener(5)] [timeMillis: 1701965496148] [levelValue: 1000] [[

Exception while loading the app : EJB Container initialization error

java.lang.NullPointerException

at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:690)

at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:141)

at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:136)

at com.sun.ejb.containers.StatelessContainerFactory.createContainer(StatelessContainerFactory.java:61)

at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:225)

at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:287)

at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:105)

at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:207)

at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:315)

at com.sun.enterprise.v3.server.ApplicationLifecycle.prepare(ApplicationLifecycle.java:531)

at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:538)

at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:558)

at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:554)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at java.base/javax.security.auth.Subject.doAs(Subject.java:361)

at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:553)

at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:584)

at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:576)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at java.base/javax.security.auth.Subject.doAs(Subject.java:361)

at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:575)

at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1496)

at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:120)

at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1878)

at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1754)

at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:272)

at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:240)

at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:294)

at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:136)

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:566)

at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)

at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)

at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)

at org.glassfish.jersey.internal.Errors.process(Errors.java:292)

at org.glassfish.jersey.internal.Errors.process(Errors.java:274)

at org.glassfish.jersey.internal.Errors.process(Errors.java:244)

at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)

at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)

at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)

at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)

at org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:335)

at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:189)

at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:520)

at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:217)

at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:182)

at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:156)

at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:218)

at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:95)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:260)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:177)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:109)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:88)

at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:53)

at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:208)

at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:95)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:260)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:177)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:109)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:88)

at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:53)

at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:208)

at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:95)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:260)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:177)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:109)

at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:88)

at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:53)

at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:524)

at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:89)

at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:94)

at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:33)

at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:114)

at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)

at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)

at java.base/java.lang.Thread.run(Thread.java:829)

]]

[2023-12-07T16:11:36.153+0000] [Payara 5.194] [INFO] [org.glassfish.admingui] [tid: _ThreadID=68 _ThreadName=admin-thread-pool::admin-listener(2)] [timeMillis: 1701965496153] [levelValue: 800] [[

Exception Occurred :Error occurred during deployment: Exception while loading the app : EJB Container initialization error. Please see server.log for more details.]]

Regards