2 Replies Latest reply on Jun 14, 2010 4:18 AM by Wilhelm FY

    How-to use ApplicationRegistryService from a Web Service ?

    Wilhelm FY Newbie

      Hi all,

       

      I built and succesfully deployed a web service using cxf into my portal. This WS is aimed to allow catégory création, application registration and so on (the stuff that ApplicationRegistry Portlet does, in fact). I'm having trouble because of chromattic:

       

      I can get ApplicationRegistryServiceImpl instance from PortalContainer, and retrieve a list of all portlets deployed.

      But when I try to save a category, for example, I get an IllegalStateException: "Need global synchronization for opening a global context"

       

      Can anyone help with that ?

       

      Thx

       

      Wilhelm