Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7.1.1-GA2 - WAR deploy takes 10 minutes
Hello dear Liferay community,
by migrating a big application (~60MB .war) from Liferay 6.2 to 7.1 my team noticed a very long deploy/later server startup time of 8-12 minutes on Liferay 7.
After deploy, everything works. Log output shows no error. Other migrated applications of similar size just take 1-2 minutes.
I tried so set logging to be more verbose:
I found a similar problem here. But from log entries you see a silent 8 minutes pause after bundle start and before spring initialization.
What happens at bundle start? Does Liferay/OSGi scan bundle contents and is very slow by specific occasions?
by migrating a big application (~60MB .war) from Liferay 6.2 to 7.1 my team noticed a very long deploy/later server startup time of 8-12 minutes on Liferay 7.
After deploy, everything works. Log output shows no error. Other migrated applications of similar size just take 1-2 minutes.
I tried so set logging to be more verbose:
- Application: 'TRACE' for all loggers.
- Liferay Loglevel: 'TRACE' to all loggers of search tokens 'osgi', 'deploy', 'spring' and 'wab'.
I found a similar problem here. But from log entries you see a silent 8 minutes pause after bundle start and before spring initialization.
What happens at bundle start? Does Liferay/OSGi scan bundle contents and is very slow by specific occasions?
Attachments:
Hi Christoph,
I had a similar issue the other day with a 7.1 GA3 where deployment of my modules (the new format) was taking forever as well. It seemed to be linked to the system startup check for circular references. I dug through the portal source a bit and in the end added this setting to my portal-ext.properties file
... which I beleive will skip the check. You can always run it manually in the gogo shell if you suspect and issue. My startup times seem to be muchfaster now.
Not sure if you are maybe suffering the same fate but worth a shot.
I had a similar issue the other day with a 7.1 GA3 where deployment of my modules (the new format) was taking forever as well. It seemed to be linked to the system startup check for circular references. I dug through the portal source a bit and in the end added this setting to my portal-ext.properties file
module.framework.properties.initial.system.check.enabled=false
... which I beleive will skip the check. You can always run it manually in the gogo shell if you suspect and issue. My startup times seem to be muchfaster now.
Not sure if you are maybe suffering the same fate but worth a shot.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™