Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-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 9035C11DFA for ; Fri, 4 Jul 2014 13:54:13 +0000 (UTC) Received: (qmail 58099 invoked by uid 500); 4 Jul 2014 13:54:13 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 58035 invoked by uid 500); 4 Jul 2014 13:54:13 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 58024 invoked by uid 99); 4 Jul 2014 13:54:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2014 13:54:13 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [87.230.106.24] (HELO vwp1524.webpack.hosteurope.de) (87.230.106.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2014 13:54:11 +0000 Received: from app08.ox.hosteurope.de ([92.51.170.15]); authenticated by vwp1524.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:RSA_ARCFOUR_MD5:16) id 1X33vt-0004fO-Ki; Fri, 04 Jul 2014 15:53:45 +0200 Date: Fri, 4 Jul 2014 15:53:45 +0200 (CEST) From: =?UTF-8?Q?Florian_M=C3=BCller?= Reply-To: =?UTF-8?Q?Florian_M=C3=BCller?= To: Alex Devasia , dev@chemistry.apache.org Message-ID: <913556759.15252.1404482025630.open-xchange@app08.ox.hosteurope.de> In-Reply-To: <1404408121.77010.YahooMailNeo@web120003.mail.ne1.yahoo.com> References: <1404400144.16121.YahooMailNeo@web120002.mail.ne1.yahoo.com> <630076642.14466.1404401441359.open-xchange@app08.ox.hosteurope.de> <1404408121.77010.YahooMailNeo@web120003.mail.ne1.yahoo.com> Subject: Re: open CMIS server framework 0.11 - WebSphere deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.4.2-Rev25 X-bounce-key: webpack.hosteurope.de;fmui@apache.org;1404482047;50292c89; X-Virus-Checked: Checked by ClamAV on apache.org Hi Alex, I think you need the jaxp-ri version 1.4.2 on the server. The AtomPub issue is probably something different. It might be an issue wit= h the StAX implementation. Please follow Marks recommendation and make sure that your classloader configuration is set to PARENT_LAST. - Florian > Thanks Florian. I am using WebSphere version 8.5. The attached doc has st= ack > traces. There are 3 scenarios --=C2=A0 > 1. without xerces & jaxp > 2. with xerces > 3. with jaxp >=20 > The 3rd option looks the most promising. >=20 > Thanks again > Alex >=20 >=20 > On Thursday, July 3, 2014 9:01 PM, Florian M=C3=BCller = wrote: >=20 >=20 >=20 > Hi Alex, >=20 > Which WebSphere version you are using? Which Xerces/JAXP versions are you > adding? > Can you provide stack traces of the exceptions that OpenCMIS throws? >=20 > - Florian >=20 >=20 >=20 > > Hello, > >=20 > > When deploying an open CMIS server framework based application on Websp= here, > > I > > need to include either xerces or jaxp to get around a similar problem a= s the > > one discussed here --=C2=A0The Standard Implementation for JAX-WS: > > users@jax-ws.java.net: Archive =E2=80=94 Project Kenai > >=20 > >=C2=A0 =C2=A0 The Standard Implementation for JAX-WS: users@jax-ws.... > > Use Advanced Search to search the entire archive. Re: Please help > > java.lang.NoClassDefFoundError: > > com.sun.org.apache.xerces.internal.dom.DocumentIm... > > View on=C2=A0java.net Preview by Yahoo > >=20 > >=20 > > I guess SAAJ api's internally depend on Sun's xerces implementation. > >=20 > > However, including xerces causes a conflict with open CMIS (=C2=A0Error= : > > javax.xml.parsers.DocumentBuilderFactory.setFeature) > > whereas including JAXP based on the link above seems to cause problems = with > > getRepositories specifically when using the atompub protocol. > >=20 > > Based on my understanding then SAAJ needs to have a xerces impl from Su= n on > > Websphere. However both xerces or JAXP seem to conflict with open CMIS. > >=20 > > Any recommendations on how this could be resolved? > >=20 > > Thanks > > Alex