Websphere ear部署失败

Websphere ear deploment is failed

我正在尝试部署 ear 文件,但出现错误

"A composition unit with name ace-ear already exists. Select a different application name"

没有。还有什么问题?

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

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

find . -name '*ace-ear*'

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

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

Post 这样,重新启动部署管理器,同步节点并重新启动 JVM,然后尝试部署应用程序。

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

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.

我的问题出在远程环境上,ftp filezilla 客户端在 appserver 文件夹中搜索了所有出现的我的应用程序名称(服务器 --> 查找远程文件),然后删除了所有具有该名称的文件夹和文件应用程序,重启服务器,再次部署应用程序,成功