`

A composition unit with name XXX already exists.

    博客分类:
  • was
 
阅读更多

Technote (troubleshooting)


Problem(Abstract)

Deploying a portlet war either using the Portal Manage Web Modules portlet or xmlaccess fails with a message 'A composition unit with name <appname> already exists'

Symptom

In the SystemOut.log, the following exceptions can be seen:

==================
[4/2/12 14:32:44:549 EDT] 00000037 WAS5Admin E
com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin installImpl EJPPH0019E:
Installation of Web module id from WAR file
/opt/IBM/WebSphere/wp_profile/PortalServer/deployed/myApp.war failed
(display name: PA_myApp, options: AppServerDeploymentData:
id = id
displayName = PA_myApp
warfileName =
/opt/IBM/WebSphere/wp_profile/PortalServer/deployed/myApp.war
contextRoot = /cpb/PA_myApp
fileLoader =
DirectoryFileLoader(/opt/IBM/WebSphere/wp_profile/PortalServer/deployed/temp/myApp.war.32)
).
com.ibm.wps.pe.mgr.exceptions.AppServerWarInstallException: EJPPH0056E:
The installation of portlet application
/opt/IBM/WebSphere/wp_profile/PortalServer/deployed/myApp.war did not
complete successfully. Please check the WAS log files for a possible
explanation.
at
com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.installImpl(WAS5Admin.java:8
79)
at
com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$300(WAS5Admin.java:80
)
.
.
.
Caused by: com.ibm.wps.pe.mgr.exceptions.AppServerWarInstallException:
EJPPH0000E: ADMA5016I: Installation of PA_myApp started.
A composition unit with name PA_myApp already exists. Select
a different application name.

==================


Cause

The key to this error is the message: "A composition unit with name PA_myApp already exists. Select
a different application name."

This implies that the application is already deployed, at least partially, in the WAS configuration. This technote assumes that the application is not supposed to be deployed, or has previously been uninstalled, and you are seeing this problem.


Resolving the problem

To resolve the problem, follow these steps:


1. Check the following locations to see if the app directories exist:
<profile root>/config/cells/cellname/applications/PA_myApp
<profile root>/config/cells/cellname/blas/PA_myApp
<profile root>/config/cells/cellname/cus/PA_myApp

Remove any of the directories you see, where "PA_myApp" is your application name.

2. If in a cluster, check the DMGR as well in the same locations.
3. Clear the contents of the profile/wstemp directory (and on the DMGR as well if in a cluster).
4. Restart the Portal Server (and DMGR if clustered) and reattempt the deployment.

 

来源:http://www-01.ibm.com/support/docview.wss?uid=swg21590141

分享到:
评论

相关推荐

    安装mysql出错”A Windows service with the name MySQL already exists.“如何解决

    在安装MySQL时,有时会遇到错误提示"A Windows service with the name MySQL already exists",这表明在Windows操作系统中,已经有一个名为MySQL的服务存在。这通常是因为之前的MySQL安装未完全卸载,或者服务残留...

    Eclipse 出现A configuration with this name already exists问题解决方法

    在使用Eclipse进行项目管理、调试和其他开发任务时,可能会遇到一些错误提示,其中“A configuration with this name already exists”是比较常见的问题之一。这个问题通常发生在配置远程调试或者是项目配置文件命名...

    Navicat 12 激动工具全套(亲测可用)

    这是一个navicat激动工具的全套装,本人亲测可用哦。大家放心下载,纯绿色无毒的哟。下载文件后参考我的博客进行激活:https://blog.csdn.net/zeng308041977/article/details/81662189

    JSP 开发之THE SERVLET NAME ALREADY EXISTS.解决方法

    The servlet name already exists.解决方法 当我们建立过同名的servlet文件,然后又将其删掉后再用同类名字建一个servlet时就会报错。 解决办法:web.xml里面存有servlet的映射关系,需要自己手动删除web.xml里面...

    mysql安装及问题汇总

    mysql安装及问题汇总mysql安装及问题汇总mysql安装及问题汇总

    SqlServer中查看当前Open的Cursor方法

    SELECT ec.session_id, ec.name, ec.properties, ec.creation_time, ec.is_open, ec.writes, ec.reads, t.text FROM sys.dm_exec_cursors(0) ec -- 0 表示当前会话 CROSS APPLY sys.dm_exec_sql_text(ec.sql_...

    LBP2900_R150_V330_W64_ZH_1.zip

    《佳能LBP 2900+打印机驱动详解》 在信息技术领域,硬件设备的正常运行离不开软件的支持,特别是打印机这种输出设备,其性能的充分发挥往往依赖于合适的驱动程序。佳能LBP 2900+打印机,作为一款经典的黑白激光...

    Judge-whether-a-file-exists.rar_vb exists

    标题"Judge-whether-a-file-exists.rar_vb exists"暗示了这是一个关于使用VB来检查文件是否存在的示例代码。下面我们将深入探讨如何使用VB实现这一功能,以及相关的知识点。 首先,VB提供了`My.Computer.FileSystem...

    LBP2900_R114_V310_Win_x64_ZH_7.exe

    LBP2900_R114_V310_Win_x64_ZH_7.exe

    ColorNetworkScanGear_v271_Win_ZH

    ColorNetworkScanGear_v271_Win_ZH 佳能网络扫描驱动程序

    佳能6300dn激光打印机驱动 v1.1 官方最新版

    佳能LBP6300dn激光打印机驱动是一款专为佳能LBP6300dn打印机的官方版驱动程序,适用于WindowsXP/03/08/12/Vista/Win7/Win8/Win10的32/64位操作系统。有需要者欢迎在下载!佳能6300dn打印机介绍佳能6300dn是2009年11...

    echarts-china-map点击显示省地图

    在上面的`onclick`回调函数中,你可以获取到被点击省份的名称`params.name`,然后通过修改配置项,实现省份高亮的效果。例如,可以创建一个新的系列,用于标记选中的省份: ```javascript var selectedProvince ...

    经典SQL查询总结关于Exists,not Exists.in ,not in效率的说明。

    ### 经典SQL查询总结关于Exists, not Exists, IN, not IN 效率的说明 在数据库查询操作中,存在着多种方法来实现相似的功能,但不同的实现方式在性能上可能会有显著差异。本文将深入探讨 SQL 中 `EXISTS`, `NOT ...

    MySQL_DBA面试题

    MySQL数据库管理员(DBA)面试题通常涵盖广泛的领域,包括但不限于数据库架构、存储引擎特性、内存管理、事务处理、数据类型、备份与恢复策略以及复制技术等。以下是对这些知识点的详细解释: 1. **MySQL 架构体系**...

    Topic Already Exists(处理方案).md

    Topic Already Exists(处理方案).md

    Store Already Exists(解决方案).md

    Store Already Exists(解决方案).md

    华为配置指南

    华为ensp配置指南,包含很多基础知识并且具有详细的配置案例

Global site tag (gtag.js) - Google Analytics