Liferay 6.2.5 GA 6 on tomcat 8.5 - Unable to shutdown tomcat serverLiferay 6.2.5 GA 6 on tomcat 8.5 - Unable to shutdown tomcat serverhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1171947062024-03-29T08:52:55Z2024-03-29T08:52:55ZLiferay 6.2.5 GA 6 on tomcat 8.5 - Unable to shutdown tomcat serverDhruv Joshihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1171947052019-09-18T06:14:54Z2019-09-18T06:14:54ZHello AllI am deploying a vanilla version of liferay 6.2.5 GA 6 exploded war file (liferay-portal-6.2-ce-ga6-20160112152609836.war) on apache-tomcat 8.5.11. All the dependencies mentioned as per the document, <a href="https://portal.liferay.dev/docs/6-2/deploy/-/knowledge_base/d/installing-liferay-on-tomcat-7">https://portal.liferay.dev/docs/6-2/deploy/-/knowledge_base/d/installing-liferay-on-tomcat-7</a> have been added to the tomcat server installation and the related config file updates have also been done on tomcat. Tomcat is able to start (albeit with some severe errors) and the liferay portal is accessible on <a href="http://localhost">http://localhost</a>:8080/. However, when I try to shutdown tomcat using the shutdown.sh script in the bin folder of the tomcat installation, the following exception is thrown and then I need to kill the tomcat server process to shutdown tomcat (unclean shutdown). Can someone throw some light on what can be the possible solutions to this problem?<br />29-Jul-2019 03:24:35.980 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.<br />29-Jul-2019 03:24:35.981 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8088"]<br />29-Jul-2019 03:24:35.987 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [PrivateWebapps]<br />…<br />29-Jul-2019 03:24:37.304 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'Remoting Servlet'<br />29-Jul-2019 03:24:37.392 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext<br />29-Jul-2019 03:24:37.532 INFO [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [net.sf.ehcache.transaction.xa.processor.XARequestProcessor]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.<br /> java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [net.sf.ehcache.transaction.xa.processor.XARequestProcessor]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.<br /> at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1380)<br /> at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1368)<br /> at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)<br /> at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1182)<br /> at net.sf.ehcache.CacheManager.shutdown(CacheManager.java:1531)<br />…<br />29-Jul-2019 03:24:37.576 INFO [System Bundle Shutdown] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [java.util.AbstractCollection]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.<br /> java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [java.util.AbstractCollection]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.<br /> at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1380)<br /> at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1368)<br /> at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)<br /> at java.lang.ClassLoader.loadClass(ClassLoader.java:411)<br /> at com.liferay.portal.module.framework.ModuleFrameworkClassLoader.loadClass(ModuleFrameworkClassLoader.java:122)<br /><br />Regards<br />D