Return-Path: X-Original-To: apmail-abdera-dev-archive@www.apache.org Delivered-To: apmail-abdera-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 DB0539772 for ; Mon, 28 Nov 2011 12:23:07 +0000 (UTC) Received: (qmail 91008 invoked by uid 500); 28 Nov 2011 12:23:07 -0000 Delivered-To: apmail-abdera-dev-archive@abdera.apache.org Received: (qmail 90979 invoked by uid 500); 28 Nov 2011 12:23:07 -0000 Mailing-List: contact dev-help@abdera.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@abdera.apache.org Delivered-To: mailing list dev@abdera.apache.org Received: (qmail 90971 invoked by uid 99); 28 Nov 2011 12:23:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 12:23:06 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 12:23:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2EF65A4D97 for ; Mon, 28 Nov 2011 12:22:40 +0000 (UTC) Date: Mon, 28 Nov 2011 12:22:40 +0000 (UTC) From: "pschulten (Commented) (JIRA)" To: dev@abdera.apache.org Message-ID: <1917275293.17398.1322482960193.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1507422142.11956.1300465230570.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ABDERA-284) Deprecated Axiom interface is used in FOMParser; Axiom version conflict: in compile-time 1.2.5 is used; in runtime (with dependencies through maven) 1.2.10; MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ABDERA-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158371#comment-13158371 ] pschulten commented on ABDERA-284: ---------------------------------- Yes, changing the class loader policy to parent_last (and going through classloading hell) resolves my issue with WebSphere7. Thanks for the info (and this awesome library). > Deprecated Axiom interface is used in FOMParser; Axiom version conflict: in compile-time 1.2.5 is used; in runtime (with dependencies through maven) 1.2.10; > ------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: ABDERA-284 > URL: https://issues.apache.org/jira/browse/ABDERA-284 > Project: Abdera > Issue Type: Bug > Affects Versions: 1.1, 1.1.1, 1.1.2 > Environment: tomcat6 > java1.6.0_22 > Reporter: Ilya A. Pimenov > Priority: Critical > Attachments: ABDERA-284-fix.diff > > > In FOMParser.java in getXMLInputFactory() method StAXUtils.getXMLInputFactory(StAXParserConfiguration) is used from Axiom-Api, which is there no more in axiom 1.2.10 (that is used as a dependency in root pom.xml). > Also about Axiom dependency: > In file - > trunk\dependencies\ deps.properties > you can find dependency to axiom-1.2.5 > axiom.api.jar=axiom-api-1.2.5.jar > axiom.impl.jar=axiom-impl-1.2.5.jar > While in pom.xml Axiom-1.2.10 is used (and their interfaces are a bit different) > > org.apache.ws.commons.axiom > axiom-api > 1.2.10 > > > org.apache.ws.commons.axiom > axiom-impl > 1.2.10 > > > javax.mail > mail > > > stax > stax-api > > > > ---- > For this reason, if you will follow directly this instructions - > https://cwiki.apache.org/confluence/display/ABDERA/Your+first+AtomPub+Server > with Abdera v >1.0 you will get > Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(Lorg/apache/axiom/om/util/StAXParserConfiguration;)Ljavax/xml/stream/XMLInputFactory; at org.apache.abdera.parser.stax.FOMParser.getXMLInputFactory(FOMParser.java:152) at org.apache.abdera.parser.stax.FOMParser.createXMLStreamReader(FOMParser.java:178) at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:143) at org.apache.abdera.protocol.client.AbstractClientResponse.getDocument(AbstractClientResponse.java:111) at org.apache.abdera.protocol.client.AbstractClientResponse.getDocument(AbstractClientResponse.java:89) at org.apache.abdera.protocol.client.AbstractClientResponse.getDocument(AbstractClientResponse.java:71) > The same problem is reported here - > http://stackoverflow.com/questions/5337162/apache-abdera-client-response-getdocument-method -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira