Reputation: 117
I have looked through some of the similar threads but could not find answer to my problem.
My liferay tomcat server was working fine, including the hot deploy, until i changed the server.xml to add some new resources. After restarting the server, adding new wars in the deploy folder does not create the exploded folders in the webapps folder. The server does not even recognize then as I don't even see anything on the server console. Here is the relevant part from my server.xml:
<Host appBase="webapps" autoDeploy="true" deployXML="false"
name="localhost" unpackWARs="true" xmlNamespaceAware="false"
xmlValidation="false">
Please let me know if any other info is needed. Appreciate your help!
Upvotes: 2
Views: 2326
Reputation: 48087
If Liferay/Tomcat can't read and write to the "deploy" folder, it won't deploy anything
Edit: Also, check if you moved your Tomcat/Liferay installation. Liferay's portal-setup-wizard.properties
(if you have this) has a setting for liferay.home
- this points to the directory where Liferay expects the deploy
folder. If you moved the installation to another location but keep this file unchanged, Liferay will still monitor the old location (including the old storage for document library and full-text index)
Upvotes: 3