[
https://issues.apache.org/jira/browse/KARAF-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360314#comment-14360314
]
Alexander Riss commented on KARAF-3445:
---------------------------------------
It looks like there was a patch on aries jndn.core which might have fixed this
issue:
https://github.com/apache/aries/commit/7f6baa58257bcba7863a9577f2b0b136d48f8025
The new version of jndi.core is already integrated into the karaf 3.0.4 branch
- so might be fixed already.
> JNDI can not init in web application
> ------------------------------------
>
> Key: KARAF-3445
> URL: https://issues.apache.org/jira/browse/KARAF-3445
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 3.0.2
> Environment: web application
> Reporter: mathews ma
> Priority: Critical
>
> please check the log:
> javax.naming.NoInitialContextException: Unable to find the
> InitialContextFactory org.eclipse.jetty.jndi.InitialContextFactory.
> at
> org.apache.aries.jndi.ContextHelper.getInitialContext(ContextHelper.java:148)
> at
> org.apache.aries.jndi.OSGiInitialContextFactoryBuilder.getInitialContext(OSGiInitialContextFactoryBuilder.java:49)
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
> at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)[:1.6.0_37]
> at javax.naming.InitialContext.init(InitialContext.java:223)[:1.6.0_37]
> at
> javax.naming.InitialContext.<init>(InitialContext.java:175)[:1.6.0_37]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)