|
Home > Archive > WebSphere Portal Server > August 2007 > Error occured while enabling dynamic UI portal
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 |
Error occured while enabling dynamic UI portal
|
|
|
| Greetings all,
I'm using RSA 7 and Portal 6 to do dynamic portal development. All the instructions and sample code are based on http://www.ibm.com/developerworks/w...ngehausen.html. I deployed the portal application to th
e portal server, sucessful; then use wpsconfig.bat enable-page-as-extension-node ?DPageUniqueName=page.extensionNode to enable the page node extension, successful; then once I click the link in the source portlet to display the target portlet, i get the f
ollowing exception:
[14/08/07 02:01:24:106 EST] 00000069 WebApp A SRVE0181I: [IBMWorkplaceTree] [/wps/PA_1_QOL9JVF00ON8802PTQ9NHP0000] [Servlet.LOG]: An error occurred during execution of init():: com.ibm.wps.dynamicui.impl.DynamicUIManagementExceptionImpl: EJPTP603
7E: The DynamicUIManagementFactoryService could not instantiate the DynamicUICtrl.
at com.ibm.wps.dynamicui.impl.DynamicUIManagementFactoryServiceImpl. getDynamicUICtrl(DynamicUIManagementFact
oryServiceImpl.java:242)
at com.ibm.wps.dynamicui.impl.DynamicUIManagementFactoryServiceImpl. getDynamicUICtrl(DynamicUIManagementFact
oryServiceImpl.java:197)
at pagecode.IBMWorkplaceTreeView.doTreeFormSubmit(IBMWorkplaceTreeView.java:237)
at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:127)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:73)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:302)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:416)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at com.ibm.faces.portlet.FacesPortlet.processAction(FacesPortlet.java:161)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:104)
at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter. processAction(PropertyBrokerActionFilter
.java:261)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:95)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:147)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:393)
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.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:613)
at com.ibm.wps.pe.om.definition.impl.ServletDefinitionImpl$RDWrapper.include(ServletDefinitionImpl.java:419)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:82)
at com.ibm.wps.pe.pc.std.event.ActionEvent.execute(ActionEvent.java:114)
at com.ibm.wps.pe.pc.std.event.EventQueueManager.processEventLoop(EventQueueManager.java:86)
at com.ibm.wps.pe.pc.std.PortletContainerImpl.performEvents(PortletContainerImpl.java:168)
at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:243)
at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:1006)
at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:497)
at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:130)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:768)
at com.ibm.wps.engine.Servlet.doGet(Servlet.java:609)
at com.ibm.wps.engine.Servlet.doPost(Servlet.java:794)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
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:263)
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(Compiled Code))
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(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor275.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl. newInstance(DelegatingConstructorAccesso
rImpl.java(Compiled Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at com.ibm.wps.dynamicui.impl.DynamicUIManagementFactoryServiceImpl. getDynamicUICtrl(DynamicUIManagementFact
oryServiceImpl.java:224)
... 65 more
Caused by: java.lang.IllegalStateException: The internal portlet request cannot be found.
at com.ibm.wps.pe.pc.std.core.PortletUtils.getInternalRequest(PortletUtils.java:54)
at com.ibm.wps.dynamicui.impl.DynamicUICtrlImpl.<init>(DynamicUICtrlImpl.java:87)
... 69 more
the code of IBMWorkplaceTreeView.java:237 is:
DynamicUICtrl DynamicUICtrl = dynamicUIManagerFactoryService.getDynamicUICtrl(request, response, EXTENSION_NODE_UNIQUE_NAME);
where EXTENSION_NODE_UNIQUE_NAME = "page.extensionNode"
Could anybody tell me why I get this error?
I do appreciate for any help.
hj
| |
|
| Hi jessica,
Thanks for your reply. I follow the steps to configure the portal properties, I created a new property called wps.myportal.Workplace.defaultRedirectPage and set its value to page.extensionNode, then shut down the portal server, use command wpsconfig.{bat|
sh} enable-page-as-extension-node ?DPageUniqueName=page.extensionNode to enable the page node and it is successful, but I still get the "EJPTP6037E: The DynamicUIManagementFactoryService could not instantiate the DynamicUICtrl." exception.
I also tried wps.myportal.defaultRedirectPage=page.extensionNode(wps.portal.page.extensionNode);
ibm.portal.MyTasks.defaultRedirectPage=page.extensionNode
but neither of them can help. What I thought is that the DynamicUIManagerFactoryService is defined in WAS, but the defaultRedirectPage doesn't set properly.
I also checked the Help info center for dynamic user interfaces:
The page indicated by the setDefaultRedirectPage() method of the DynamicUIManagementFactoryService interface.
If setDefaultRedirectPage() is not used, the user is redirected to the page indicated by the defaultRedirectPage property in the DynamicUIManagerFactoryServiceImpl. This property is prefixed by the unique name of the extension node for the dynamic UI conf
iguration. For example, two dynamic UI configurations could set this property as follows.
my.dynui.config.test1.defaultRedirectPage=page1.unique.name
my.dynui.config.test2.defaultRedirectPage=page2.unique.name
Do you have any idea or sample to help me solve this issue? e.g., how to call the setDefaultRedirectPage() method to set the page, or how to set the proper property name and value, for example, what does my, dynui, config, test1 stand for?
I do appreciate for any help and assistance.
cheers,
hj
|
|
|
|
|