Error occured while enabling dynamic UI portal
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 > Error occured while enabling dynamic UI portal




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

    Error occured while enabling dynamic UI portal  


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


 
08-13-07 06:26 PM

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 applica
tion 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: [I
BMWorkplaceTree] [/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 DynamicU
ICtrl.
at com.ibm.wps.dynamicui.impl.DynamicUIManagementFactoryServiceImpl.getDynam
 icUICtrl(DynamicUIManagementFactoryServi
ceImpl.java:242)
at com.ibm.wps.dynamicui.impl.DynamicUIManagementFactoryServiceImpl.getDynam
 icUICtrl(DynamicUIManagementFactoryServi
ceImpl.java:197)
at pagecode.IBMWorkplaceTreeView.doTreeFormSubmit(IBMWorkplaceTreeView.java:
237)
at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.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(ActionListener
Impl.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(InvokeApplicationP
hase.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(Port
letFilterChainImpl.java:104)
at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter.pro
cessAction(PropertyBrokerActionFilter.java:261)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(Port
letFilterChainImpl.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.j
ava:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.jav
a:393)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.jav
a:1282)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp
er.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequ
estDispatcher.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(PortletInvok
erImpl.java:204)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvok
erImpl.java:168)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.action(PortletInvok
erImpl.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(EventQueue
Manager.java:86)
at com.ibm.wps.pe.pc.std.PortletContainerImpl.performEvents(PortletContainer
Impl.java:168)
at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl
.java:243)
at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.jav
a:1006)
at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:497)
at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.jav
a: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.jav
a:1282)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.jav
a:1239)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCha
in.java:136)
at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInsta
nceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCha
in.java:121)
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:263)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInsta
nceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCha
in.java:121)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterCh
ain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp
er.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(HttpICL
ReadCallback.java:101)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan
ager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j
ava(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.j
ava(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(DelegatingConst
ructorAccessorImpl.java(Compiled Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code)
)
at com.ibm.wps.dynamicui.impl.DynamicUIManagementFactoryServiceImpl.getDynam
 icUICtrl(DynamicUIManagementFactoryServi
ceImpl.java:224)
.. 65 more
Caused by: java.lang.IllegalStateException: The internal portlet request can
not be found.
at com.ibm.wps.pe.pc.std.core.PortletUtils.getInternalRequest(PortletUtils.j
ava:54)
at com.ibm.wps.dynamicui.impl.DynamicUICtrlImpl.<init>(DynamicUICtrlImpl.jav
a:87)
.. 69 more

the code of IBMWorkplaceTreeView.java:237 is:
DynamicUICtrl DynamicUICtrl = dynamicUIManagerFactoryService.getDynamicUICtr
l(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





[ Post a follow-up to this message ]



    Re: Error occured while enabling dynamic UI portal  


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


 
08-14-07 06:21 PM

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 ena
ble 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 DynamicUIManagerFac
toryService is defined in WAS, but the defaultRedirectPage doesn't set prope
rly.

I also checked the Help info center for dynamic user interfaces:
The page indicated by the setDefaultRedirectPage() method of the DynamicUIMa
nagementFactoryService interface.
If setDefaultRedirectPage() is not used, the user is redirected to the page 
indicated by the defaultRedirectPage property in the DynamicUIManagerFactory
ServiceImpl. This property is prefixed by the unique name of the extension n
ode for the dynamic UI conf
iguration. For example, two dynamic UI configurations could set this propert
y 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 cal
l the setDefaultRedirectPage() method to set the page, or how to set the pro
per property name and value, for example, what does my, dynui, config, test1
 stand for?

I do appreciate for any help and assistance.

cheers,
hj





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:40 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