问题描述
我正在尝试使用Weblogic Console从.WAR文件中部署代码。目前,它已恢复到已经删除的部署。无论什么变化,我仍然恢复旧的代码。我可以做些什么来部署我的新代码。
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.
推荐答案
- 停止您的托管服务器它已部署)
- 停止旧部署
- 删除旧部署
- 激活更改
- 安装新的战争文件
- 激活更改
- 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
- tmp
- 缓存
- 日志
- 数据
- tmp
- cache
- logs
- data
如果以上不行,可能有一些缓存。如果是这样,请尝试以下操作:
If the above doesn't work, it is possible there is some caching going on. If that's the case try the following:
如上所述卸载您的部署。转到 / domains / mydomain / servers / myserver /
目录并删除:
Uninstall your deployment as above. Go to the /domains/mydomain/servers/myserver/
directory and delete:
然后重新启动服务器并部署新的.war文件。
Then restart your server and deploy your new .war file.
这篇关于Weblogic新部署恢复为旧代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!