Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0.X EE
-
Fix Version/s: 6.0.X EE
-
Component/s: Deployment, Deployment > Autodeploy
-
Epic/Theme:
-
Story Points:2
-
Fix Priority:5
-
Similar Issues:
Description
Let's say that we have two portlets: a-portlet and b-portlet, where A depends on B.
Deploying A fails, as is being fully deployed when B is not yet deployed. This is wrong behavior - plugin A should be queued until B is deployed.
Example:
Deploy "a-portlet" and wait until you see
INFO [HotDeployUtil:156] Queueing a-portlet for deploy because it is missing b-portlet ... # FooLocalServiceImpl(): null
in the console. So, although the "a-portlet" is still queued, the constructor of the FooLocalServiceImpl (from A) is called. Deploying b-portlet later does not change anything.
-
Hide
- a-portlet-6.0.12.1.war
- 15/Mar/13 2:38 AM
- 48 kB
- Igor Spasic
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/META-INF/base-spring.xml 2 kB
- WEB-INF/classes/.../cluster-spring.xml 1 kB
- WEB-INF/.../dynamic-data-source-spring.xml 0.6 kB
- WEB-INF/classes/.../hibernate-spring.xml 1.0 kB
- WEB-INF/.../infrastructure-spring.xml 0.5 kB
- WEB-INF/classes/META-INF/portlet-hbm.xml 0.3 kB
- WEB-INF/classes/.../portlet-model-hints.xml 0.0 kB
- WEB-INF/classes/META-INF/portlet-orm.xml 0.5 kB
- WEB-INF/classes/.../portlet-spring.xml 0.6 kB
- WEB-INF/.../shard-data-source-spring.xml 1 kB
- WEB-INF/classes/com/test/APortlet.class 1 kB
- WEB-INF/classes/.../test/APropsValues.class 0.5 kB
- WEB-INF/.../FooLocalServiceBaseImpl.class 5 kB
- WEB-INF/.../FooLocalServiceImpl.class 0.8 kB
- WEB-INF/classes/portlet-ext.properties 0.0 kB
- WEB-INF/classes/portlet.properties 0.0 kB
- WEB-INF/classes/service.properties 1 kB
- WEB-INF/lib/a-portlet-service.jar 7 kB
- WEB-INF/liferay-display.xml 0.2 kB
- WEB-INF/liferay-plugin-package.properties 0.2 kB
- WEB-INF/liferay-portlet.xml 0.9 kB
- WEB-INF/portlet.xml 1 kB
- WEB-INF/service.xml 0.4 kB
- WEB-INF/service/.../ClpSerializer.java 4 kB
- WEB-INF/service/.../FooLocalService.java 2 kB
- WEB-INF/service/.../FooLocalServiceClp.java 2 kB
- WEB-INF/service/.../FooLocalServiceUtil.java 3 kB
- WEB-INF/.../FooLocalServiceWrapper.java 2 kB
- WEB-INF/service/.../ClpMessageListener.java 1 kB
-
Hide
- b-portlet-6.0.12.1.war
- 15/Mar/13 2:38 AM
- 15 kB
- Igor Spasic
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/liferay-display.xml 0.2 kB
- WEB-INF/liferay-plugin-package.properties 0.2 kB
- WEB-INF/liferay-portlet.xml 0.9 kB
- WEB-INF/portlet.xml 1 kB
- WEB-INF/tld/aui.tld 15 kB
- WEB-INF/tld/liferay-aui.tld 17 kB
- WEB-INF/tld/liferay-faces.tld 0.7 kB
- WEB-INF/tld/liferay-portlet-ext.tld 13 kB
- WEB-INF/tld/liferay-portlet.tld 4 kB
- WEB-INF/tld/liferay-security.tld 3 kB
- WEB-INF/tld/liferay-theme.tld 2 kB
- WEB-INF/tld/liferay-ui.tld 73 kB
- WEB-INF/tld/liferay-util.tld 3 kB
- WEB-INF/web.xml 0.5 kB
- css/main.css 0.0 kB
- icon.png 0.5 kB
- js/main.js 0.0 kB
- view.jsp 0.6 kB
Activity
Hide
Sharry Shi
added a comment -
PASSED Manual Testing following the steps in the description.
Fixed on:
Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: fb89d28ff5530e80a91faa07eed885da11447314.
The deployment of dependent plugins succeed.
Show
Sharry Shi
added a comment - PASSED Manual Testing following the steps in the description.
Fixed on:
Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: fb89d28ff5530e80a91faa07eed885da11447314.
The deployment of dependent plugins succeed.

This fix works with the following scenarios:
start
deploy A
deploy B
--> OKOKOK
start
deploy B
deploy A
--> OKOK
start
deploy A
restart
deploy B
--> OKOKOK
start
deploy B
restart
deploy A
--> OKOK
start with A and B deployed
--> OKOKOKOK