---
title: "weblogic  更新程序时 update的问题"
author: "bleet"
date: "2012-06-29T14:56:31Z"
tags: []
categories: ["企业架构"]
slug: "weblogic-update"
draft: false
lastmod: "2012-06-29T14:56:31Z"
id: 1571020
url: "https://bleet.iteye.com/blog/1571020"
---

weblogic生产环境更新程序的建议，如果web应用手动启动了任何Thread的话，不建议使用console里的update更新程序，也不建议在deployment下面对应用进行启停，因为这两个操作都不能销毁启动的线程。

对使用线程的web应用，建议通过在contextDestroyed()中管控应用启动的所有线程，或者通过启停server来达到更新程序的目的。