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

Cannot lookup owner context using standard naming API

    Details

      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]>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                arcivanov Arcadiy Ivanov
                Reporter:
                thomas.diesler Thomas Diesler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: