问题描述
在将 Liferay CE 门户 7.3 部署到 Jboss EAP 7.3 时出现以下错误。试图让示例欢迎页面正常工作。按照 https://learn.liferay.com/dxp/latest/en/installation-and-upgrades/installing-liferay/installing-liferay-on-an-application-server/installing-on-jboss-eap.html 的说明操作,但我遗漏了一些东西。
我在独立 JBoss EAP 服务器上的 VM 中的 Windows 操作系统和 Cent 操作系统上进行了尝试。两者的问题相同。
Failed to start service jboss.deployment.unit."ROOT.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".undertow-deployment: java.lang.StackOverflowError
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossthread.run(JBossthread.java:485)
Caused by: java.lang.StackOverflowError
at org.jboss.vfs.VirtualFile.getParentFiles(VirtualFile.java:421)
at org.jboss.vfs.VirtualFile.getParentFiles(VirtualFile.java:421)
at org.jboss.vfs.VirtualFile.getParentFiles(VirtualFile.java:421)
at org.jboss.vfs.VirtualFile.getParentFiles(VirtualFile.java:421)
at org.jboss.vfs.VirtualFile.getParentFiles(VirtualFile.java:421)
at org.jboss.vfs.VirtualFile.getParentFiles(VirtualFile.java:421)
at org.jboss.vfs.VirtualFile.getParentFiles(VirtualFile.java:403)
at org.jboss.vfs.VirtualFile.getPathName(VirtualFile.java:138)
at org.jboss.vfs.VirtualFile.getPathName(VirtualFile.java:99)
at org.jboss.vfs.spi.RootFileSystem.getFile(RootFileSystem.java:65)
at org.jboss.vfs.spi.RootFileSystem.exists(RootFileSystem.java:93)
at org.jboss.vfs.VirtualFile.exists(VirtualFile.java:223)
at org.jboss.as.server.deployment.module.VFSResourceLoader$3.run(VFSResourceLoader.java:209)
at org.jboss.as.server.deployment.module.VFSResourceLoader$3.run(VFSResourceLoader.java:205)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.as.server.deployment.module.VFSResourceLoader.getResource(VFSResourceLoader.java:205)
at org.jboss.modules.ModuleClassLoader.loadResourceLocal(ModuleClassLoader.java:410)
at org.jboss.modules.ModuleClassLoader$1.loadResourceLocal(ModuleClassLoader.java:144)
at org.jboss.modules.Module.getResource(Module.java:764)
at org.jboss.modules.ModuleClassLoader.findResource(ModuleClassLoader.java:616)
at org.jboss.modules.ConcurrentClassLoader.getResource(ConcurrentClassLoader.java:255)
at org.apache.commons.configuration.ConfigurationUtils.locateFromClasspath(ConfigurationUtils.java:546)
at org.apache.commons.configuration.ConfigurationUtils.locate(ConfigurationUtils.java:528)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:189)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addIncludedPropertiesSources(ClassLoaderAggregateProperties.java:257)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addFileProperties(ClassLoaderAggregateProperties.java:206)
at com.liferay.portal.configuration.ClassLoaderAggregateProperties._addPropertiesSource(ClassLoaderAggregateProperties.java:276)
at
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)