Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EJPAQ1319E: Cannot install the selected WAR file

232 views
Skip to first unread message

hala...@asset.com.eg

unread,
Mar 13, 2007, 4:18:57 AM3/13/07
to
While deploying a simple portlet war file (with a short name), an error was generated which is as follow:

EJPAQ1319E: Cannot install the selected WAR file.
EJPPD0015E: Portlet application manager failed when user uid=wspadmin,ou=people,ou=dca,o=vodafone executed command InstallPortletApplication.
EJPPE0013E: Installation of Web Module from WAR file /WSP/PortalServer/deployed/ComChannelFront.war failed.
EJPPE0001E: Instantiation of AppServerAdminManager failed.
EJPPH0007E: Instantiation of the administration module for Portal context /wps failed.
EJPPH0010E: Failed to retrieve and initialize runtime variables from Application Server.
com.ibm.websphere.management.exception.AdminException:


Note
-----
Portal server version is 6.0 and server is SUN Solaris

Oliver Then

unread,
Mar 13, 2007, 4:37:01 AM3/13/07
to
There should be more detailed exceptions with Stacktraces in the
SystemOut.log.
Can you paste them?

Is this a cluster or non-cluster system?
Are you deploying via XMLAccess or via portal GUI?

Oliver

hala...@asset.com.eg

unread,
Mar 13, 2007, 9:08:38 AM3/13/07
to
Thanks Oliver for your reply,

this is non-cluster system, and i deploy my portlets via portal GUI nad below is more details about the execption trace:

[3/13/07 14:23:19:110 EET] 00000055 WAS5Admin E com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin initVars EJPPH0010E: Failed to retrieve and initialize runtime variables from Application Server.
[3/13/07 14:23:19:136 EET] 00000055 WAS5Admin E com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin constructor EJPPH0007E: Instantiation of the administration module for Portal context /wps failed.
[3/13/07 14:23:19:138 EET] 00000055 AbstractAppli E com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl installWebModule_IISSU EJPPE0013E: Installation of Web Module from WAR file /WSP/PortalServer/deployed/ComChannelFront.war failed.
com.ibm.wps.pe.mgr.exceptions.AppServerWarInstallException: EJPPE0013E: Installation of Web Module from WAR file /WSP/PortalServer/deployed/ComChannelFront.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)
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)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl._dispatch(PortletDelegateImpl.java:378)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.access$200(PortletDelegateImpl.java:61)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl$Context.callPortlet(PortletDelegateImpl.java:492)
at com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl.doFilter(PortletFilterServiceImpl.java:367)
at com.ibm.wps.pe.pc.legacy.services.PortletFilter.doFilter(PortletFilter.java:42)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.dispatch(PortletDelegateImpl.java:132)
at org.apache.jetspeed.portlet.Portlet.doGet(Portlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet.service(CacheablePortlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:493)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:673)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:613)
at com.ibm.wps.pe.om.definition.impl.ServletDefinitionImpl$RDWrapper.include(ServletDefinitionImpl.java:406)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.callMethod(PortletInvokerImpl.java:374)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:82)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1129)
at com.ibm.wps.pe.pc.legacy.EventEnvironmentImpl.includePortlet(EventEnvironmentImpl.java:171)
at com.ibm.wps.pe.pc.legacy.event.ActionEventImpl.prepare(ActionEventImpl.java:201)
at com.ibm.wps.pe.pc.legacy.event.EventQueueManager.processEventLoop(EventQueueManager.java:87)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.performEvents(PortletContainerImpl.java:214)
at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:241)
at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:889)
at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:487)
at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:130)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:788)
at com.ibm.wps.engine.Servlet.doGet(Servlet.java:629)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:257)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:670)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2965)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1931)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1470)
Caused by: 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)
... 65 more
Caused by: 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.<init>(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:2784)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2661)
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)
... 67 more
Caused by: 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.<init>(WAS5Admin.java:205)
... 75 more
Caused by: com.ibm.websphere.management.exception.AdminException:
at com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:175)
at com.ibm.websphere.management.application.AppManagementProxy.listApplications(AppManagementProxy.java:298)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.listApplications(WAS5AppMgmtHelper.java:1233)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5AppMgmtHelper.getPortalVirtualHostName(WAS5AppMgmtHelper.java:959)
at com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin.initVars(WAS5Admin.java:373)
... 76 more
Caused by: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the listApplications operation on AppManagement MBean because of insufficient or empty credentials.
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:686)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:653)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:512)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:332)
at $Proxy64.invoke(Unknown Source)
at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:191)
at com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:169)
... 80 more


