[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-666) Cannot lookup owner context using standard naming API
Arcadiy Ivanov (JIRA)
issues at jboss.org
Wed May 11 13:30:00 EDT 2016
[ https://issues.jboss.org/browse/JBOSGI-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arcadiy Ivanov resolved JBOSGI-666.
-----------------------------------
Fix Version/s: JBossOSGI 2.5.2
JBossOSGI 2.4.2
Resolution: Done
> 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
> Components: jndi
> Affects Versions: JBossOSGi 2.0.0
> Reporter: Thomas Diesler
> Assignee: Arcadiy Ivanov
> Fix For: JBossOSGI 2.5.2, JBossOSGI 2.4.2
>
>
> {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 was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-osgi-issues
mailing list