Liferay webapps start in the wrong order
Suddenly, when restarting Liferay, the ROOT webapp was not anymore the first one that got started (it was the 4th or 5th). Because of this, all the portlets that make use of Liferay’s main services did not start correctly also. These portlets were started before ROOT.
Now, I know that you cannot really set the order in which Tomcat starts its webapps but, also, I know that in Liferay, ROOT must start the first otherwise everything would be a mess.
So if anybody had this problem, were is the fix:
You have to delete all the new xml files from the TOMCAT_ROOT/conf/Catalina/localhost folder. This means all of them beside the ROOT.xml (this one being the one that comes with the main Liferay distribution). Also maybe it would be a good idea to make a backup of these files although I never had to use them because new ones are generated automatically.
This also fixed the Deployment will start in a few seconds… problem that seems to be common in Liferay.
Cheers !


Tags: 



2 Responses
Alexey Kakunin
September 13, 2010 1
Liferay webapps starts in wrong order…
I already met this problem in several projects: by……
Liferay webapps starts in wrong order « Saralgal
September 15, 2010 2
[...] funny to see – solution so simple! Great thanks to ROPARDO team. Only need remove all xmls from conf/Catalina/localhost except ROOT.xml! So simple! By Alexey [...]
Leave a Reply