On 06/06/18 20:30, Jan Tosovsky wrote:
> Dear All,
> 
> I use tomcat as a Liferay portal engine. It is usually stopped in two steps.
> There is Shutdown button available in Liferay Control panel, which stops the
> webapp. Once this is finished, it is safe to stop tomcat via the standard
> shutdown script.
> 
> If tomcat is stopped differently:
> * tomcat is shutdown without shutting down the Liferay
> * java crashes (out of memory)
> * tomcat is killed
> * OS is rebooted (driven by server hosting)
> 
> it sometimes (not always) deletes some web content, usually JSP pages, to my
> experience especially of the ROOT app (in case of Liferay the default Tomcat
> ROOT app is replaced with the core Liferay app).
> 
> After the last incident even the core config file ROOT/WEB-INF/web.xml was
> missing. And without it tomcat was not able to launch the portal properly.
> 
> When you know what has happened it is 'easy' to fix.
> 
> But I am quite curious why anything is even deleted in such 'crash'
> scenarios. 
> 
> I met this in various tomcat versions, let say 7.0.xx- 8.0.xx running on
> Oracle JDK 7-8 on both Windows 7-10 and CentOS 6-7.
> 
> Any idea why this happen?

There is no way I can think of that Tomcat would do this. I'd suggest
two things:
1. Talk to Liferay support
2. Change the file permissions

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to