Liferay webapps start in the wrong order

Share

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 !

Finally, there’s another very important peculiarity of what does Cialis that brings it so high above its alternatives. It is the only med that is available in two versions – one intended for use on as-needed basis and one intended for daily use. As you might know, Viagra and Levitra only come in the latter of these two forms and should be consumed shortly before expected sexual activity to ensure best effect. Daily Cialis, in its turn, contains low doses of Tadalafil, which allows to build its concentration up in your system gradually over time and maintain it on acceptable levels, which, consequently, makes it possible for you to enjoy sex at any moment without having to time it.

2 thoughts on “Liferay webapps start in the wrong order”
  • Liferay webapps starts in wrong order…

    I already met this problem in several projects: by……

    September 13, 2010 at 5:27 pm
  • […] 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 […]

    September 15, 2010 at 6:08 pm

Comments are closed.

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close