Installing sample portlet - error
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Installing sample portlet - error




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Installing sample portlet - error  
twgerber


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-16-04 11:00 PM

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

I can run the portlet within WSAD.  So I decided to try and deploy this port
let 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 f
orum 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(InstallPortle
t.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortle
tInterceptorImpl.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(PortletF
ilterManager.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 m
anager failed when user  CN=XXXXXX,OU=User,OU=Accounts,dc=xxx,dc=
xxx,dc=com e
xecuted command InstallPortletApplication.
at com.ibm.wps.command.applications.AbstractApplicationsCommand.throwPortlet
 AppMgrException(AbstractApplicationsComm
and.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(InstallPortle
t.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortle
tInterceptorImpl.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(PortletF
ilterManager.java:253)




PEAS0019E: Installation of Web module navigation.NavigationPortlet.e63233e4e
f 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: Insta
llation of Web module navigation.NavigationPortlet.e63233e4ef from WAR file 
/opt/WebSphere/PortalServer/deployed/navigation.war failed (display name: na
vigation_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(Portlet
ApplicationManagerImpl.java:797)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.java:729)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.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(InstallPortle
t.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortle
tInterceptorImpl.java:438)
at org.apache.jetspeed.portlet.Portlet._dispatch(Portlet.java:794)




PEAS0045E: Failed to set application server attributes for the deployed appl
ication navigation_PA_1_0_IQ.
com.ibm.wps.pe.mgr.exceptions.AppServerAdminSetAttributesException: PEAS0045
E: Failed to set application server attributes for the deployed application 
navigation_PA_1_0_IQ.
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.setAttributes(WAS5App
MgmtHelper.java:556)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.install(WAS5Admin.java:1082)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.java:797)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.java:729)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.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(InstallPortle
t.java:292)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortle
tInterceptorImpl.java:438)




java.lang.NullPointerException
java.lang.NullPointerException
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.setVirtualHost(WAS5Ap
pMgmtHelper.java:1186)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.setAttributes(WAS5App
MgmtHelper.java:505)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.install(WAS5Admin.java:1082)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.java:797)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.java:729)
at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Portlet
ApplicationManagerImpl.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(InstallPortle
t.java:292)










[ Post a follow-up to this message ]



    Re: Installing sample portlet - error  
Masanobu Ida


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-17-04 08: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.
...






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:10 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register