/**
+ * The server component we are starting or stopping.
+ */
+ protected Server server = null;
+
+
+ /**
* Are we starting a new server?
*/
protected boolean starting = false;
/**
- * The Server object for this Tomcat instance
- */
- protected Server server = null;
-
-
- /**
* Is naming enabled ?
*/
protected boolean useNaming = true;
public void run() {
if (getServer() != null) {
- try {
- Catalina.this.stop();
- } catch (Exception e) {
- log.error(sm.getString("catalina.shutdownHookFail"), e);
- }
+ Catalina.this.stop();
}
// If JULI is used, shut JULI down *after* the server shuts down
# See the License for the specific language governing permissions and
# limitations under the License.
-catalina.shutdownHookFail=The shutdown hook experienced an error while trying to stop the server
catalina.stopServer=No shutdown port configured. Shut down server through OS signal. Server not shut down.
contextConfig.altDDNotFound=alt-dd file {0} not found
contextConfig.applicationUrl=Unable to determine URL for application web.xml