Do you mean besides just copying it under webapps folder?
But doesn't liferay do some "magic" when deploying from the hot deploy folder (adding libs/configruation files, modifying web.xml)?
Won't it be better just include the required lib in the portlet? Otherwise, you'll have to test the portal and all other portlets to make sure they are not effected by the change.
This isn't always possible due to classloading issues.
I think it's usually safer to first deploy and test portlets on a staging server.
Well naturally. But I mean when your production server is running under heavy load, do you just do a hot deploy using liferay's deploy folder and pray that it works (it doesn't always).
I'm not too sure about your comments. I usually just upload war files to liferay's deploy folder. war files are deleted after the deploy.
War files are deleted from the hot deploy folder. No files are deleted from the app server's deploy folder. So there may be incorrect jar:s or other configuration files left there.
To summarize:
- does Liferay add jar:s / configuration files and edit web.xml when doing a hot deploy? If yes, how can this behaviour be replicated so a "cold deploy" can be made where the end result is the same.
- Is it possible to run a portlet as "non exploded" (either by manually installing the .war in the app servers deploy folder or by using Liferay's hot deploy)?
Please sign in to flag this as inappropriate.