karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Nichols (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3445) JNDI can not init in web application
Date Tue, 02 Jun 2015 15:13:19 GMT

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

Justin Nichols commented on KARAF-3445:
---------------------------------------

Same in Karaf 3.0.3:

Caused by: 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:684)
	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)[:1.8.0_45-internal]
	at javax.naming.InitialContext.init(InitialContext.java:244)[:1.8.0_45-internal]
	at javax.naming.InitialContext.<init>(InitialContext.java:192)[:1.8.0_45-internal]


> 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