Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4AB9A200CD3 for ; Fri, 28 Jul 2017 17:07:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4918B16CF1E; Fri, 28 Jul 2017 15:07:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 848C116CF1A for ; Fri, 28 Jul 2017 17:07:14 +0200 (CEST) Received: (qmail 84017 invoked by uid 500); 28 Jul 2017 15:07:13 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 84006 invoked by uid 99); 28 Jul 2017 15:07:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2017 15:07:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 38478C33AC for ; Fri, 28 Jul 2017 15:07:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.2 X-Spam-Level: X-Spam-Status: No, score=-99.2 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id kpjyKdCfU_yA for ; Fri, 28 Jul 2017 15:07:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E08D061126 for ; Fri, 28 Jul 2017 15:07:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 495F8E0AF9 for ; Fri, 28 Jul 2017 15:07:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 35D4E24DCC for ; Fri, 28 Jul 2017 15:07:01 +0000 (UTC) Date: Fri, 28 Jul 2017 15:07:01 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-5130) Artemis Feature Johnzon dependency is not installed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Jul 2017 15:07:16 -0000 [ https://issues.apache.org/jira/browse/KARAF-5130?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1610= 5073#comment-16105073 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-5130: --------------------------------------------- I created a Artemis Jira: https://issues.apache.org/jira/browse/ARTEMIS-130= 9 and submitted a PR: https://github.com/apache/activemq-artemis/pull/1427 > Artemis Feature Johnzon dependency is not installed > --------------------------------------------------- > > Key: KARAF-5130 > URL: https://issues.apache.org/jira/browse/KARAF-5130 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 4.1.1 > Environment: Windows 10 > Reporter: Bernd Rosstauscher > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.2.0, 4.1.2 > > > Hi, > I have a problem in the artemis feature running on Karaf. It throws an ex= ception when I try to access the management queue via a JMS client. > The following excpection is then displayed in Karaf and the JMS client ge= ts a error message back. > {code} > java.lang.ExceptionInInitializerError > at org.apache.activemq.artemis.api.core.JsonUtil.toJSONArray(Json= Util.java:46) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.api.core.management.ManagementHelp= er.storeResult(ManagementHelper.java:181) ~[72:org.apache.activemq.artemis-= server-osgi:2.1.0] > at org.apache.activemq.artemis.core.server.management.impl.Manage= mentServiceImpl.handleMessage(ManagementServiceImpl.java:413) ~[72:org.apac= he.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .handleManagementMessage(ServerSessionImpl.java:1562) ~[72:org.apache.activ= emq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .send(ServerSessionImpl.java:1349) ~[72:org.apache.activemq.artemis-server-= osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .send(ServerSessionImpl.java:1295) ~[72:org.apache.activemq.artemis-server-= osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .send(ServerSessionImpl.java:1288) ~[72:org.apache.activemq.artemis-server-= osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.ServerSessionPa= cketHandler.handlePacket(ServerSessionPacketHandler.java:494) [72:org.apach= e.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImp= l.handlePacket(ChannelImpl.java:628) [72:org.apache.activemq.artemis-server= -osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.impl.RemotingCo= nnectionImpl.doBufferReceived(RemotingConnectionImpl.java:381) [72:org.apac= he.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.impl.RemotingCo= nnectionImpl.bufferReceived(RemotingConnectionImpl.java:363) [72:org.apache= .activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.remoting.server.impl.Remoting= ServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java= :631) [72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQC= hannelHandler.channelRead(ActiveMQChannelHandler.java:69) [72:org.apache.ac= tivemq.artemis-server-osgi:2.1.0] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:362) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:348) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead= (AbstractChannelHandlerContext.java:340) [60:io.netty.transport:4.1.9.Final= ] > at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(By= teToMessageDecoder.java:293) [54:io.netty.codec:4.1.9.Final] > at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteTo= MessageDecoder.java:267) [54:io.netty.codec:4.1.9.Final] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:362) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:348) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead= (AbstractChannelHandlerContext.java:340) [60:io.netty.transport:4.1.9.Final= ] > at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRea= d(DefaultChannelPipeline.java:1334) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:362) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:348) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.DefaultChannelPipeline.fireChannelRead(Defaul= tChannelPipeline.java:926) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read= (AbstractNioByteChannel.java:134) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventL= oop.java:624) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized= (NioEventLoop.java:559) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEvent= Loop.java:476) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [= 60:io.netty.transport:4.1.9.Final] > at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(Singl= eThreadEventExecutor.java:858) [57:io.netty.common:4.1.9.Final] > at java.lang.Thread.run(Thread.java:745) [?:?] > Caused by: javax.json.JsonException: org.apache.johnzon.core.JsonProvider= Impl not found > at javax.json.spi.JsonProvider.doLoadProvider(JsonProvider.java:1= 32) ~[84:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at javax.json.spi.JsonProvider.provider(JsonProvider.java:64) ~[8= 4:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:59) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at java.security.AccessController.doPrivileged(Native Method) ~[?= :?] > at org.apache.activemq.artemis.utils.JsonLoader.loadProvider(Json= Loader.java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader.(JsonLoad= er.java:49) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > ... 32 more > Caused by: java.lang.ClassNotFoundException: org.apache.johnzon.core.Json= ProviderImpl not found by org.apache.activemq.artemis-server-osgi [72] > at org.apache.felix.framework.BundleWiringImpl.findClassOrResourc= eByDelegation(BundleWiringImpl.java:1550) ~[?:?] > at org.apache.felix.framework.BundleWiringImpl.access$200(BundleW= iringImpl.java:79) ~[?:?] > at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.= loadClass(BundleWiringImpl.java:1958) ~[?:?] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?] > at javax.json.spi.JsonProvider.doLoadProvider(JsonProvider.java:1= 29) ~[84:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at javax.json.spi.JsonProvider.provider(JsonProvider.java:64) ~[8= 4:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:59) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at java.security.AccessController.doPrivileged(Native Method) ~[?= :?] > at org.apache.activemq.artemis.utils.JsonLoader.loadProvider(Json= Loader.java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader.(JsonLoad= er.java:49) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > ... 32 more > {code} > Seems there is a class missing and cannot be loaded. > I'm unexperienced regarding Karaf and have only little OSGI knowledge so = I cannot really tell what is wrong here. > Sending and receiving "normal" messages works only the management message= s seem to make problems. > Should I file this here or at the artemis project? > Best regards, > - Bernd Rosstauscher > Detailed description to reproduce this=20 > =09=09 > Fresh extracted Apache Karaf 4.1.1 > Now check the bundles=20 > {code} > karaf@root()> bundle:list > START LEVEL 100 , List Threshold: 50 > ID | State | Lvl | Version | Name > ---+--------+-----+---------+--------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------- > 28 | Active | 80 | 4.1.1 | Apache Karaf :: OSGi Services :: Event > {code} > Now install Apache Artemis feature > {code} > karaf@root()> feature:repo-add artemis > Adding feature url mvn:org.apache.activemq/artemis-features/RELEASE/xml/f= eatures > karaf@root()> feature:install artemis > {code} > Check the features and the bundles > {code} > karaf@root()> feature:list -i -o > Name | Version | Required | State | Reposit= ory | Description > -----------------------------+-------------+----------+---------+--------= ----------+-------------------------------------------------- > aries-blueprint | 4.1.1 | x | Started | standar= d-4.1.1 | Aries Blueprint > aries-proxy | 4.1.1 | | Started | standar= d-4.1.1 | Aries Proxy > bundle | 4.1.1 | x | Started | standar= d-4.1.1 | Provide Bundle support > config | 4.1.1 | x | Started | standar= d-4.1.1 | Provide OSGi ConfigAdmin support > deployer | 4.1.1 | x | Started | standar= d-4.1.1 | Karaf Deployer > diagnostic | 4.1.1 | x | Started | standar= d-4.1.1 | Provide Diagnostic support > eventadmin | 4.1.1 | x | Started | standar= d-4.1.1 | OSGi Event Admin service specification for event- > feature | 4.1.1 | x | Started | standar= d-4.1.1 | Features Support > instance | 4.1.1 | x | Started | standar= d-4.1.1 | Provide Instance support > jaas | 4.1.1 | x | Started | standar= d-4.1.1 | Provide JAAS support > kar | 4.1.1 | x | Started | standar= d-4.1.1 | Provide KAR (KARaf archive) support > log | 4.1.1 | x | Started | standar= d-4.1.1 | Provide Log support > management | 4.1.1 | x | Started | standar= d-4.1.1 | Provide a JMX MBeanServer and a set of MBeans in > package | 4.1.1 | x | Started | standar= d-4.1.1 | Package commands and mbeans > scr | 4.1.1 | | Started | standar= d-4.1.1 | Declarative Service support > service | 4.1.1 | x | Started | standar= d-4.1.1 | Provide Service support > shell | 4.1.1 | x | Started | standar= d-4.1.1 | Karaf Shell > shell-compat | 4.1.1 | x | Started | standar= d-4.1.1 | Karaf Shell Compatibility > ssh | 4.1.1 | x | Started | standar= d-4.1.1 | Provide a SSHd server on Karaf > system | 4.1.1 | x | Started | standar= d-4.1.1 | Provide System support > wrap | 0.0.0 | x | Started | standar= d-4.1.1 | Wrap URL handler > transaction | 2.0.0 | | Started | enterpr= ise-4.1.1 | OSGi Transaction Manager > transaction-api | 1.2.0 | | Started | enterpr= ise-4.1.1 | > transaction-manager-geronimo | 1.3.2 | | Started | enterpr= ise-4.1.1 | Geronimo Transaction Manager > artemis | 2.1.0 | x | Started | artemis= -2.1.0 | Full ActiveMQ Artemis broker with default configu > artemis-amqp | 2.1.0 | | Started | artemis= -2.1.0 | ActiveMQ Artemis AMQP protocol libraries > artemis-core | 2.1.0 | | Started | artemis= -2.1.0 | ActiveMQ Artemis broker libraries > artemis-hornetq | 2.1.0 | | Started | artemis= -2.1.0 | ActiveMQ Artemis HornetQ protocol libraries > artemis-mqtt | 2.1.0 | | Started | artemis= -2.1.0 | ActiveMQ Artemis MQTT protocol libraries > artemis-openwire | 2.1.0 | | Started | artemis= -2.1.0 | ActiveMQ Artemis HornetQ protocol libraries > artemis-stomp | 2.1.0 | | Started | artemis= -2.1.0 | ActiveMQ Artemis Stomp protocol libraries > netty-core | 4.1.9.Final | | Started | artemis= -2.1.0 | Netty libraries > {code} > and the bundles=20 > {code} > karaf@root()> bundle:list > START LEVEL 100 , List Threshold: 50 > ID | State | Lvl | Version | Name > ---+--------+-----+---------------+--------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------- > 28 | Active | 80 | 4.1.1 | Apache Karaf :: OSGi Services :: Even= t > 52 | Active | 80 | 19.0.0 | Guava: Google Core Libraries for Java > 53 | Active | 80 | 4.1.9.Final | Netty/Buffer > 54 | Active | 80 | 4.1.9.Final | Netty/Codec > 55 | Active | 80 | 4.1.9.Final | Netty/Codec/HTTP > 56 | Active | 80 | 4.1.9.Final | Netty/Codec/MQTT > 57 | Active | 80 | 4.1.9.Final | Netty/Common > 58 | Active | 80 | 4.1.9.Final | Netty/Handler > 59 | Active | 80 | 4.1.9.Final | Netty/Resolver > 60 | Active | 80 | 4.1.9.Final | Netty/Transport > 61 | Active | 80 | 4.1.9.Final | Netty/Transport/Native/Epoll > 62 | Active | 80 | 3.0.0 | Expression Language 3.0 API > 63 | Active | 80 | 1.2.0 | CDI APIs > 64 | Active | 80 | 1.2 | javax.interceptor API > 65 | Active | 80 | 1.2 | javax.transaction API > 66 | Active | 80 | 2.1.0 | ActiveMQ Artemis AMQP Protocol > 67 | Active | 80 | 2.1.0 | ActiveMQ Artemis HornetQ Protocol > 68 | Active | 80 | 2.1.0 | ActiveMQ Artemis HQClient Protocol > 69 | Active | 80 | 2.1.0 | ActiveMQ Artemis MQTT Protocol > 70 | Active | 80 | 2.1.0 | ActiveMQ Artemis Native POM > 71 | Active | 80 | 2.1.0 | ActiveMQ Artemis OpenWire Protocol > 72 | Active | 80 | 2.1.0 | ActiveMQ Artemis Server OSGi > 73 | Active | 80 | 2.1.0 | ActiveMQ Artemis STOMP Protocol > 74 | Active | 80 | 1.1.1 | Apache Aries Transaction Blueprint > 75 | Active | 80 | 2.1.0 | Apache Aries Transaction Blueprint > 76 | Active | 80 | 1.3.2 | Apache Aries Transaction Manager > 77 | Active | 80 | 1.9.2 | Apache Commons BeanUtils > 78 | Active | 80 | 3.2.2 | Apache Commons Collections > 79 | Active | 80 | 1.0.2 | Apache Felix Coordinator Service > 82 | Active | 80 | 1.0.1 | geronimo-j2ee-management_1.1_spec > 83 | Active | 80 | 1.0.0.alpha-2 | Apache Geronimo JMS Spec 2.0 > 84 | Active | 80 | 1.0.0.alpha-1 | Apache Geronimo JSon Spec 1.0 > 88 | Active | 80 | 0.22.0 | QpidJMS Client > 89 | Active | 80 | 0.18.0 | Proton-J > 90 | Active | 80 | 1.0.0.2 | Apache ServiceMix :: Bundles :: javax= .inject > 91 | Active | 80 | 1.11.0 | hawtbuf > 92 | Active | 80 | 3.6.13.Final | JGroups > {code} > Please note that there is no bundle for the org.apache.johnzon JSON imple= mentation but there should be one I think? > When I connect to the Artemis broker management.queue to list the queues = available I get an exception > {code} > karaf@root()> exception-display > java.lang.ExceptionInInitializerError > at org.apache.activemq.artemis.api.core.JsonUtil.toJSONArray(Json= Util.java:46) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.api.core.management.ManagementHelp= er.storeResult(ManagementHelper.java:181) ~[72:org.apache.activemq.artemis-= server-osgi:2.1.0] > at org.apache.activemq.artemis.core.server.management.impl.Manage= mentServiceImpl.handleMessage(ManagementServiceImpl.java:413) ~[72:org.apac= he.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .handleManagementMessage(ServerSessionImpl.java:1562) ~[72:org.apache.activ= emq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .send(ServerSessionImpl.java:1349) ~[72:org.apache.activemq.artemis-server-= osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .send(ServerSessionImpl.java:1295) ~[72:org.apache.activemq.artemis-server-= osgi:2.1.0] > at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl= .send(ServerSessionImpl.java:1288) ~[72:org.apache.activemq.artemis-server-= osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.ServerSessionPa= cketHandler.handlePacket(ServerSessionPacketHandler.java:494) [72:org.apach= e.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImp= l.handlePacket(ChannelImpl.java:628) [72:org.apache.activemq.artemis-server= -osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.impl.RemotingCo= nnectionImpl.doBufferReceived(RemotingConnectionImpl.java:381) [72:org.apac= he.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.protocol.core.impl.RemotingCo= nnectionImpl.bufferReceived(RemotingConnectionImpl.java:363) [72:org.apache= .activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.remoting.server.impl.Remoting= ServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java= :631) [72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQC= hannelHandler.channelRead(ActiveMQChannelHandler.java:69) [72:org.apache.ac= tivemq.artemis-server-osgi:2.1.0] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:362) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:348) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead= (AbstractChannelHandlerContext.java:340) [60:io.netty.transport:4.1.9.Final= ] > at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(By= teToMessageDecoder.java:293) [54:io.netty.codec:4.1.9.Final] > at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteTo= MessageDecoder.java:267) [54:io.netty.codec:4.1.9.Final] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:362) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:348) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead= (AbstractChannelHandlerContext.java:340) [60:io.netty.transport:4.1.9.Final= ] > at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRea= d(DefaultChannelPipeline.java:1334) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:362) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRe= ad(AbstractChannelHandlerContext.java:348) [60:io.netty.transport:4.1.9.Fin= al] > at io.netty.channel.DefaultChannelPipeline.fireChannelRead(Defaul= tChannelPipeline.java:926) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read= (AbstractNioByteChannel.java:134) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventL= oop.java:624) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized= (NioEventLoop.java:559) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEvent= Loop.java:476) [60:io.netty.transport:4.1.9.Final] > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [= 60:io.netty.transport:4.1.9.Final] > at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(Singl= eThreadEventExecutor.java:858) [57:io.netty.common:4.1.9.Final] > at java.lang.Thread.run(Thread.java:745) [?:?] > Caused by: javax.json.JsonException: org.apache.johnzon.core.JsonProvider= Impl not found > at javax.json.spi.JsonProvider.doLoadProvider(JsonProvider.java:1= 32) ~[84:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at javax.json.spi.JsonProvider.provider(JsonProvider.java:64) ~[8= 4:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:59) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at java.security.AccessController.doPrivileged(Native Method) ~[?= :?] > at org.apache.activemq.artemis.utils.JsonLoader.loadProvider(Json= Loader.java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader.(JsonLoad= er.java:49) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > ... 32 more > Caused by: java.lang.ClassNotFoundException: org.apache.johnzon.core.Json= ProviderImpl not found by org.apache.activemq.artemis-server-osgi [72] > at org.apache.felix.framework.BundleWiringImpl.findClassOrResourc= eByDelegation(BundleWiringImpl.java:1550) ~[?:?] > at org.apache.felix.framework.BundleWiringImpl.access$200(BundleW= iringImpl.java:79) ~[?:?] > at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.= loadClass(BundleWiringImpl.java:1958) ~[?:?] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?] > at javax.json.spi.JsonProvider.doLoadProvider(JsonProvider.java:1= 29) ~[84:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at javax.json.spi.JsonProvider.provider(JsonProvider.java:64) ~[8= 4:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:59) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader$1.run(JsonLoader.= java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at java.security.AccessController.doPrivileged(Native Method) ~[?= :?] > at org.apache.activemq.artemis.utils.JsonLoader.loadProvider(Json= Loader.java:53) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > at org.apache.activemq.artemis.utils.JsonLoader.(JsonLoad= er.java:49) ~[72:org.apache.activemq.artemis-server-osgi:2.1.0] > ... 32 more > {code} > =09=09 > It now look like the org.apache.johnzon.core.JsonProviderImpl class canno= t be found and loaded. > =09=09=09 > When I look at the feature that I found on github=20 > https://github.com/apache/activemq-artemis/blob/2.1.0/artemis-features/sr= c/main/resources/features.xml > I see this=20 > {code} > ...snip... > > =09=09transaction > =09=09netty-core > =09=09scr > =09=09mvn:o= rg.apache.activemq/artemis-features/${pom.version}/cfg > =09=09mvn:org.apache.activemq/a= rtemis-features/${pom.version}/xml/artemis > =09=09mvn:org.apache.geronimo.specs/geronimo-= jms_2.0_spec/${geronimo.jms.2.spec.version} > =09=09mvn:com.google.guava/guava/${guava.vers= ion} > =09=09mvn:io.netty/netty-codec-http/${netty.v= ersion} > =09=09mvn:commons-beanutils/commons-beanutils= /${commons.beanutils.version} > =09=09mvn:commons-collections/commons-collect= ions/${commons.collections.version} > =09=09mvn:org.jboss.logging/jboss-logging/${j= boss.logging.version} > =09=09mvn:org.jgroups/jgroups/${jgroups.versi= on} > =09=09mvn:org.apache.geronimo.specs/geronimo-= json_1.0_spec/${json-p.spec.version} > =09=09mvn:org.apache.johnzon/johnzon-core/${j= ohnzon.version} > =09=09mvn:org.apache.activemq/artemis-native/${pom.version} > =09=09mvn:org.apache.activemq/artemis-server-osgi/${pom.version}<= /bundle> > > ...snip... > {code} > And there I have as a bundle the johnzon dependency listed. Why Is it the= n not installed and available as bundle in Karaf? > Is this a problem in Karaf feature resolving or in the artemis packaging = or do I do something wrong? -- This message was sent by Atlassian JIRA (v6.4.14#64029)