How to redeploy EAR file to Web-Logic without restart server?

核能气质少年 提交于 2019-12-07 13:13:14

问题


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

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...


回答1:


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.

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 redeploy documentation

An older but still valid list of steps to hot deploy

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.



来源:https://stackoverflow.com/questions/26525685/how-to-redeploy-ear-file-to-web-logic-without-restart-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!