WebSphere Portal Server - Installing sample portlet - error

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2004 > Installing sample portlet - error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Installing sample portlet - error
twgerber

2004-08-16, 6:00 pm

Using WSAD 5.1.2 with all the latest patches to WSAD, I created a new portlet with events and messages selected during the wizard.

I can run the portlet within WSAD. So I decided to try and deploy this portlet to our Dev server. I selected the portlet and did "export to war" which is what we did in training.

I tried to deploy the portlet (which only has like 5 lines of code added to it) and I get errors saying it can't be deployed.

The error messages I get back don't tell me anything - does anyone on this forum know why its failing??


APIN0003E: Cannot install the selected WAR file.
com.ibm.portal.WpsException: APIN0003E: Cannot install the selected WAR file.
at com.ibm.wps.portlets.install.InstallPortlet.doInstall(InstallPortlet.java:580)
at com.ibm.wps.portlets.install.InstallPortlet.actionPerformed(InstallPortlet.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:438)
at org.apache.jetspeed.portlet.Portlet._dispatch(Portlet.java:794)
at org.apache.jetspeed.portlet.Portlet.access$100(Portlet.java:88)
at org.apache.jetspeed.portlet.Portlet$Context.callPortlet(Portlet.java:899)
at com.ibm.wps.pe.pc.legacy.cmpf.impl.PortletFilterManager.doFilter(PortletFilterManager.java:253)
at org.apache.jetspeed.portlet.Portlet.dispatch(Portlet.java:636)
at org.apache.jetspeed.portlet.Portlet.doGet(Portlet.java:510)




PECM0015E: Portlet application manager failed when user CN=XXXXXX,OU=User,OU=Accounts,dc=xxx,dc=
xxx,dc=com executed command InstallPortletApplication.
com.ibm.wps.command.CommandFailedException: PECM0015E: Portlet application manager failed when user CN=XXXXXX,OU=User,OU=Accounts,dc=xxx,dc=
xxx,dc=com executed command InstallPortletApplication.
at com.ibm.wps.command.applications.AbstractApplicationsCommand. throwPortletAppMgrException(AbstractAppl
icationsCommand.java:486)
at com.ibm.wps.command.applications.InstallPortletApplicationCommand. execute(InstallPortletApplicationCommand
.java:185)
at com.ibm.wps.portlets.install.InstallPortlet.doInstall(InstallPortlet.java:523)
at com.ibm.wps.portlets.install.InstallPortlet.actionPerformed(InstallPortlet.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:438)
at org.apache.jetspeed.portlet.Portlet._dispatch(Portlet.java:794)
at org.apache.jetspeed.portlet.Portlet.access$100(Portlet.java:88)
at org.apache.jetspeed.portlet.Portlet$Context.callPortlet(Portlet.java:899)
at com.ibm.wps.pe.pc.legacy.cmpf.impl.PortletFilterManager.doFilter(PortletFilterManager.java:253)




PEAS0019E: Installation of Web module navigation.NavigationPortlet.e63233e4ef from WAR file /opt/WebSphere/PortalServer/deployed/navigation.war failed (display name: navigation_PA_1_0_IQ, options: ).
com.ibm.wps.pe.mgr.exceptions.AppServerWarInstallException: PEAS0019E: Installation of Web module navigation.NavigationPortlet.e63233e4ef from WAR file /opt/WebSphere/PortalServer/deployed/navigation.war failed (display name: navigation_PA_1_0_IQ, options
: ).
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.install(WAS5Admin.java:1180)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:797)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:729)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:585)
at com.ibm.wps.command.applications.InstallPortletApplicationCommand. execute(InstallPortletApplicationCommand
.java:172)
at com.ibm.wps.portlets.install.InstallPortlet.doInstall(InstallPortlet.java:523)
at com.ibm.wps.portlets.install.InstallPortlet.actionPerformed(InstallPortlet.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:438)
at org.apache.jetspeed.portlet.Portlet._dispatch(Portlet.java:794)




PEAS0045E: Failed to set application server attributes for the deployed application navigation_PA_1_0_IQ.
com.ibm.wps.pe.mgr.exceptions.AppServerAdminSetAttributesException: PEAS0045E: Failed to set application server attributes for the deployed application navigation_PA_1_0_IQ.
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.setAttributes(WAS5AppMgmtHelper.java:556)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.install(WAS5Admin.java:1082)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:797)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:729)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:585)
at com.ibm.wps.command.applications.InstallPortletApplicationCommand. execute(InstallPortletApplicationCommand
.java:172)
at com.ibm.wps.portlets.install.InstallPortlet.doInstall(InstallPortlet.java:523)
at com.ibm.wps.portlets.install.InstallPortlet.actionPerformed(InstallPortlet.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:438)




java.lang.NullPointerException
java.lang.NullPointerException
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.setVirtualHost(WAS5AppMgmtHelper.java:1186)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.setAttributes(WAS5AppMgmtHelper.java:505)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.install(WAS5Admin.java:1082)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:797)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:729)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:585)
at com.ibm.wps.command.applications.InstallPortletApplicationCommand. execute(InstallPortletApplicationCommand
.java:172)
at com.ibm.wps.portlets.install.InstallPortlet.doInstall(InstallPortlet.java:523)
at com.ibm.wps.portlets.install.InstallPortlet.actionPerformed(InstallPortlet.java:292)





Masanobu Ida

2004-08-17, 3:01 am

Does the userID have an appropriate authentication on WebSphere Portal
when you installed your portlet?

Masanobu Ida
"twgerber" <tgerber@fnni.com> wrote in message
news:845357019.1092666311724.JavaMail.wasadmin@swg3ws006...
....
> PECM0015E: Portlet application manager failed when user

CN=XXXXXX,OU=User,OU=Accounts,dc=xxx,dc=
xxx,dc=com executed command
InstallPortletApplication.
> com.ibm.wps.command.CommandFailedException: PECM0015E: Portlet application

manager failed when user CN=XXXXXX,OU=User,OU=Accounts,dc=xxx,dc=
xxx,dc=com
executed command InstallPortletApplication.
....

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com