如何使用Liferay Tomcat减少部署时间 [英] How to reduce deployment time with Liferay Tomcat

查看:105
本文介绍了如何使用Liferay Tomcat减少部署时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Liferay 6与Struts2结合使用. 我正在使用Liferay Bundled Tomcat 7. 它的工作正常. 我的问题是,每当资源(portlet.xml或java文件)发生更改时,以及当我单击build.xml时,部署都会花费大量时间. 请告诉我如何减少部署时间

I am using Liferay 6 with the combination of Struts2. I am using Liferay Bundled Tomcat 7. Its working fine . My question , whenever a change in the resource (portlet.xml or a java file ) and when i click the build.xml , the deployment takes a lot of time . Please tell me how to decrease deployment time

INFO: Server startup in 60602 ms
14:04:00,328 INFO [AutoDeployDir:167] Processing HelloStruts2-portlet-6.0.6.1.war
14:04:00,375 INFO [PortletAutoDeployListener:71] Copying portlets for E:\liferaytomcat\liferay-portal-6.1.0-ce-b4\deploy\HelloStruts2-portlet-6.0.6.1.war
14:04:00,484 INFO [PortletAutoDeployListener:81] Portlets for E:\liferaytomcat\liferay-portal-6.1.0-ce-b4\deploy\HelloStruts2-portlet-6.0.6.1.war copied successfully. Deployment will start in a few seconds.

此行之后服务器要花费很多时间

The server takes a lot of time after this line

推荐答案

在最新版本中,JRebel包含了一些Liferay特定的集成,因此它现在可以更流畅地运行 http://www.liferay.com/community/projects/jrebel/overview

In the latest versions JRebel included some Liferay-specific integrations so it works now even smoother http://www.liferay.com/community/projects/jrebel/overview

这篇关于如何使用Liferay Tomcat减少部署时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