Websphere ear部署失败

问题描述 投票:-1回答:2

我正在尝试部署ear文件,并且有错误说

“名称为ace-ear的组合单元已存在。请选择其他应用程序名称”

哪个不存在。还有什么可以成为问题?

deployment websphere ear
2个回答
1
投票

虽然不推荐,但您可以从服务器配置文件中手动删除耳朵的引用。

要检查配置文件中是否存在耳朵,请从Dmgr / config文件夹运行以下命令。手动删除ear文件(如果存在)。

find . -name '*ace-ear*'

要检查配置xmls中是否存在ear引用,请从Dmgr / config文件夹运行以下命令,然后手动从xml文件中删除这些条目(如果存在)。

find . -name '*.xml' | xargs grep -i ace-ear

发布此信息,重新启动Deployment Manager,同步节点并重新启动JVM并尝试部署应用程序。

注意:请务必手动更新服务器配置文件,因为任何错误都可能破坏服务器配置。建议在对服务器配置文件应用任何更改之前进行配置文件备份。


0
投票
1.Check the following locations to see if the application directories exist. If they do exist delete the application folder 'your_app'
<profile root>/config/cells/cellname/applications/your_app
<profile root>/config/cells/cellname/blas/your_app
<profile root>/config/cells/cellname/cus/your_app

2.Clear the contents of the profile/wstemp directory 
3.Clear the contents of the profile/temp director
4.Restart the Application Server.
© www.soinside.com 2019 - 2024. All rights reserved.