jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dada_ganguly <dada_gang...@cooltoad.com>
Subject Problem while adding lock token when using jackrabbit with oracle
Date Tue, 23 Sep 2008 05:14:01 GMT

Hi,

I am using jackrabbit with oracle at backend. When I add lock token to
session, exception occurs. Following is code at which exception occurs:
               branchSession.addLockToken(propertyTokenString);
Following is stacktrace for exception that I get:

[2008-09-22 10:00:41,731] apache.jackrabbit.core.HierarchyManagerImpl DEBUG
- failed to build path of 371d4451-226d-4cbe-a76f-3a50857fccc9:
e0f516c2-37be-488d-b0f5-9008b5cc2378 has no child entry for
371d4451-226d-4cbe-a76f-3a50857fccc9
[2008-09-22 10:00:41,731] jackrabbit.core.lock.LockManagerImpl WARN  -
Unable to set lock holder: failed to build path of
371d4451-226d-4cbe-a76f-3a50857fccc9: e0f516c2-37be-488d-b0f5-9008b5cc2378
has no child entry for 371d4451-226d-4cbe-a76f-3a50857fccc9
[2008-09-22 10:00:41,731] jackrabbit.core.lock.LockManagerImpl DEBUG - Root
cause: 
javax.jcr.ItemNotFoundException: failed to build path of
371d4451-226d-4cbe-a76f-3a50857fccc9: e0f516c2-37be-488d-b0f5-9008b5cc2378
has no child entry for 371d4451-226d-4cbe-a76f-3a50857fccc9
	at
org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:338)
	at
org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:162)
	at
org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:327)
	at
org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:162)
	at
org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:402)
	at
org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:270)
	at org.apache.jackrabbit.core.ItemImpl.getPrimaryPath(ItemImpl.java:296)
	at
org.apache.jackrabbit.core.lock.LockManagerImpl.lockTokenAdded(LockManagerImpl.java:592)
	at
org.apache.jackrabbit.core.lock.XALockManager.lockTokenAdded(XALockManager.java:201)
	at
org.apache.jackrabbit.core.SessionImpl.addLockToken(SessionImpl.java:1337)
	at
org.apache.jackrabbit.core.SessionImpl.addLockToken(SessionImpl.java:1325)
	at
com.att.cct.ivrtool.repository.impl.IvrRepositoryImpl.setLockTokenInSession(Unknown
Source)
	at
com.att.cct.ivrtool.repository.impl.IvrRepositoryImpl.getSessionByBranch(Unknown
Source)
	at com.att.cct.ivrtool.repository.impl.IvrBranchImpl.<init>(Unknown Source)
	at
com.att.cct.ivrtool.repository.impl.IvrRepositoryImpl.getMyApplications(Unknown
Source)
	at
com.att.cct.ivrtool.gwt.server.IvrRepositoryServiceImpl.getUserApplications(Unknown
Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:528)
	at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265)
	at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at com.att.cct.ivrtool.gwt.server.ResponseHeaderFilter.doFilter(Unknown
Source)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at com.att.cct.ivrtool.gwt.server.VUITFilter.doFilter(Unknown Source)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)

However, this exception doesn't occurs when I use jackrabbit with file
system.

Can someone suggest appropriate solution to same?

Thx and regards,
Vijay
-- 
View this message in context: http://www.nabble.com/Problem-while-adding-lock-token-when-using-jackrabbit-with-oracle-tp19621458p19621458.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message