[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-666) Cannot lookup owner context using standard naming API

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Jun 28 04:23:20 EDT 2013


Thomas Diesler created JBOSGI-666:
-------------------------------------

             Summary: Cannot lookup owner context using standard naming API
                 Key: JBOSGI-666
                 URL: https://issues.jboss.org/browse/JBOSGI-666
             Project: JBoss OSGi
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JNDI
    Affects Versions: JBossOSGi 2.0.0
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler


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

fails with 

{code}
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]>
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-osgi-issues mailing list