[
https://issues.jboss.org/browse/JBOSGI-81?page=com.atlassian.jira.plugin....
]
Thomas Diesler commented on JBOSGI-81:
--------------------------------------
The
[
server.log|https://hudson.qa.jboss.com/hudson/view/JBossOSGi/job/jbosgi-r...]
says
{code}
07:01:56,248 INFO [org.apache.aries.jndi.startup.Activator] (pool-4-thread-1) It was not
possible to register an InitialContextFactoryBuilder with the NamingManager because
another builder called org.jboss.as.naming.InitialContextFactoryBuilder was already
registered. Support for calling new InitialContext() will not be enabled.:
java.lang.IllegalStateException: InitialContextFactoryBuilder already set
at javax.naming.spi.NamingManager.setInitialContextFactoryBuilder(NamingManager.java:692)
[rt.jar:1.6.0_30]
at org.apache.aries.jndi.startup.Activator.start(Activator.java:76)
at org.apache.aries.jndi.priv.Activator.start(Activator.java:38)
at
org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:300)
at
org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:223)
at
org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:488)
at
org.jboss.test.osgi.example.NamingSupport.provideJNDIIntegration(NamingSupport.java:45)
{code}
The root cause is AFAICS that the InitialContextFactoryBuilder singleton is already set in
the VM.
Compliant JNDI integration
--------------------------
Key: JBOSGI-81
URL:
https://issues.jboss.org/browse/JBOSGI-81
Project: JBoss OSGi
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Enterprise Services
Reporter: Thomas Diesler
Assignee: David Bosschaert
Fix For: JBossOSGi 1.0.1
Chapter 126 in the OSGi Enterprise Specification 4.2:
http://www.osgi.org/Download/Release4V42
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira