Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2030217324 for ; Sat, 9 Jan 2016 13:08:41 +0000 (UTC) Received: (qmail 70699 invoked by uid 500); 9 Jan 2016 13:08:40 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 70519 invoked by uid 500); 9 Jan 2016 13:08:40 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Received: (qmail 69493 invoked by uid 99); 9 Jan 2016 13:08:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2016 13:08:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E9EC52C1F5D for ; Sat, 9 Jan 2016 13:08:39 +0000 (UTC) Date: Sat, 9 Jan 2016 13:08:39 +0000 (UTC) From: "Andreas Veithen (JIRA)" To: dev@ws.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AXIOM-480) Don't wrap the stax api and implemenation jars in the Abdera-Parser MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIOM-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Veithen updated AXIOM-480: ---------------------------------- Component/s: FOM > Don't wrap the stax api and implemenation jars in the Abdera-Parser > ------------------------------------------------------------------- > > Key: AXIOM-480 > URL: https://issues.apache.org/jira/browse/AXIOM-480 > Project: Axiom > Issue Type: Improvement > Components: FOM > Reporter: Willem Jiang > Attachments: ABDERA-291.patch > > > When I try the Abdera paraser 1.1.3-RC1 with the Karaf 2.2.4 and Camel 2.9.0-RC2-SNAPSHOT, I got the below error > {code} > 2011-10-28 15:48:21,856 | WARN | r.gov/cap/us.php | UnitOfWorkProcessor | el.processor.UnitOfWorkProcessor 114 | 62 - org.apache.camel.camel-core - 2.9.0.RC2-SNAPSHOT | Caught unhandled exception while processing ExchangeId: ID-WillemMacBookPro-53435-1319788096112-0-1 > javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxOutputFactory cannot be located. Classloader =BundleDelegatingClassLoader for [null (camel-context.xml)] > at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:120)[60:org.apache.servicemix.specs.stax-api-1.0:1.8.0] > at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:109)[60:org.apache.servicemix.specs.stax-api-1.0:1.8.0] > at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:54)[60:org.apache.servicemix.specs.stax-api-1.0:1.8.0] > at javax.xml.stream.XMLOutputFactory.newInstance(XMLOutputFactory.java:29)[60:org.apache.servicemix.specs.stax-api-1.0:1.8.0] > at org.apache.axiom.om.util.StAXUtils$8.run(StAXUtils.java:633)[75:org.apache.ws.commons.axiom.axiom-api:1.2.12] > at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_26] > at org.apache.axiom.om.util.StAXUtils.newXMLOutputFactory(StAXUtils.java:623)[75:org.apache.ws.commons.axiom.axiom-api:1.2.12] > at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory_perClassLoader(StAXUtils.java:687)[75:org.apache.ws.commons.axiom.axiom-api:1.2.12] > at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:326)[75:org.apache.ws.commons.axiom.axiom-api:1.2.12] > at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:291)[75:org.apache.ws.commons.axiom.axiom-api:1.2.12] > at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:414)[75:org.apache.ws.commons.axiom.axiom-api:1.2.12] > at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:409)[75:org.apache.ws.commons.axiom.axiom-api:1.2.12] > at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:995) > at org.apache.camel.impl.converter.ToStringTypeConverter.convertTo(ToStringTypeConverter.java:60)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.converter.ToStringTypeConverter.convertTo(ToStringTypeConverter.java:67)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:190)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:103)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:92)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.core.osgi.OsgiTypeConverter.convertTo(OsgiTypeConverter.java:98) > at org.apache.camel.util.MessageHelper.extractBodyForLogging(MessageHelper.java:233)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.MessageHelper.extractBodyForLogging(MessageHelper.java:176)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.MessageHelper.extractBodyForLogging(MessageHelper.java:143)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.DefaultMessage.toString(DefaultMessage.java:47)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at java.lang.String.valueOf(String.java:2826)[:1.6.0_26] > at java.lang.StringBuilder.append(StringBuilder.java:115)[:1.6.0_26] > at org.apache.camel.impl.DefaultExchange.toString(DefaultExchange.java:80)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at java.lang.String.valueOf(String.java:2826)[:1.6.0_26] > at java.lang.StringBuilder.append(StringBuilder.java:115)[:1.6.0_26] > at org.apache.camel.RuntimeExchangeException.createMessage(RuntimeExchangeException.java:49)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.RuntimeExchangeException.(RuntimeExchangeException.java:34)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.CamelExecutionException.(CamelExecutionException.java:35)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1195)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:282)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:315)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:71)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:92)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:321)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:212)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:304)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:102)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:71)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:61)[81:org.apache.camel.camel-atom:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:136)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:91)[62:org.apache.camel.camel-core:2.9.0.RC2-SNAPSHOT] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_26] > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_26] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_26] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_26] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)[:1.6.0_26] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)[:1.6.0_26] > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26] > at java.lang.Thread.run(Thread.java:680)[:1.6.0_26] > {code} > This error is gone if I install the stax implementation. > As there are lots other bundle have the dependencies on the stax API, it could be convince if the Abdera-Parser uses the stax api from OSGi container. > I sugest that we don't embed the stax api and stax implementation in the Abdera-Parser. > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org For additional commands, e-mail: dev-help@ws.apache.org