When two jsr286 portlet wiring in different pages, Page-switching does not occur when the source portlet send a message to target portlet. A workway around was add the following code snippet to the init - method of
your portlets. This piece of code is the service initialization in the
pbjsrshipexample.war which triggers the initialization of the service
correctly.
public void init(PortletConfig config) throws PortletException {
super.init(config);
try {
Context ctx = new InitialContext();
PortletServiceHome serviceHome = (PortletServiceHome)
ctx.lookup("portletservice/com.ibm.portal.propertybroker.service.Propert
yBrokerService");
pbService =
(PropertyBrokerService)serviceHome.getPortletService(com.ibm.portal.propertybroker.service.PropertyBrokerService.class);
pbServiceAvailable = true;
}catch(Throwable t) {
getPortletContext().log("MyPortlet could not find
property broker service!");
}
}
This bug has been fixed on WPS 6.1.0.1, the apar number is PK71507