karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3967) Seemingly simple Karaf application fails with equinox as framework
Date Mon, 23 Nov 2015 15:20:11 GMT

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

Jean-Baptiste Onofré resolved KARAF-3967.
-----------------------------------------
    Resolution: Cannot Reproduce

I change the status on this Jira. If you can reproduce it on a simple test case that would
be really helpful (and so we will reopen this Jira).

> Seemingly simple Karaf application fails with equinox as framework
> ------------------------------------------------------------------
>
>                 Key: KARAF-3967
>                 URL: https://issues.apache.org/jira/browse/KARAF-3967
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.1
>         Environment: Java 1.8.
>            Reporter: Benson Margulies
>
> If you clone git@github.com:bimargulies/karaf-loop-tc.git, and checkout the 'equinox'
branch, and run mvn install with Maven 3.2.5, you will see the following exception, followed
by the test hanging. jstack shows all karaf threads sitting around, none of them are doing
anything. Eventually, pax-exam gives up and quits.
> {noformat}
> 2015-09-01 11:02:07,533 | WARN  | pool-1-thread-1  | Activator                      
 | 8 - org.apache.karaf.features.core - 4.0.1 | Error starting activator
> java.lang.IllegalStateException: BundleContext is no longer valid
> 	at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
> 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:463)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
> 	at org.apache.karaf.util.tracker.BaseActivator.registerMBean(BaseActivator.java:290)[8:org.apache.karaf.features.core:4.0.1]
> 	at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:262)[8:org.apache.karaf.features.core:4.0.1]
> 	at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:233)[8:org.apache.karaf.features.core:4.0.1]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_05]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_05]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_05]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_05]
> 	at java.lang.Thread.run(Thread.java:745)[:1.8.0_05]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message