Uploaded image for project: 'JBoss OSGi'
  1. JBoss OSGi
  2. JBOSGI-666

Cannot lookup owner context using standard naming API

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossOSGi 2.0.0
    • Component/s: jndi
    • Labels:
      None

      Description

      Context initialContext = new InitialContext();
      BundleContext context = (BundleContext) initialContext.lookup("osgi:framework/bundleContext");
      

      fails with

      testTraditionalAPIOwnerContext(org.jboss.test.osgi.example.jndi.NamingStandaloneTestCase)  Time elapsed: 0.062 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<BundleContext[jndi-tests:0.0.0]> but was:<BundleContext[arquillian-osgi-bundle:2.0.0.CR4]>
      

        Attachments

          Activity

            People

            Assignee:
            arcivanov Arcadiy Ivanov (Inactive)
            Reporter:
            thomas.diesler Thomas Diesler
            Archiver:
            samahaja Sagar Mahajan

              Dates

              Created:
              Updated:
              Resolved:
              Archived: