After some brainstorming we decided to run the Web application on Tomcat 
6.0. And it works.

So we think that this is an issue with WebSphere Application Server. There 
is some 'class' incompatiblity. In case, if you are curious what the 
exception is ..


[12/16/10 9:24:08:656 EST] 00000022 FindDocuments E 
[com.syscom.ecm.RESTATOM.FindDocumentsATOM] [reportError:136] ECM1003: ECM 
service log error: null
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R 
org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: 
Parsing exception!
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.parse(
AbstractAtomPubService.java:460)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(
AbstractAtomPubService.java:636)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfo(
RepositoryServiceImpl.java:79)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfo(
RepositoryServiceImpl.java:69)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl.connect(
PersistentSessionImpl.java:525)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(
SessionFactoryImpl.java:86)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
com.syscom.ecm.ContentFunctionManager.createApacheChemistryConnectionAtom(
ContentFunctionManager.java:2247)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
com.syscom.ecm.ContentFunctionManager.findDocumentsCMIS_2(
ContentFunctionManager.java:328)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
com.syscom.ecm.RESTATOM.FindDocumentsATOM.doPost(FindDocumentsATOM.java:94
)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
com.syscom.ecm.RESTATOM.FindDocumentsATOM.doGet(FindDocumentsATOM.java:53)
[12/16/10 9:24:08:609 EST] 00000022 SystemErr     R     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
ServletWrapper.java:989)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:501)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:464)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(
WebContainer.java:1439)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112
)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(
HttpInboundLink.java:454)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(
HttpInboundLink.java:383)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(
HttpInboundLink.java:263)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(
NewConnectionInitialReadCallback.java:214)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(
NewConnectionInitialReadCallback.java:113)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(
AioReadCompletionListener.java:165)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
AbstractAsyncFuture.java:217)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(
AsyncChannelFuture.java:161)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(
ResultHandler.java:743)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R     at 
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[12/16/10 9:24:08:625 EST] 00000022 SystemErr     R Caused by: 
java.lang.IllegalArgumentException: Unrecognized property 
'javax.xml.stream.isInterning'
        at com.ctc.wstx.api.CommonConfig.getProperty(CommonConfig.java:81)
        at com.ctc.wstx.sr.BasicStreamReader.getProperty(
BasicStreamReader.java:578)
        at com.ctc.wstx.sr.ValidatingStreamReader.getProperty(
ValidatingStreamReader.java:177)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.create(
StAXStreamConnector.java:67)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(
UnmarshallerImpl.java:329)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(
UnmarshallerImpl.java:311)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.unmarshalElement(
AtomPubParser.java:348)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parseWorkspaceElement(
AtomPubParser.java:399)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parseWorkspace(
AtomPubParser.java:172)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parseServiceDoc(
AtomPubParser.java:142)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parse(
AtomPubParser.java:106)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.parse(
AbstractAtomPubService.java:458)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(
AbstractAtomPubService.java:636)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfo(
RepositoryServiceImpl.java:79)
        at 
org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfo(
RepositoryServiceImpl.java:69)
        at 
org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl.connect(
PersistentSessionImpl.java:525)
        at 
org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(
SessionFactoryImpl.java:86)
        at 
com.syscom.ecm.ContentFunctionManager.createApacheChemistryConnectionAtom(
ContentFunctionManager.java:2247)
        at com.syscom.ecm.ContentFunctionManager.findDocumentsCMIS_2(
ContentFunctionManager.java:328)
        at com.syscom.ecm.RESTATOM.FindDocumentsATOM.doPost(
FindDocumentsATOM.java:94)
        at com.syscom.ecm.RESTATOM.FindDocumentsATOM.doGet(
FindDocumentsATOM.java:53)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
ServletWrapper.java:989)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:501)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:464)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(
WebApp.java:3252)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(
WebGroup.java:264)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(
WebContainer.java:811)
        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(
WebContainer.java:1439)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(
WCChannelLink.java:112)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(
HttpInboundLink.java:454)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(
HttpInboundLink.java:383)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(
HttpInboundLink.java:263)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(
NewConnectionInitialReadCallback.java:214)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(
NewConnectionInitialReadCallback.java:113)
        at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(
AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(
AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(
ResultHandler.java:743)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

Thank you,
Sreeni

Sreenivas R Angara
SYSCOM Inc.,
[email protected]
Cell: (443) 986 4581



Florent Guillaume <[email protected]> 
12/16/2010 09:37 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Question on using Apache Chemistry






Hi,

How does it fail? Without details we cannot really help.

Florent

On Thu, Dec 16, 2010 at 3:11 PM,  <[email protected]> wrote:
> Hello all,
>
> I am working on using Apache Chemistry inside of Web app running on
> WebSphere Application Server 6.1.
>
> As a Java client outside of a J2EE container  it works just fine. 
However,
> inside of J2EE container it fails
>
> Has anyone encountered this problem.
>
>
> Thank you,
> Sreeni
>
> Sreenivas R Angara
> SYSCOM Inc.,
> [email protected]
> Cell: (443) 986 4581



-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Reply via email to