aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARIES-917) Exception when using JNDI without Blueprint bundle installed
Date Wed, 21 Feb 2018 09:03:00 GMT

     [ https://issues.apache.org/jira/browse/ARIES-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet resolved ARIES-917.
-----------------------------------
    Resolution: Duplicate
      Assignee: Guillaume Nodet

> Exception when using JNDI without Blueprint bundle installed
> ------------------------------------------------------------
>
>                 Key: ARIES-917
>                 URL: https://issues.apache.org/jira/browse/ARIES-917
>             Project: Aries
>          Issue Type: Bug
>          Components: JNDI
>         Environment: Aries util 1.0.0
>            Reporter: David Bosschaert
>            Assignee: Guillaume Nodet
>            Priority: Minor
>
> Aries JNDI has an optional dependency on {{org.osgi.service.blueprint.container.BlueprintContainer}}.
> However, when running JNDI without Blueprint installed, the following exception appears.
Outside of the blueprint integration, the component runs fine, so this should really be converted
into an INFO log message.
> {code}java.lang.ClassNotFoundException: org.osgi.service.blueprint.container.BlueprintContainer
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
> 	at org.apache.aries.jndi.url.Activator.start(Activator.java:52)
> 	at org.apache.aries.jndi.priv.Activator.start(Activator.java:38)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
> 	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
> 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> 	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message