http://www-01.ibm.com/support/docview.wss?uid=swg21590141
Problem
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.
相关推荐
Building Portals with the Java Portlet API JEFF LINWOOD, DAVE MINTER
IBM.Press.Rapid.Portlet.Developme.with.WebSphere.Portlet.Factory.Sep.2008.pdf E文
1. portlet的类结构 2. portlet的过滤器,拦截器
Portlet标准汉化手册
portlet-api.jar portlet-api.jar portlet-api.jar
基本JQUERY UI的一个portlet实现,采用MVC设计方式,实现拖动,布局,智能添加等功能,其部分源码用了兔子的jquery ui portlet.
Spring 3.0 mvc portlet demo 很好的portlet学习示例。集合了portlet Spring3.0 注释配置bean等
portlet-api-1.0.jar,portlet的API,portlet.jar文件
文件上载Portlet源代码,实现portlet文件上传功能
一个关于portlet开发的使用手册,非常实用。。。。
websphere portlet
Running a sample application with Farm deployment 322 Summary 323 Chapter 13: Logging 325 Configuring Apache Geronimo logging 326 Configuring application logging 327 Using log4j 327 Logging to ...
jsr168 portlet的开发 和 ibm portlet的开发
Portlet规范介绍.rarPortlet规范介绍.rarPortlet规范介绍.rar
简单的portlet实例,基于pluto
包含IBM portlet api 帮助和PDF 中文教材
Portlet是企业系统中比较重要的一块内容,可以展示企业的各种信息(公告、提醒等),在业务系统例如有工作流的系统中更为重要。 发起这个开源项目的原因是因为现有的Portlet插件都太难用,而且和我们现有的系统...
不会让你失望的实例,我研究了1周才弄明白,里面内置pluto2.0.3 + portlet项目 使用于pluto 和 portlet的初学者 。 往eclipse里面配置的时候一定要按照里面图片那样配置一下。
liferay portlet例子 liferay portlet例子