Error when starting Jboss EAP 8.0

121 views
Skip to first unread message

santhosh k

unread,
Jan 20, 2025, 4:16:17 AM1/20/25
to WildFly
I am starting Jboss EAP 8.0 with Struts 7.0 and EJB 3.0 application. I am getting the following error. Can someone suggest whats going wrong here.

2025-01-17 09:17:43,059 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.module.service."deployment.abc.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.abc.war".main: Failed to start service

              at org.jb...@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1609)

              at org.jb...@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438)

              at org.jbos...@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

              at org.jbos...@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)

              at org.jbos...@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)

              at org.jbos...@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)

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

Caused by: java.lang.NullPointerException: Cannot invoke "String.replace(char, char)" because "loaderPath" is null

              at org.jboss.modules.xml.ModuleXmlParser$DefaultResourceRootFactory.createResourceLoader(ModuleXmlParser.java:1600)

              at org.jboss.modules.LocalModuleFinder.lambda$new$0(LocalModuleFinder.java:103)

              at org.jboss.modules.xml.ModuleXmlParser.parseResourceRoot(ModuleXmlParser.java:1118)

              at org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleXmlParser.java:931)

              at org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:696)

James Perkins

unread,
Jan 24, 2025, 1:26:00 PM1/24/25
to WildFly
Something definitely looks strange with that message. Did you add any modules?

Also, Jakarta Enterprise Beans 3.0 will no work with JBoss EAP 8.0. You'll need to minimally migrate the packages from javax.ejb to jakarta.ejb.

Reply all
Reply to author
Forward
0 new messages