WebSphere Portal Server - Error while using Dynamic UI Manager

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2007 > Error while using Dynamic UI Manager





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 while using Dynamic UI Manager

2007-07-27, 7:20 am

Hi ,
I am using Dynamic UI Manager service to launch dynamic portlets, but it is throwing the following exception

com.ibm.wps.dynamicui.impl.DynamicUIManagementExceptionImpl: EJPTP6039E: The configuration name specified does not exist.

The above exception is occurring at the line where i am calling the getDynamicUICtrl() method of DynamicUIManagementFactoryService.

Please help me out, it's high priority!!!

2007-07-27, 7:20 am

AnyBody????????
Jessica Garcia-Glennie

2007-07-27, 7:20 am

Did you give a custom unique name to your extension node page and then run the config task to enable that page as an extension node? If so, check the name that you've given to the page - it might just be a typo when you run the task. Does the task say "
build successful"?

2007-07-27, 1:24 pm

ThankYou,
As said, i have created a custom unique name for the page and given it as extension node.But still the problem exists.

Actually i am new to this Dynamic UI Manager, i am trying out the example given in following url:

http://www-128.ibm.com/developerwor...engehausen.html

What i actually want to do is, to hide a portlet and then make it visible when the user clicks on some link in another portlet.

Please help me out, as the task is of high priority to me.


Jessica Garcia-Glennie

2007-07-27, 1:24 pm

So, when you ran this task

wpsconfig.{bat|sh} enable-page-as-extension-node ?DPageUniqueName=extensionNode

the outcome was "Build successful"? Anytime I've gotten that error, it's because the build was not successful.

