Weblogic new deployment reverting to old code

北城以北 提交于 2019-12-13 01:53:22

问题


I am currently trying to deploy code from .WAR file using a Weblogic Console. Currently it reverts to the Deployment that I had already deleted. No matter what changes I make it still reverts to the old code. What can I do to deploy my new code.


回答1:


  • Stop your managed server (if that's where it's deployed)
  • Stop the old deployment
  • Delete the old deployment
  • Activate changes
  • Install the new war file
  • Activate changes

If the above doesn't work, it is possible there is some caching going on. If that's the case try the following:

Uninstall your deployment as above. Go to the /domains/mydomain/servers/myserver/ directory and delete:

  • tmp
  • cache
  • logs
  • data

Then restart your server and deploy your new .war file.



来源:https://stackoverflow.com/questions/22049332/weblogic-new-deployment-reverting-to-old-code

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