2 Replies Latest reply on Mar 14, 2008 11:59 AM by mikebutler

    Help with IPC

    mikebutler

      I've tried to follow the example located here to perform some inter-portlet communication:
      http://docs.jboss.com/jbportal/v2.6.2/referenceGuide/html/portalapi.html

      However, I am getting a class loading issue:

      
      --- MBeans waiting for other MBeans ---
      ObjectName: portal:service=ListenerService,type=applet_listener
       State: FAILED
       Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: asdf.AppletListener
       I Depend On:
       portal:service=ListenerRegistry
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: portal:service=ListenerService,type=applet_listener
       State: FAILED
       Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: asdf.AppletListener
       I Depend On:
       portal:service=ListenerRegistry
      

      I'm deploying a war which contains a jar which contains this class. The package names are correct. I've tried with the listener being an inner class or its own class, no matter what I always get a class not found exception. Ideas?

        • 1. Re: Help with IPC

          The classes needed for the IPC must be placed in a jar inside lib directory under your VVV.sar directory (or inside your vvv.sar zip file if you are using packed deployment)

          • 2. Re: Help with IPC
            mikebutler

            It was. The problem was that I was editing the jboss-service.xml for the portal app, instead of creating one for my own app.