[JBoss JIRA] (JBOSGI-666) Cannot lookup owner context using standard naming API
by Thomas Diesler (JIRA)
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
10 years, 10 months