如何重新部署EAR文件到Web-Logic而不重启服务器? [英] How to redeploy EAR file to Web-Logic without restart server?

查看:442
本文介绍了如何重新部署EAR文件到Web-Logic而不重启服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Web-Logic(10.3.6)上部署了EAR文件(包括一个WAR文件和EJB jar文件)。

I have EAR file (which includes a WAR file and EJB jar file) was deployed on Web-Logic(10.3.6) successful.

现在,我已经更新了EAR文件,并重新部署,请按照以下步骤操作:删除服务器上的旧文件,并安装新的EAR文件,无需重新启动服务器。每个文件已部署在活动状态。但是我有一些异常相关的EJB注入。然后我重新启动网络逻辑,我的应用程序运行正常。

Now, I have updated EAR file and I redeploy again follow steps: delete old files on the server and install new EAR file without restart server. Every file have been deployed in Active state. But I got some exception related EJB injection. Then I restart Web-logic, my app is running fine.

重新部署方式有什么问题?

What's wrong with the redeploy way?

提前感谢任何帮助...

Thanks in advance for any Help...

推荐答案

Weblogic有关于此主题的大量文档。有时它被称为热部署或就地部署。在weblogic管理控制台中,有一个选项是更新一个ear文件,而不是使用delete-> redeploy方法。

Weblogic has an lots of documentation about this topic. Sometimes it's referred to as a "hot deploy" or an "in-place" deploy. In the weblogic admin console there is an option to update an ear file rather than what you are doing with the delete->redeploy method.

只需确保更新更新中的 Weblogic-Application-Version 属性。 MF ,以便weblogic知道这是一个新版本。以下是一些有用的链接:

Just make sure to update your Weblogic-Application-Version property in the MANIFEST.MF of your ear so that weblogic knows it's a new version. Here are some useful links:

Oracle重新部署文档

一个较旧但仍然有效的热部署步骤列表

说 - 您所看到的问题可能会有所不同,如果Oracle文档没有帮助,您的问题将需要更新。

That said - the problem you are seeing may be something different and your question will need to be updated with more details if the Oracle docs don't help.

这篇关于如何重新部署EAR文件到Web-Logic而不重启服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