karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédérik ROULEAU (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-4804) Package org.apache.felix.metatype do not deploy properly
Date Thu, 12 Oct 2017 14:57:00 GMT

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

Frédérik ROULEAU commented on KARAF-4804:
-----------------------------------------

No there is no security manager. As I had the problem randomly and only on a slow mono-core
VM, I thought about a kind of race condition during the starts of the server but my knowledge
of Karaf's internal are not good enough to go deeper.

> Package org.apache.felix.metatype do not deploy properly
> --------------------------------------------------------
>
>                 Key: KARAF-4804
>                 URL: https://issues.apache.org/jira/browse/KARAF-4804
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.0.5, 4.0.7
>         Environment: Linux EL6, java 1.8.0u101
>            Reporter: Frédérik ROULEAU
>            Assignee: Jean-Baptiste Onofré
>
> I can unfortunatly randomly reproduce the error and only on a quite slow mono-core linux
VM; When it occure, the bundle org.apache.felix.metatype does not deploy due to an unknown
mvn protocol error. Then karaf is not listening on its RMI port.
> Here is log :
> {code}
> INFO   | jvm 1    | 2016/10/25 12:10:08 | org.apache.karaf.features.internal.util.MultiException:
Error restarting bundles
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:848)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       at java.lang.Thread.run(Thread.java:745)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       Suppressed: org.osgi.framework.BundleException:
Activator start error in bundle org.apache.felix.metatype [34].
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.Felix.activateBundle(Felix.java:2276)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.Felix.startBundle(Felix.java:2144)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:126
> 2)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               ... 6 more
> INFO   | jvm 1    | 2016/10/25 12:10:08 |       Caused by: java.lang.IllegalStateException:
Unknown protocol: mvn
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.j
> ava:482)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.j
> ava:474)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at java.net.URL.toExternalForm(URL.java:929)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at java.net.URL.toString(URL.java:915)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at java.lang.ClassLoader.defineClassSourceLocation(ClassLoader.java:678)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at java.lang.ClassLoader.defineClass(ClassLoader.java:762)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2370)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2154)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1542)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1415)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4468)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               at org.apache.felix.framework.Felix.activateBundle(Felix.java:2221)
> INFO   | jvm 1    | 2016/10/25 12:10:08 |               ... 11 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message