当前位置:软件学习 > 其它软件 >>

websphere portal6安装新的portlet出错?

 我新建了一个portlet,在开发环境中可以安装部署成功.在生产环境下安装web模块出现下面的错误信息.(生产环境做了集群与负载均衡,开发环境只是一台单独的服务器) 
 
EJPAQ1319E: 无法安装所选的 WAR 文件。
com.ibm.portal.WpsException: EJPAQ1319E: Cannot install the selected WAR file.
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.installPortletFromFormFile(DoInstallWebModuleAction.java:633)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.doExecute(DoInstallWebModuleAction.java:159)
at com.ibm.wps.portlets.adminstruts.actions.BaseAction.execute(BaseAction.java:64)
at com.ibm.wps.portlets.struts.WpsRequestProcessor.processActionPerform(WpsRequestProcessor.java:338)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.processActionPerformed(WpsStrutsPortlet.java:1947)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.actionPerformed(WpsStrutsPortlet.java:1637)
at com.ibm.wps.portlets.adminstruts.WpsAdminStrutsPortlet.actionPerformed(WpsAdminStrutsPortlet.java:213)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:323)



  
 EJPPD0015E: 用户 cn=wpsadmin,cn=users,dc=cccb,dc=com 执行命令 InstallPortletApplication 时 portlet 应用程序管理器失败。
com.ibm.wps.command.CommandFailedException: EJPPD0015E: Portlet application manager failed when user cn=wpsadmin,cn=users,dc=cccb,dc=com executed command InstallPortletApplication.
at com.ibm.wps.command.applications.AbstractApplicationsCommand.throwAppMgrException(AbstractApplicationsCommand.java:584)
at com.ibm.wps.command.applications.InstallPortletApplicationCommand.execute(InstallPortletApplicationCommand.java:129)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.installPortletFromFormFile(DoInstallWebModuleAction.java:510)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.doExecute(DoInstallWebModuleAction.java:159)
at com.ibm.wps.portlets.adminstruts.actions.BaseAction.execute(BaseAction.java:64)
at com.ibm.wps.portlets.struts.WpsRequestProcessor.processActionPerform(WpsRequestProcessor.java:338)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.processActionPerformed(WpsStrutsPortlet.java:1947)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.actionPerformed(WpsStrutsPortlet.java:1637)



  
 EJPPE0013E: 从 WAR 文件 /opt/IBM/WebSphere/PortalServer/deployed/leadermail.war 安装 Web 模块失败。
com.ibm.wps.pe.mgr.exceptions.AppServerWarInstallException: EJPPE0013E: Installation of Web Module from WAR file /opt/IBM/WebSphere/PortalServer/deployed/leadermail.war failed.
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.installWebModule(AbstractApplicationManagerImpl.java:617)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.installWebModule(AbstractApplicationManagerImpl.java:388)
at com.ibm.wps.command.applications.InstallPortletApplicationCommand.execute(InstallPortletApplicationCommand.java:111)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.installPortletFromFormFile(DoInstallWebModuleAction.java:510)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.doExecute(DoInstallWebModuleAction.java:159)
at com.ibm.wps.portlets.adminstruts.actions.BaseAction.execute(BaseAction.java:64)
at com.ibm.wps.portlets.struts.WpsRequestProcessor.processActionPerform(WpsRequestProcessor.java:338)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.processActionPerformed(WpsStrutsPortlet.java:1947)



  
 EJPPE0001E: 实例化 AppServerAdminManager 失败。
com.ibm.wps.pe.mgr.exceptions.InstanceException: EJPPE0001E: Instantiation of AppServerAdminManager failed.
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.getAppServerAdminManager(AbstractApplicationManagerImpl.java:190)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.installWebModule(AbstractApplicationManagerImpl.java:660)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.installWebModule(AbstractApplicationManagerImpl.java:603)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.installWebModule(AbstractApplicationManagerImpl.java:388)
at com.ibm.wps.command.applications.InstallPortletApplicationCommand.execute(InstallPortletApplicationCommand.java:111)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.installPortletFromFormFile(DoInstallWebModuleAction.java:510)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.doExecute(DoInstallWebModuleAction.java:159)
at com.ibm.wps.portlets.adminstruts.actions.BaseAction.execute(BaseAction.java:64)
at com.ibm.wps.portlets.struts.WpsRequestProcessor.processActionPerform(WpsRequestProcessor.java:338)



  
 EJPPH0007E: 为 Portal 上下文 /wps 实例化管理模块失败。
com.ibm.wps.pe.mgr.exceptions.InstanceException: EJPPH0007E: Instantiation of the administration module for Portal context /wps failed.
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.(WAS5Admin.java:210)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstanceImpl(WAS5Admin.java:259)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$000(WAS5Admin.java:76)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin$1.run(WAS5Admin.java:226)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2782)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2659)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstance(WAS5Admin.java:224)
at com.ibm.wps.pe.mgr.appserveradmin.AppServerAdminManagerFactory.getManager(AppServerAdminManagerFactory.java:55)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.getAppServerAdminManager(AbstractApplicationManagerImpl.java:188)



  
 EJPPH0010E: 无法从 Application Server 检索运行时变量且无法对它们进行初始化。
com.ibm.wps.pe.mgr.exceptions.InitException: EJPPH0010E: Failed to retrieve and initialize runtime variables from Application Server.
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.initVars(WAS5Admin.java:401)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.(WAS5Admin.java:205)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstanceImpl(WAS5Admin.java:259)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$000(WAS5Admin.java:76)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin$1.run(WAS5Admin.java:226)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2782)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2659)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstance(WAS5Admin.java:224)
at com.ibm.wps.pe.mgr.appserveradmin.AppServerAdminManagerFactory.getManager(AppServerAdminManagerFactory.java:55)



  
 com.ibm.websphere.management.exception.AdminException: com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a SOAP connector to connect to host app1 at port 8878 with SOAP connector security enabled.
com.ibm.websphere.management.exception.AdminException: com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a SOAP connector to connect to host app1 at port 8878 with SOAP connector security enabled.
at com.ibm.ws.management.AdminServiceImpl.getDeploymentManagerAdminClient(AdminServiceImpl.java:1426)
at com.ibm.wps.was.helper.WASAdminServiceHelper.getAdminClient(WASAdminServiceHelper.java:127)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.initVars(WAS5Admin.java:331)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.(WAS5Admin.java:205)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstanceImpl(WAS5Admin.java:259)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$000(WAS5Admin.java:76)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin$1.run(WAS5Admin.java:226)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2782)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2659)
--------------------编程问答-------------------- 你在建立集群后是否成功部署过portlet呢?
在建立集群后必须做一步操作,否则无法像单机环境那样部署portlet。我也遇到过这样的问题。
我是这样解决的:
 在WebSphere/PortalServer/config目录下面执行执行下面命令     
  wpconfig.bat     action-remove-deployment-credentials     
  wpconfig.bat     action-create-deployment-credentials 
如果是linux或unix环境则执行wpconfig.sh   
执行命令后重启集群和Portal服务器。 
--------------------编程问答-------------------- 补充:

两个命令必须在集群的每个节点的WebSpherePortal服务器上个执行一次。
补充:企业软件 ,  WebSphere
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,