Oliver Then

unread,
Mar 13, 2007, 9:30:10 AM3/13/07
to
It looks like the user you are using to deploy the portlets does not
have proper access permissions in the application server. Depending on
your settings either a single user ID (one general "deployment user
instance" for deployment) or multiple user IDs (the user logged in is
used to deploy the portlet) is used to deploy the portlet. If you are
using the "multiple ID" case, you have to add this user to have
administrator rights in the appserver console.
You can find details about this in the portal InfoCenter at this link:
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp?topic=/com.ibm.wp.ent.doc/wpf/deploy_secure.html

Oliver

hala...@asset.com.eg

unread,
Mar 13, 2007, 2:17:01 PM3/13/07
to
DeploymentService.properties file under PortalServer/config/properties/ which is contains was.admin.host and use.admin.user properites is all commented....

Should I de-comment this entries in the file (Note that all file is commented)

Oliver Then

unread,
Mar 14, 2007, 2:17:55 AM3/14/07
to
Yes, in Portal 6, the values from properties files are not longer read
from the porperties files itself, but they are kept in the appserver.
You can either de-comment one of the values you like to change and then
call a portal configuration task to set this value in the appserver, or
you can change the value in the appserver directly. This is described in
the InfoCenter:
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp?topic=/com.ibm.wp.ent.doc/wps/adsetcfg.html

Oliver

Sherif El-Halafawy

unread,
Mar 14, 2007, 3:56:30 AM3/14/07
to

I de-comment the values of [was.admin.host, use.admin.user] so can you help me in how to run coniguration task to apply this changes
as i cannot open admin console of WebSphere.

Regards,
Sherif El-Halafawy

Sherif El-Halafawy

unread,
Mar 14, 2007, 4:25:55 AM3/14/07
to
Thanks Oliver,
I get how to update the properies using configuration task [./WPSconfig.sh update-properties]
But the same error is thrown when deploying new portlet.

Regards,
Sherif El-Halafawy

Oliver Then

unread,
Mar 14, 2007, 5:36:17 AM3/14/07
to
Did you set use.admin.user=true?
Did you verify the value of user.admin.user via the admin console of the
appserver?

Oliver Then

unread,
Mar 14, 2007, 6:15:06 AM3/14/07
to

Sherif El-Halafawy

unread,
Mar 14, 2007, 6:03:32 AM3/14/07
to
Also I have another issue (i think that is related to this issue), when i try to disable-security the configuration task throw this error:

action-sync-node:
Wed Mar 14 12:00:05 EET 2007
[wpwsadmin] javax.management.JMRuntimeException: ADMN0022E: Access is denied for the isNodeSynchronized operation on NodeSync MBean because of insufficient or empty credentials.
[wpwsadmin] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:686)
[wpwsadmin] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:653)
[wpwsadmin] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:512)
[wpwsadmin] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:332)
[wpwsadmin] at $Proxy0.invoke(Unknown Source)
[wpwsadmin] at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:191)
[wpwsadmin] at com.ibm.websphere.update.delta.adminconfig.WPWsAdminRemote.syncNode(Unknown Source)
[wpwsadmin] at com.ibm.websphere.update.delta.adminconfig.tasks.WPWsAdminTask.execute(Unknown Source)
[wpwsadmin] at org.apache.tools.ant.Task.perform(Task.java:341)
[wpwsadmin] at org.apache.tools.ant.Target.execute(Target.java:309)
[wpwsadmin] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wpwsadmin] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[wpwsadmin] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[wpwsadmin] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
[wpwsadmin] at org.apache.tools.ant.Task.perform(Task.java:341)
[wpwsadmin] at org.apache.tools.ant.Target.execute(Target.java:309)
[wpwsadmin] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wpwsadmin] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[wpwsadmin] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[wpwsadmin] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[wpwsadmin] at org.apache.tools.ant.Main.start(Main.java:196)
[wpwsadmin] at com.ibm.wps.config.WpsConfigMain.process(Unknown Source)
[wpwsadmin] at com.ibm.wps.config.WpsConfigMain.main(Unknown Source)
[wpwsadmin] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wpwsadmin] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wpwsadmin] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wpwsadmin] at java.lang.reflect.Method.invoke(Method.java:324)
[wpwsadmin] at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
[wpwsadmin] at java.lang.Thread.run(Thread.java:534)


Sherif El-Halafawy

Sherif El-Halafawy

unread,
Mar 14, 2007, 5:56:41 AM3/14/07
to
I set use.admin.user=true

but what you mean with verify the value of user.admin.user via the admin console of the appserver?

0 new messages