Hi, I'm currently trying to support the following configuration:
My portal - using wsrp4j is the producer WebLogic is a consumer A funny thing happens - WebLogic seems to think that once he got a cloned portlet he should stick with it. We on the other hand - clone the portlet on every state change and give the new handle in the blockingInteraction Response. WebLogic ignores it! And asks the markup for the old handle!!!! According to the spec it seems that we are right - but that means no support for at least one big portal!!! Any help will be appreciated! Thanks, Tali -----Original Message----- From: Julie MacNaught [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 3:10 PM To: [email protected] Subject: Re: consumer registration A clone can't happen without a registration context. The question is why is the portlet getting cloned? I looked at the code, and there is some handling in performBlockingInteraction which checks the portletStateChange flag. Oddly, if the portletStateChange flag is readOnly, then it tries to clone the portlet. This doesn't seem to make sense, but there is a comment which suggests that this is necessary because of JSR168 portlets. This is going to take more research, but it looks like a bug. However, looking at the code, if you set the portletStateChange flag to readWrite, it will make it through PBI without getting cloned. I guess you could try this. Tali Garsiel wrote: > Hi, > > > > I'm new to WSRP (and portal technology) > > > > I have the following problem: > > > > My portal is a producer using wsrp4j. > > > > I set registration requirement to false. > > > > The consumer sends me empty registration context. > > > > When I get a performBlockingInteraction request I get an exception because: > > > > The portlet instance is ProducerOfferedPortlet > > > > > > function handlePortletStateChange (WSRPEngine class) calls clonePortlet > > > > > > clonePortlet fails because I have no registrationContext (line 1174 > - "String regHandle = > request.getRegistrationContext().getRegistrationHandle();) > > > > > > I want to know > > > > Is it a bug ? or should I require registration ? > > > > > > Thanks, Tali > > > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ -- Julie MacNaught IBM Research [EMAIL PROTECTED] [EMAIL PROTECTED] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
