Topic
3 replies Latest Post - ‏2013-01-14T20:59:48Z by SystemAdmin
SystemAdmin
SystemAdmin
30895 Posts
ACCEPTED ANSWER

Pinned topic Access OSGI Service from Portlet

‏2013-01-12T17:12:10Z |
Dears,

I am looking for a way to access OSGI service from portlet project in WP 8. is it supported ?

Thanks.
Updated on 2013-01-14T20:59:48Z at 2013-01-14T20:59:48Z by SystemAdmin
  • Jasi
    Jasi
    241 Posts
    ACCEPTED ANSWER

    Re: Access OSGI Service from Portlet

    ‏2013-01-12T18:33:20Z  in response to SystemAdmin
    So what exactly is this OSGI service and how are you planning to access it? What particular part you think may not be supported.
    • SystemAdmin
      SystemAdmin
      30895 Posts
      ACCEPTED ANSWER

      Re: Access OSGI Service from Portlet

      ‏2013-01-14T16:20:14Z  in response to Jasi
      It is OSGI developed custom service .deployed in application server. I am looking simply to have web bundle to lookup for this service inside portal server from jsr286 portlet.what I think OSGI portlet is not supported (to have a web bundle contains portlet)
      • SystemAdmin
        SystemAdmin
        30895 Posts
        ACCEPTED ANSWER

        Re: Access OSGI Service from Portlet

        ‏2013-01-14T20:59:48Z  in response to SystemAdmin
        Facing exception NamingManager.getURLContext cannot find the factory for this scheme: osgi.
        when lookup for a osgi service from JSR Portlet using the below JNDI lookup .
        ctx.lookup( "osgi:service/com.ibm.ws.eba.example.blog.persistence.api"));

        Please advice.