Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.0.x
-
Committed
-
1
Description
Including jstl tags within init.jsp increases the plugin's time to deploy
Steps to reproduce
- Start a DXP bundle
- Once started deploy sample-portlet.war
- Wait until the war is done processing and deployed
- Deploy sample-portlet2.war
Expected Result: Both portlets would deploy in a similar amount of time
Actual Result: Sample-portlet takes significantly longer to deploy (10 min longer)
00:30:58,357 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][BaseAutoDeployListener:42] Copying portlets for C:\Instances\liferay-tomcat-bundle\liferay-dxp-digital-enterprise-7.0-ga1\tomcat-8.0.32\temp\20170125243058149MMQVLDOE\sample-portlet.war 00:30:58,751 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][BaseDeployer:863] Deploying sample-portlet.war 00:31:00,284 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][BaseAutoDeployListener:50] Portlets for C:\Instances\liferay-tomcat-bundle\liferay-dxp-digital-enterprise-7.0-ga1\tomcat-8.0.32\temp\20170125243058149MMQVLDOE\sample-portlet.war copied successfully 00:36:52,456 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252] Processing sample-portlet2.war 00:45:39,744 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][HotDeployImpl:226] Deploying sample-portlet from queue 00:45:39,745 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][PluginPackageUtil:1007] Reading plugin package for sample-portlet 00:45:39,757 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][PortletHotDeployListener:202] Registering portlets for sample-portlet 00:45:40,245 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][PortletHotDeployListener:331] 1 portlet for sample-portlet is available for use 00:45:40,404 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][BundleStartStopLogger:35] STARTED sample-portlet_7.0.10 [514] 00:45:50,701 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][BaseAutoDeployListener:42] Copying portlets for C:\Instances\liferay-tomcat-bundle\liferay-dxp-digital-enterprise-7.0-ga1\tomcat-8.0.32\temp\20170125244550491POXHCZBH\sample-portlet2.war 00:45:51,100 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][BaseDeployer:863] Deploying sample-portlet2.war 00:45:52,372 INFO [fileinstall-C:/Instances/liferay-tomcat-bundle/liferay-dxp-digital-enterprise-7.0-ga1/osgi/war][BaseAutoDeployListener:50] Portlets for C:\Instances\liferay-tomcat-bundle\liferay-dxp-digital-enterprise-7.0-ga1\tomcat-8.0.32\temp\20170125244550491POXHCZBH\sample-portlet2.war copied successfully
Sample-portlet.war has multiple view.jsp files which contain jstl tags. Sample-porltet2.war has mulitple view.jsp files which only reference init.jsp. The init.jsp in sample-portlet2.war contains the jstl tags.