jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manav Kumar <manav_dun...@yahoo.com>
Subject Re: inconsistent behaviour of Repository with Webdav
Date Mon, 19 Dec 2011 13:16:27 GMT



From: Jukka Zitting <jukka.zitting@gmail.com>
To: users@jackrabbit.apache.org; Manav Kumar <manav_duniya@yahoo.com> 
Sent: Monday, December 19, 2011 2:48 PM
Subject: Re: inconsistent behaviour of Repository with Webdav


Hi ,

I would like to share two stack traces that i got on my client side while committing a
node.
Please note that I got only one of these errors while commiting one time and thus these different
errors appear individually but both for commiting.

When I commit for the first time the stack trace is as follows :-

Caused by: javax.jcr.RepositoryException: Unable to retrieve NodeInfo for http://manav:9080/ContentRepository/server/default/jcr%3aroot/MyRoot/Projects
at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:120)
at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:51)
at org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.getItemInfos(RepositoryServiceImpl.java:365)
at org.apache.jackrabbit.jcr2spi.state.WorkspaceItemStateFactory.createNodeState(WorkspaceItemStateFactory.java:93)
at org.apache.jackrabbit.jcr2spi.state.TransientISFactory.createNodeState(TransientISFactory.java:97)
at org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.doResolve(NodeEntryImpl.java:990)
at org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.resolve(HierarchyEntryImpl.java:134)
at org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.getItemState(HierarchyEntryImpl.java:253)
at org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.getItemState(NodeEntryImpl.java:71)
at org.apache.jackrabbit.jcr2spi.ItemManagerImpl.getItem(ItemManagerImpl.java:199)
at org.apache.jackrabbit.jcr2spi.NodeImpl.getNode(NodeImpl.java:423)
Caused by: org.apache.jackrabbit.webdav.DavException: Unable to retrieve NodeInfo for http://manav:9080/ContentRepository/server/default/jcr%3aroot/MyRoot/Projects
... 15 more
 
(and resource didn't got committed)
 
When I commit for the second time the stack trace is as follows :-

javax.jcr.InvalidItemStateException: Item 'org.apache.jackrabbit.jcr2spi.NodeImpl@15279e8'
doesn't exist anymore. (Status = INVALIDATED)
at org.apache.jackrabbit.jcr2spi.ItemImpl.checkStatus(ItemImpl.java:444)
at org.apache.jackrabbit.jcr2spi.NodeImpl.hasProperty(NodeImpl.java:614)
 
(and reource got commited)
 
 
I would also like to share the server log but please note that this also do not come every
time :-[12/19/11 17:48:53:359 IST] 0000001b LocalTranCoor E WLTC0017E: Resources rolled back
due to setRollbackOnly() being called.
[12/19/11 17:48:53:359 IST] 0000001b webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError
SRVE0293E: [Servlet Error]-[JCRWebdavServer]: java.lang.NullPointerException
at org.apache.jackrabbit.core.cache.ConcurrentCache$E.access$000(ConcurrentCache.java:47)
at org.apache.jackrabbit.core.cache.ConcurrentCache$1.removeEldestEntry(ConcurrentCache.java:72)
at java.util.LinkedHashMap.putImpl(LinkedHashMap.java:409)
at java.util.LinkedHashMap.put(LinkedHashMap.java:370)
at org.apache.jackrabbit.core.cache.ConcurrentCache.shrinkIfNeeded(ConcurrentCache.java:250)
at org.apache.jackrabbit.core.cache.ConcurrentCache.setMaxMemorySize(ConcurrentCache.java:232)
at org.apache.jackrabbit.core.cache.CacheManager.resizeAll(CacheManager.java:246)
at org.apache.jackrabbit.core.cache.CacheManager.cacheAccessed(CacheManager.java:150)
at org.apache.jackrabbit.core.cache.AbstractCache.recordCacheAccess(AbstractCache.java:122)
at org.apache.jackrabbit.core.cache.ConcurrentCache.get(ConcurrentCache.java:122)
at org.apache.jackrabbit.core.state.MLRUItemStateCache.retrieve(MLRUItemStateCache.java:71)
at org.apache.jackrabbit.core.state.ItemStateReferenceCache.retrieve(ItemStateReferenceCache.java:139)
at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:171)
at org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
at org.apache.jackrabbit.core.version.NodeStateEx.getPropertyValue(NodeStateEx.java:226)
at org.apache.jackrabbit.core.version.VersionManagerImplBase.getVersionHistory(VersionManagerImplBase.java:356)
at org.apache.jackrabbit.core.VersionManagerImpl.access$700(VersionManagerImpl.java:73)
at org.apache.jackrabbit.core.VersionManagerImpl$4.perform(VersionManagerImpl.java:184)
at org.apache.jackrabbit.core.VersionManagerImpl$4.perform(VersionManagerImpl.java:180)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.VersionManagerImpl.perform(VersionManagerImpl.java:96)
at org.apache.jackrabbit.core.VersionManagerImpl.getVersionHistory(VersionManagerImpl.java:180)
at org.apache.jackrabbit.core.NodeImpl.getVersionHistory(NodeImpl.java:2934)
at org.apache.jackrabbit.webdav.jcr.VersionControlledItemCollection.initProperties(VersionControlledItemCollection.java:597)
at org.apache.jackrabbit.webdav.jcr.AbstractResource.getProperties(AbstractResource.java:223)
at org.apache.jackrabbit.webdav.jcr.DefaultItemCollection.getProperties(DefaultItemCollection.java:97)
at org.apache.jackrabbit.webdav.jcr.AbstractResource.getProperty(AbstractResource.java:193)
at org.apache.jackrabbit.webdav.jcr.AbstractItemResource.getProperty(AbstractItemResource.java:105)
at org.apache.jackrabbit.webdav.jcr.DefaultItemCollection.getProperty(DefaultItemCollection.java:206)
at org.apache.jackrabbit.webdav.jcr.VersionControlledItemCollection.getProperty(VersionControlledItemCollection.java:121)
at org.apache.jackrabbit.webdav.MultiStatusResponse.<init>(MultiStatusResponse.java:186)
at org.apache.jackrabbit.webdav.MultiStatus.addResourceProperties(MultiStatus.java:61)
at org.apache.jackrabbit.webdav.MultiStatus.addResourceProperties(MultiStatus.java:65)
at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doPropFind(AbstractWebdavServlet.java:532)
at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:320)
at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:263)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:937)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3826)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
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:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
 
 
Please help !!!
Hi,

On Mon, Dec 19, 2011 at 7:53 AM, Manav Kumar <manav_duniya@yahoo.com> wrote:
> I have upgradaed JCR1.6.0 to JCR 2.3.4 and using WebDav connector in place
> of RMI, but there are lots of inconsistency present while using IBM websphere
> server(7.0) with DB2 database.

>What kind of inconsistencies do you see? Do you have a test case (or a
>just a description of what you did) for reproducing the problem?

>BR,

>Jukka Zitting
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message