chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: open CMIS server framework 0.11 - WebSphere deployment
Date Fri, 04 Jul 2014 13:53:45 GMT
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 with 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 stack
> traces. There are 3 scenarios -- 
> 1. without xerces & jaxp
> 2. with xerces
> 3. with jaxp
> 
> The 3rd option looks the most promising.
> 
> Thanks again
> Alex
> 
> 
> On Thursday, July 3, 2014 9:01 PM, Florian Müller <fmui@apache.org> wrote:
> 
> 
> 
> Hi Alex,
> 
> Which WebSphere version you are using? Which Xerces/JAXP versions are you
> adding?
> Can you provide stack traces of the exceptions that OpenCMIS throws?
> 
> - Florian
> 
> 
> 
> > Hello,
> > 
> > When deploying an open CMIS server framework based application on Websphere,
> > I
> > need to include either xerces or jaxp to get around a similar problem as the
> > one discussed here -- The Standard Implementation for JAX-WS:
> > users@jax-ws.java.net: Archive — Project Kenai
> > 
> >    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 java.net Preview by Yahoo
> > 
> > 
> > I guess SAAJ api's internally depend on Sun's xerces implementation.
> > 
> > However, including xerces causes a conflict with open CMIS ( Error:
> > 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.
> > 
> > Based on my understanding then SAAJ needs to have a xerces impl from Sun on
> > Websphere. However both xerces or JAXP seem to conflict with open CMIS.
> > 
> > Any recommendations on how this could be resolved?
> > 
> > Thanks
> > Alex

Mime
View raw message