You know when you restart your portal test environment in RAD6 with Portal 5.1.0.3 or 5.1.0.4 (dynamic UI won't work before then, if I remember correctly), you'll have to rerun the task? I think in RAD7 with Portal 6 it might be ok.


2007-07-27, 1:24 pm

Will Dynamic UI work with Portal Server v5.1.0.1.
I am using RAD V6.0 with Portal Server v5.1.0.1.
Jessica Garcia-Glennie

2007-07-27, 1:24 pm

Supposedly, but there were a lot of bugs fixed in relation to the UI later. I see that the article says 5.1.0.1, so it must do, but I'm not sure if I believe it ;)
Jessica Garcia-Glennie

2007-07-27, 1:24 pm

wpsconfig.{bat|sh} enable-page-as-extension-node -DPageUniqueName=extensionNode

Sorry, there was a wiggy character in my previous post...

2007-08-01, 7:22 am

Hi,
I am using the following command,

WPSconfig.{bat | sh} enable-page-as-extension-node -DPageUniqueName=dyna

where "dyna" is the custom unique name of my page.
When i run this command, from <wp-root>config, i always get BUILD FAILED.

Please have a look at the attachment.

I want to know whether the command, which i am using is syntactically right or wrong?

Please help me out.

Jessica Garcia-Glennie

2007-08-01, 7:22 am


> WPSconfig.{bat | sh} enable-page-as-extension-node
> -DPageUniqueName=dyna



Hello. So you know that you'll either type in WPSConfig.bat if your Portal is installed on windows and the sh version if your Portal is installed on AIX.

In any case, this is a strange error. Here's what you should do:

In <wp_root>/config/wpconfig.properties, see that the following values are set:

WasUserid=
WasPassword=
PortalAdminId=
PortalAdminPwd=

(My husband gave me a tip: if you're running this on RAD or a development environment, you can add the property PWordDelete=false to wpconfig. Then, when you run a task, the passwords aren't deleted the way they normally are for security.)

Once those values are set, restart the server and try to run the task again.

Good luck,
Jaye

2007-08-01, 1:23 pm

Hey,
ThankYou for that, finally i got BUILD SUCCESSFUL.

2007-08-01, 1:23 pm

Hi,
I am using Portal Server v6.0 with RAD v7.0, i am following the steps given in the infocenter for Dynamic UI Manager.
What i exactly i want to do is to enable(make visible) portlet, when we click on a link?, Is it possible?
Please help me out.
Jessica Garcia-Glennie

2007-08-01, 1:23 pm

Yes, it is possible. Did you not download the tutorial and try it out? There's an example in the tutorial's code.

2007-08-01, 1:23 pm

Hi,
Which tutorial, is it the IBM tutorial?, If so , i did it but when i deploy the war file, nothing is working? and moreover i am not able to understand it properly.
Please help me out.Do you have any samples?.
Jessica Garcia-Glennie

2007-08-01, 1:23 pm

Yes, the IBM tutorial. I did get it working and then I adapted it for my specification. The tutorial is a functional and useful sample, I don't know how much more information you could possibly need. Maybe you should focus a few hours on getting the ex
ample code to work. And a few more hours understanding it properly. If you have SPECIFIC questions or you're getting SPECIFIC errors, you should post them, but just asking someone to explain what's clearly already laid out is very lazy, quite frankly.

2007-08-01, 7:19 pm

Hi,
I hope i lost my laziness, anyway,
The below is procedure i followed :

=====>>>>>> I am using RAD V6.0 with Portal server V5.1.0.1

=====>>>>>>I created a page from administration tab, by name "Mine" under MyPortal.

=====>>>>>>After creating the page, i give it a custom unique name as "mypage".

=====>>>>>>Now that i have created a unique name for this page, from <wp-root>config i executed this command,

WPSconfig.bat enable-page-as-extension-node -DPageUniqueName=mypage


=====>>>>>>I got a message saying "BUILD SUCCESSFULL"

=====>>>>>>Now i stopped the Portal server and started it again.After starting the server, i was not able to find my page again.

Do i need to create the same page and unique name again?

Jessica Garcia-Glennie

2007-08-01, 7:19 pm

Please re-read my second reply about the Portal Test Environment.

2007-08-01, 7:19 pm

Hi,
So do i need to run the command again? and create the page with unique name.

2007-08-01, 7:19 pm

I gone through it, so do i need to run the command again and create the page again with same unique name

2007-08-02, 7:21 am

Hi,
Thats OK, i will run the command again, but do i need to create the page with same unique name again?

2007-08-02, 7:21 am


AnyBody.........

2007-08-02, 7:21 am

Somebody help me out
Jessica Garcia-Glennie

2007-08-02, 7:21 am

You cannot be serious. For the love of all that is holy, why don't you try it and find out? What prevents you from trying to figure things out for yourself?

2007-08-02, 7:21 am

Come on, i am not serious, anyway, do i need to create that page with same unique name again?, And where exactly are we using this unique name in the code.

2007-08-02, 7:21 am

See, i geting the following exception, when i am running that example code(Flight Booking),

EJPTP6026E: The extension point ID specified does not refer to a dynamic node.

2007-08-02, 7:21 am

AnyBody..........
Juanma Martinez

2007-08-02, 7:21 am

guttapudi.karthik@gmail.com escribió:
> AnyBody..........


Reposting every half hour won't get you an answer, it will likely only
annoy readers, if you really need help desperately this is not the right
place to ask, you will need to study more, hire a consultant ....

This is peer to peer support, you will usually only get an answer if
someone has encountered a similar problem (and you ask nicely)

--

Juanma Martinez

2007-08-02, 7:21 am

Hey,
Thanks for info, i thought somebody might have worked on this, but now i got the answer.

2007-08-02, 7:19 pm

Hi everybody,
I keep getting the same exception when I try to add a portlet to a page dynamically.

<b>EJPTP6026E: The extension point ID specified does not refer to a dynamic node.
at com.ibm.wps.dynamicui.impl.InternalDynamicUIManagerImpl. getTransformationEntityID(InternalDynami
cUIManagerImpl.java:763)
at com.ibm.wps.dynamicui.impl.InternalDynamicUIManagerImpl.addPortlet(InternalDynamicUIManagerImpl.java:882)
at com.ibm.wps.dynamicui.impl.InternalDynamicUIManagerImpl.addPortlet(InternalDynamicUIManagerImpl.java:807)
at com.ibm.wps.dynamicui.impl.DynamicUICtrlImpl.addPortlet(DynamicUICtrlImpl.java:198)
at com.pfizer.pgm.application.adminstrationportlet.action.CreatePageAction.execute(CreatePageAction.java:277) <b>


Name portletName = new CompositeName("portal:config/portletdefinition");


portletName.add("com.ibm.portal.struts.portlet.StrutsPortlet.aa30a60431");
portletName.add("BreadcrumbPortlet");
InitialContext context1 = new InitialContext();
ObjectID portletDefOID = (ObjectID) context1.lookup(portletName);

log.debug(methodName +" Printing the Bread crumb portlet objectID : "+ portletDefOID);

// Retrieve initial context
final Context ctx = new InitialContext();
// DynamicUIManagerService

final PortletServiceHome dynamicUIManagerFactoryServiceHome = (PortletServiceHome) ctx.lookup("portletservice/com.ibm.portal.portlet.service.dynamicui.DynamicUIManagementFactoryService");

dynamicUIManagerFactoryService = (DynamicUIManagementFactoryService) dynamicUIManagerFactoryServiceHome. getPortletService(DynamicUIManagementFac
toryService.class);


DynamicUICtrl dynamicUICtrl = dynamicUIManagerFactoryService. getDynamicUICtrl((ActionRequest)request,
(ActionResponse)response,"wps." + title );


ObjectID launchedPortletID = dynamicUICtrl.addPortlet(portletDefOID, new LocalizedImpl("BreadcrumbPortlet", "Portlet to select dates"), null);

Am I doing anything wrong? I keep getting this exception.

Thanks.

2007-08-14, 1:21 pm

Hi,

would you mind tell me what the answer is? since I also get the same problem, many thanks for your help.

cheers,
hj
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com