Sun GlassFish Web Space Server 10.0 Administration Guide

Shutdown Events

Shutdown Events is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.

Input a list of comma-delimited class names that extend com.liferay.portal.struts.SimpleAction. These classes will run at the specified event.

Global shutdown event that runs once when the portal shuts down.


global.shutdown.events=com.liferay.portal.events.GlobalShutdownAction

Application shutdown event that runs once for every web site instance of the portal that shuts down.


application.shutdown.events=com.liferay.portal.events.AppShutdownAction

Programmatically kill the Java process on shutdown. This is a workaround for a bug in Tomcat and Linux where the process hangs on forever.

See http://support.liferay.com/browse/LEP-2048 for more information.


shutdown.programmatically.exit=false