hello, iam using the jboss portal 2.7.2 bundle on window vista.
i used to write a interportlet communication like the sample in the jboss reference guide. i got the two portlets deployed, but the communication between them doesnt work.
i get an error at the start of the server:
WARN [ServiceController] Problem starting service portal:service=ListenerService,type= test_listener java.lang.ClassNotFoundException: No ClassLoaders found for: main.PortletB$Listener
<mbean code="org.jboss.portal.core.event.PortalEventListenerServiceImpl" name="portal:service=ListenerService,type=test_listener" xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean"> <xmbean/> <depends optional-attribute-name="Registry" proxy-type="attribute">portal:service=ListenerRegistry</depends> <attribute name="RegistryId">test_listener</attribute> <attribute name="ListenerClassName">main.PortletB$Listener</attribute> </mbean>
<window> <window-name>PortletBWindow</window-name> <instance-ref>PortletBInstance</instance-ref> <listener>test_listener</listener>
Since you are using Portal 2.7.2, you should use coordination features that were introduced in JRS-286 and implemented in JBoss Portal since 2.7.0. See reference guide for more details.