[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 Jul 5 01:26:26 EDT 2013


     [ https://issues.jboss.org/browse/JBOSGI-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated JBOSGI-666:
----------------------------------

    Assignee:     (was: Thomas Diesler)

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