代码之家  ›  专栏  ›  技术社区  ›  SaMeEr

Websphere ear deploment失败

  •  -1
  • SaMeEr  · 技术社区  · 7 年前

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

    “已存在名为ace ear的合成单元。请选择 不同的应用程序名称“

    这是不存在的。还有什么问题?

    3 回复  |  直到 7 年前
        1
  •  3
  •   Madhu    6 年前
    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.
    
        2
  •  2
  •   M I P    7 年前

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

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

    find . -name '*ace-ear*'
    

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

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

    发布此消息后,重新启动部署管理器,同步节点并重新启动JVM,然后尝试部署应用程序。

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

        3
  •  0
  •   Falco    4 年前

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