Topic
3 replies Latest Post - ‏2012-03-22T11:44:26Z by jwbarnes
SystemAdmin
SystemAdmin
1569 Posts
ACCEPTED ANSWER

Pinned topic Exception deploying Portlet Application on WP 6.1

‏2012-03-05T15:08:32Z |
Hi everybody,

I'm getting the following error trying to update an existing portlet application on a websphere portal 6.1.0.3 with feature pack 6.1.5

I'm using the portal admin interface and the deployment procedure once the list of available portlets in the warfile has been listed. Attached the full stacktrace of the generated error.

I'm not able to identify what is the cause of the problem has previously the deploy procedure works fine and the same warfile is deploed correctly on another server with same configuration (we are using two wp6 server with load balancing). Any idea?!!

Error EJPAQ1319E: Cannot install the selected WAR file.

com.ibm.portal.WpsException: EJPAQ1319E: Cannot install the selected WAR file.
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.installPortletFromFormFile(DoInstallWebModuleAction.java:624)
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:1965)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.actionPerformed(WpsStrutsPortlet.java:1655)
at com.ibm.wps.portlets.adminstruts.WpsAdminStrutsPortlet.actionPerformed(WpsAdminStrutsPortlet.java:261)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:337)
Error EJPPD0015E: Portlet application manager failed when user uid=wpadmin,o=defaultWIMFileBasedRealm executed command UpdatePortletApplication.

com.ibm.wps.command.CommandFailedException: EJPPD0015E: Portlet application manager failed when user uid=wpadmin,o=defaultWIMFileBasedRealm executed command UpdatePortletApplication.
WrappedException is: com.ibm.wps.pe.mgr.exceptions.InstanceException: EJPPE0001E: Instantiation of AppServerAdminManager failed.
at com.ibm.wps.command.applications.AbstractApplicationsCommand.throwAppMgrException(AbstractApplicationsCommand.java:584)
at com.ibm.wps.command.applications.UpdatePortletApplicationCommand.execute(UpdatePortletApplicationCommand.java:194)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.installPortletFromFormFile(DoInstallWebModuleAction.java:498)
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:1965)
Error EJPPE0001E: Instantiation of AppServerAdminManager failed.

com.ibm.wps.pe.mgr.exceptions.InstanceException: EJPPE0001E: Instantiation of AppServerAdminManager failed.
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.getAppServerAdminManager(AbstractApplicationManagerImpl.java:189)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.updateWebModule(AbstractApplicationManagerImpl.java:1417)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.updateWebModule(AbstractApplicationManagerImpl.java:1355)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.updateWebModule(AbstractApplicationManagerImpl.java:1256)
at com.ibm.wps.command.applications.UpdatePortletApplicationCommand.execute(UpdatePortletApplicationCommand.java:149)
at com.ibm.wps.portlets.portletmanager.actions.DoInstallWebModuleAction.installPortletFromFormFile(DoInstallWebModuleAction.java:498)
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)
Error EJPPH0007E: Instantiation of the administration module for Portal context failed.

com.ibm.wps.pe.mgr.exceptions.InstanceException: EJPPH0007E: Instantiation of the administration module for Portal context failed.
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.(WAS5Admin.java:163)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstanceImpl(WAS5Admin.java:203)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$000(WAS5Admin.java:80)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin$1.run(WAS5Admin.java:172)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4158)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4255)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstance(WAS5Admin.java:170)
at com.ibm.wps.pe.mgr.appserveradmin.AppServerAdminManagerFactory.getManager(AppServerAdminManagerFactory.java:59)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.getAppServerAdminManager(AbstractApplicationManagerImpl.java:187)
Error EJPPH0010E: Failed to retrieve and initialize runtime variables from 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.utils.AdminUtils.initVars(AdminUtils.java:199)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.(WAS5Admin.java:154)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstanceImpl(WAS5Admin.java:203)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$000(WAS5Admin.java:80)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin$1.run(WAS5Admin.java:172)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4158)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4255)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstance(WAS5Admin.java:170)
at com.ibm.wps.pe.mgr.appserveradmin.AppServerAdminManagerFactory.getManager(AppServerAdminManagerFactory.java:59)
Error com.ibm.websphere.management.exception.AdminException: com.ibm.websphere.management.exception.ConnectorNotAvailableException

com.ibm.websphere.management.exception.AdminException: com.ibm.websphere.management.exception.ConnectorNotAvailableException
at com.ibm.ws.management.AdminServiceImpl.getDeploymentManagerAdminClient(AdminServiceImpl.java:1602)
at com.ibm.wps.was.helper.WASAdminServiceHelper.getAdminClient(WASAdminServiceHelper.java:127)
at com.ibm.wps.pe.mgr.appserveradmin.utils.AdminUtils.initVars(AdminUtils.java:122)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.(WAS5Admin.java:154)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstanceImpl(WAS5Admin.java:203)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$000(WAS5Admin.java:80)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin$1.run(WAS5Admin.java:172)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4158)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4255)
Error com.ibm.websphere.management.exception.ConnectorNotAvailableException

com.ibm.websphere.management.exception.ConnectorNotAvailableException
at com.ibm.ws.management.discovery.Utils.getDmgrAdminClient(Utils.java:111)
at com.ibm.ws.management.AdminServiceImpl.getDeploymentManagerAdminClient(AdminServiceImpl.java:1600)
at com.ibm.wps.was.helper.WASAdminServiceHelper.getAdminClient(WASAdminServiceHelper.java:127)
at com.ibm.wps.pe.mgr.appserveradmin.utils.AdminUtils.initVars(AdminUtils.java:122)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.(WAS5Admin.java:154)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.getInstanceImpl(WAS5Admin.java:203)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.access$000(WAS5Admin.java:80)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin$1.run(WAS5Admin.java:172)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4158)
Updated on 2012-03-22T11:44:26Z at 2012-03-22T11:44:26Z by jwbarnes
  • jwbarnes
    jwbarnes
    872 Posts
    ACCEPTED ANSWER

    Re: Exception deploying Portlet Application on WP 6.1

    ‏2012-03-21T20:00:13Z  in response to SystemAdmin
    is your node agent down?


    IBM Certified System Administrator -- WebSphere Portal V6.0,
    IBM Certified Solution Developer -- WebSphere Portal v6.0, v6.1, V7.0

    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM
    • SystemAdmin
      SystemAdmin
      1569 Posts
      ACCEPTED ANSWER

      Re: Exception deploying Portlet Application on WP 6.1

      ‏2012-03-22T08:39:48Z  in response to jwbarnes
      Based on checks done from system administrator the Node Agent is up and running. Together with this error i've noticed there's no possibility to access Server logfile via the Deployment Manager Console.

      There can be some misconfiguration or some other service that needs to be up and running?!

      The portal application is running on two different instances with same configuration (not clustered anyway), but htis error is generated only on one of the two servers.
      • jwbarnes
        jwbarnes
        872 Posts
        ACCEPTED ANSWER

        Re: Exception deploying Portlet Application on WP 6.1

        ‏2012-03-22T11:44:26Z  in response to SystemAdmin
        hmm if it cannot access the logfile there may be a communication problem between the server and the dmgr
        if you get this tracing you should see where it is failing
        http://www-01.ibm.com/support/docview.wss?uid=swg21468562


        IBM Certified System Administrator -- WebSphere Portal V6.0,
        IBM Certified Solution Developer -- WebSphere Portal v6.0, v6.1, V7.0

        The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM