在JBoss EAP上更改Liferay war文件上下文根

时间:2015-09-09 18:27:10

标签: jboss liferay war

我正在尝试在具有指定上下文根的JBoss EAP 6.4服务器上部署Liferay 6.2 CE GA4 WAR文件。我们已经有一个应用程序,其上下文定义为“/”,这就是Liferay默认的内容。我试过跟着没有运气:

  • 将/ liferay指定为jboss-web.xml
  • 中的上下文根
  • 在WEB-INF / classes中创建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)

0 个答案:

没有答案