karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mathews ma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3445) JNDI can not init in web application
Date Thu, 15 Jan 2015 05:25:34 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278277#comment-14278277
] 

mathews ma commented on KARAF-3445:
-----------------------------------

but in 2.3.3, init JNDI in web application is ok. It seems the bundle org.apache.karaf.jndi.core/3.0.2
and xbean-naming/3.18 bring some errors under this scenario.

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

Mime
View raw message