문제

I am using Liferay 6.0.6 on tomcat. When redeploying my war, usual practice is to undeploy the old version of the war(by deleting), once it is complete, stop the service and delete the following folders ${CATALINA_HOME}/temp ${CATALINA_HOME}/work ${CATALINA_HOME}/conf/Catalina

While this works fine most of the times, once in a while this corrupts the installation. Other apps present in the webapp folder did not get deployed on startup. I end up redeploying all of them to make tomcat work again.

Anyone knows the reason or how to avoid it?

도움이 되었습니까?

해결책

Sumukh, Don't delete the Temp directory. Some files may be contained in it that Tomcat is using. Or try just removing the files within the temp directory, not the directory itself.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top