我正在尝试在具有指定上下文根的JBoss EAP 6.4服务器上部署Liferay 6.2 CE GA4 WAR文件。我们已经有一个应用程序,其上下文定义为“/”,这就是Liferay默认的内容。我试过跟着没有运气:
jboss-web.xml
portal-ext.properties
并包括portal.ctx=/liferay
添加 -
<context-param>
<param-name>root_path</param-name>
<param-value>/liferay</param-value>
</context-param>
到web.xml
最终,我希望http://localhost:8080/liferay
将我带到Liferay应用程序,而不是http://localhost:8080
。有没有人有任何其他建议或事情适合他们?我可以发布完整的文件内容,如果它能更好地解决我的问题。
更新:这是我的JBoss server.log
,它正在尝试注册上下文:
16:15:52,652 INFO [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015876: Starting deployment of "liferay.war" (runtime-name: "liferay.war")
16:16:04,500 INFO [org.jboss.web] (ServerService Thread Pool -- 324) JBAS018210: Register web context: /liferay
16:16:04,547 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015859: Deployed "liferay.war" (runtime-name : "liferay.war")
16:16:04,547 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014776: Newly corrected services:
service jboss.deployment.unit."liferay-fresh.war".component."com.liferay.alloy.taglib.alloy.AioTag".START (no longer required)
service jboss.deployment.unit."liferay-fresh.war".component."com.liferay.alloy.taglib.alloy.AutoCompleteTag".START (no longer required)
service jboss.deployment.unit."liferay-fresh.war".component."com.liferay.alloy.taglib.alloy.ButtonItemTag".START (no longer required)