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 F0891200CE1 for ; Thu, 31 Aug 2017 21:17:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EF1F616BC3C; Thu, 31 Aug 2017 19:17:10 +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 1F78916BC35 for ; Thu, 31 Aug 2017 21:17:09 +0200 (CEST) Received: (qmail 21826 invoked by uid 500); 31 Aug 2017 19:17:09 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 21707 invoked by uid 99); 31 Aug 2017 19:17:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2017 19:17:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A09AAC356D for ; Thu, 31 Aug 2017 19:17:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id eK60B80qCcLy for ; Thu, 31 Aug 2017 19:17:05 +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 88AA25FCC1 for ; Thu, 31 Aug 2017 19:17: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 0D389E0E6E for ; Thu, 31 Aug 2017 19:17:05 +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 60F6224166 for ; Thu, 31 Aug 2017 19:17:04 +0000 (UTC) Date: Thu, 31 Aug 2017 19:17:04 +0000 (UTC) From: "clebert suconic (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ARTEMIS-1309) artemis-server-osgi should explicitly import johnzon.core package MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 31 Aug 2017 19:17:11 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-1309?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] clebert suconic updated ARTEMIS-1309: ------------------------------------- Fix Version/s: (was: 2.3.0) 2.4.0 > artemis-server-osgi should explicitly import johnzon.core package > ----------------------------------------------------------------- > > Key: ARTEMIS-1309 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1309 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: osgi > Affects Versions: 2.1.0, 2.2.0 > Reporter: Jean-Baptiste Onofr=C3=A9 > Fix For: 2.4.0 > > > The artemis karaf features defines johnzon bundle. However, the artemis-s= erver-osgi bundle doesn't import {{johnzon.core}} package. It causes the fo= llowing exception when trying to manage the queues: > {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} -- This message was sent by Atlassian JIRA (v6.4.14#64029)